|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.impl.SimpleElementFactory
public class SimpleElementFactory
The factory class to create scriptable objects.
Field Summary |
---|
Fields inherited from interface org.eclipse.birt.report.model.api.simpleapi.ISimpleElementFactory |
---|
MULTI_ROW_ITEM, SIMPLE_ROW_ITEM |
Constructor Summary | |
---|---|
SimpleElementFactory()
|
Method Summary | |
---|---|
IAction |
createAction(ActionHandle action,
ReportItemHandle handle)
Creates the action structure. |
IDataBinding |
createDataBinding()
Create IDataBinding |
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()
Create IFilterCondition |
IFilterCondition |
createFilterCondition(FilterCondition condition)
Creates the IFilterCondition instance. |
IFilterCondition |
createFilterCondition(FilterConditionHandle handle)
Creates the IFilterCondition instance. |
IFilterConditionElement |
createFilterConditionElement(FilterConditionElementHandle handle)
Creates IFilterConditionElement 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()
Create ISortCondition |
ISortCondition |
createSortCondition(SortKey sort)
Creates the sort structure. |
ISortCondition |
createSortCondition(SortKeyHandle sortHandle)
Creates the sort structure. |
ISortElement |
createSortElement(SortElementHandle handle)
Create ISortElement instance. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleElementFactory()
Method Detail |
---|
public IReportItem wrapExtensionElement(ExtendedItemHandle handle, int type)
ISimpleElementFactory
wrapExtensionElement
in interface ISimpleElementFactory
handle
- the element handletype
- the expected data row type. Can be MULTI_ROW_ITEM
or EMPTY_ROW_ITEM
public IHideRule createHideRule()
IHideRule
instance
createHideRule
in interface ISimpleElementFactory
public IHideRule createHideRule(HideRule rule)
ISimpleElementFactory
IHideRule
instance
createHideRule
in interface ISimpleElementFactory
rule
- the structure to create corresponding IHideRule instance.
public IHideRule createHideRule(HideRuleHandle handle)
ISimpleElementFactory
IHideRule
instance
createHideRule
in interface ISimpleElementFactory
handle
- the element handle to create corresponding IHideRule instance.
public IFilterCondition createFilterCondition()
IFilterCondition
createFilterCondition
in interface ISimpleElementFactory
public IFilterCondition createFilterCondition(FilterCondition condition)
ISimpleElementFactory
createFilterCondition
in interface ISimpleElementFactory
condition
- the structure to create corresponding IFilterCondition
instance.
public IFilterCondition createFilterCondition(FilterConditionHandle handle)
ISimpleElementFactory
createFilterCondition
in interface ISimpleElementFactory
handle
- the element handle to create corresponding IFilterCondition
instance.
public IDataBinding createDataBinding()
IDataBinding
createDataBinding
in interface ISimpleElementFactory
public IDataBinding createDataBinding(ComputedColumnHandle columnHandle)
ISimpleElementFactory
createDataBinding
in interface ISimpleElementFactory
columnHandle
- the computed column handle
public IDataBinding createDataBinding(ComputedColumn column)
ISimpleElementFactory
createDataBinding
in interface ISimpleElementFactory
column
- the computed column
public ISortCondition createSortCondition()
ISortCondition
createSortCondition
in interface ISimpleElementFactory
public ISortCondition createSortCondition(SortKey sort)
ISimpleElementFactory
createSortCondition
in interface ISimpleElementFactory
sort
- the structure to create corresponding ISortCondition instance.
public ISortCondition createSortCondition(SortKeyHandle sortHandle)
ISimpleElementFactory
createSortCondition
in interface ISimpleElementFactory
public IAction createAction(ActionHandle action, ReportItemHandle handle)
ISimpleElementFactory
createAction
in interface ISimpleElementFactory
action
- the structure handlehandle
- the element handle that holds the action structure
public IDesignElement getElement(DesignElementHandle handle)
ISimpleElementFactory
getElement
in interface ISimpleElementFactory
handle
- the element handle to create corresponding IDesignElement
instance.
public IDataSet createDataSet(DataSetHandle handle)
ISimpleElementFactory
createDataSet
in interface ISimpleElementFactory
handle
- the element handle to create corresponding IDataSet instance.
public IResultSetColumn createResultSetColumn(ResultSetColumnHandle columnHandle)
ISimpleElementFactory
createResultSetColumn
in interface ISimpleElementFactory
public IResultSetColumn createResultSetColumn()
ISimpleElementFactory
createResultSetColumn
in interface ISimpleElementFactory
public IDataSource createDataSource(DataSourceHandle handle)
ISimpleElementFactory
createDataSource
in interface ISimpleElementFactory
handle
- the element handle to create corresponding IDataSource
instance.
public IHighlightRule createHighlightRule()
ISimpleElementFactory
IHighlightRule
instance
createHighlightRule
in interface ISimpleElementFactory
public IHighlightRule createHighlightRule(HighlightRule highlightRule)
ISimpleElementFactory
IHighlightRule
instance
createHighlightRule
in interface ISimpleElementFactory
highlightRule
- the structure to create corresponding IHighlightRule instance.
public IHighlightRule createHighlightRule(HighlightRuleHandle handle)
ISimpleElementFactory
IHighlightRule
instance
createHighlightRule
in interface ISimpleElementFactory
handle
- the element handle to create corresponding IHighlightRule
instance.
public IStyle createStyle(StyleHandle style)
ISimpleElementFactory
IStyle
instance
createStyle
in interface ISimpleElementFactory
public IFilterConditionElement createFilterConditionElement(FilterConditionElementHandle handle)
ISimpleElementFactory
IFilterConditionElement
instance.
createFilterConditionElement
in interface ISimpleElementFactory
handle
- the filterConditionElement handle to create corresponding
IFilterConditionElement instance.
public ISortElement createSortElement(SortElementHandle handle)
ISimpleElementFactory
ISortElement
instance.
createSortElement
in interface ISimpleElementFactory
handle
- the handle to create corresponding ISortElement instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |