org.eclipse.birt.report.model.api.simpleapi
Interface ISimpleElementFactory

All Known Implementing Classes:
SimpleElementFactory

public interface ISimpleElementFactory

The factory class to create scriptable objects.


Field Summary
static int MULTI_ROW_ITEM
           
static int SIMPLE_ROW_ITEM
           
 
Method Summary
 IAction createAction(ActionHandle action, ReportItemHandle handle)
          Creates the action structure.
 IDataBinding createDataBinding()
          Creates the data biinding structure.
 IDataBinding createDataBinding(ComputedColumn column)
          Creates the data biinding structure.
 IDataBinding createDataBinding(ComputedColumnHandle columnHandle)
          Creates the data biinding structure.
 IDataSet createDataSet(DataSetHandle handle)
          Creates the IDataSet instance.
 IDataSource createDataSource(DataSourceHandle handle)
          Creates the IDataSource instance.
 IFilterCondition createFilterCondition()
          Creates the filter structure.
 IFilterCondition createFilterCondition(FilterCondition condition)
          Creates the IFilterCondition instance.
 IFilterCondition createFilterCondition(FilterConditionHandle handle)
          Creates the IFilterCondition instance.
 IHideRule createHideRule()
          Create IHideRule instance
 IHideRule createHideRule(HideRule rule)
          Create IHideRule instance
 IHideRule createHideRule(HideRuleHandle handle)
          Create IHideRule instance
 IHighlightRule createHighlightRule()
          Create IHighlightRule instance
 IHighlightRule createHighlightRule(HighlightRule highlightRule)
          Create IHighlightRule instance
 IHighlightRule createHighlightRule(HighlightRuleHandle handle)
          Create IHighlightRule instance
 IResultSetColumn createResultSetColumn()
          Creates the IResultSetColumn instance.
 IResultSetColumn createResultSetColumn(ResultSetColumnHandle columnHandle)
          Creates the IResultSetColumn instance.
 ISortCondition createSortCondition()
          Creates the sort structure.
 ISortCondition createSortCondition(SortKey sort)
          Creates the sort structure.
 ISortCondition createSortCondition(SortKeyHandle sortHandle)
          Creates the sort structure.
 IStyle createStyle(StyleHandle style)
          Create IStyle instance
 IDesignElement getElement(DesignElementHandle handle)
          Creates the IDesignElement instance.
 IReportItem wrapExtensionElement(ExtendedItemHandle handle, int type)
          Creates the scriptable object for the corresponding element handles.
 

Field Detail

MULTI_ROW_ITEM

public static final int MULTI_ROW_ITEM
See Also:
Constant Field Values

SIMPLE_ROW_ITEM

public static final int SIMPLE_ROW_ITEM
See Also:
Constant Field Values
Method Detail

wrapExtensionElement

public IReportItem wrapExtensionElement(ExtendedItemHandle handle,
                                        int type)
Creates the scriptable object for the corresponding element handles.

Parameters:
handle - the element handle
type - the expected data row type. Can be MULTI_ROW_ITEM or EMPTY_ROW_ITEM
Returns:
the scriptable object

createHideRule

public IHideRule createHideRule()
Create IHideRule instance

Returns:
IHideRule

createHideRule

public IHideRule createHideRule(HideRule rule)
Create IHideRule instance

Parameters:
rule - the structure to create corresponding IHideRule instance.
Returns:
IHideRule

createHideRule

public IHideRule createHideRule(HideRuleHandle handle)
Create IHideRule instance

Parameters:
handle - the element handle to create corresponding IHideRule instance.
Returns:
IHideRule

createFilterCondition

public IFilterCondition createFilterCondition()
Creates the filter structure.

Returns:
the filter

createFilterCondition

public IFilterCondition createFilterCondition(FilterCondition condition)
Creates the IFilterCondition instance.

Parameters:
condition - the structure to create corresponding IFilterCondition instance.
Returns:
the IFilterCondition instance

createFilterCondition

public IFilterCondition createFilterCondition(FilterConditionHandle handle)
Creates the IFilterCondition instance.

Parameters:
handle - the element handle to create corresponding IFilterCondition instance.
Returns:
the IFilterCondition instance

createDataBinding

public IDataBinding createDataBinding()
Creates the data biinding structure.

Returns:
the data binding

createDataBinding

public IDataBinding createDataBinding(ComputedColumnHandle columnHandle)
Creates the data biinding structure.

Parameters:
columnHandle - the computed column handle
Returns:
the data binding

createDataBinding

public IDataBinding createDataBinding(ComputedColumn column)
Creates the data biinding structure.

Parameters:
column - the computed column
Returns:
the data binding

createSortCondition

public ISortCondition createSortCondition()
Creates the sort structure.

Returns:
the sort

createSortCondition

public ISortCondition createSortCondition(SortKey sort)
Creates the sort structure.

Parameters:
sort - the structure to create corresponding ISortCondition instance.
Returns:
the sort

createSortCondition

public ISortCondition createSortCondition(SortKeyHandle sortHandle)
Creates the sort structure.

Returns:
the sort

createAction

public IAction createAction(ActionHandle action,
                            ReportItemHandle handle)
Creates the action structure.

Parameters:
action - the structure handle
handle - the element handle that holds the action structure
Returns:
the action

getElement

public IDesignElement getElement(DesignElementHandle handle)
Creates the IDesignElement instance.

Parameters:
handle - the element handle to create corresponding IDesignElement instance.
Returns:
the IDesignElement instance

createDataSet

public IDataSet createDataSet(DataSetHandle handle)
Creates the IDataSet instance.

Parameters:
handle - the element handle to create corresponding IDataSet instance.
Returns:
the IDataSet instance

createResultSetColumn

public IResultSetColumn createResultSetColumn(ResultSetColumnHandle columnHandle)
Creates the IResultSetColumn instance.

Returns:
the IResultSetColumn instance

createResultSetColumn

public IResultSetColumn createResultSetColumn()
Creates the IResultSetColumn instance.

Returns:
the IResultSetColumn instance

createDataSource

public IDataSource createDataSource(DataSourceHandle handle)
Creates the IDataSource instance.

Parameters:
handle - the element handle to create corresponding IDataSource instance.
Returns:
the IDataSource instance

createHighlightRule

public IHighlightRule createHighlightRule()
Create IHighlightRule instance

Returns:
IHighlightRule

createHighlightRule

public IHighlightRule createHighlightRule(HighlightRule highlightRule)
Create IHighlightRule instance

Parameters:
highlightRule - the structure to create corresponding IHighlightRule instance.
Returns:
IHighlightRule

createHighlightRule

public IHighlightRule createHighlightRule(HighlightRuleHandle handle)
Create IHighlightRule instance

Parameters:
handle - the element handle to create corresponding IHighlightRule instance.
Returns:
IHighlightRule

createStyle

public IStyle createStyle(StyleHandle style)
Create IStyle instance

Returns:
IStyle


Copyright © 2005 Actuate Corp. All rights reserved.