public class MultiRowItem extends java.lang.Object implements IMultiRowItem
constants| 构造器和说明 |
|---|
MultiRowItem(ExtendedItemHandle item)
Constructors.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addDataBinding(IDataBinding binding)
Add ComputedColumn.name , expression of IDataBinding are required.
|
void |
addFilterCondition(IFilterCondition condition)
Adds filter condition.expr of IFilterCondition is required.
|
void |
addHideRule(IHideRule rule)
Add HideRule
|
void |
addHighlightRule(IHighlightRule rule)
Adds high light rule.
|
void |
addSortCondition(ISortCondition condition)
Adds sort condition.key of ISortCondition is required.
|
java.lang.String |
getBookmark()
Returns the bookmark of the report item.
|
java.lang.String |
getComments()
Gets the comments of the report element.
|
java.lang.String |
getCustomXml()
Gets the custom XML.
|
java.lang.String |
getDataBinding(java.lang.String bindingName)
Returns column binding.
|
IDataBinding[] |
getDataBindings()
Returns array of all column bindings
|
java.lang.String |
getDisplayName()
Gets the display name.
|
java.lang.String |
getDisplayNameKey()
Gets the resource key of the display name.
|
IReportItem |
getExtensionElement()
Gets the corresponding extension item that is wrapped by the
MultiRowItem. |
IFilterCondition[] |
getFilterConditions()
Returns all filter conditions
|
java.lang.String |
getHeight()
Gets the item's height.
|
IHideRule[] |
getHideRules()
Returns array of hide rule expression
|
IHighlightRule[] |
getHighlightRules()
Gets all high light rules.
|
java.lang.String |
getName()
Returns the name of this element.
|
java.lang.String |
getNamedExpression(java.lang.String name)
Returns name of user property defined in this element.
|
IDesignElement |
getParent()
Return the parent of this element
|
java.lang.String |
getQualifiedName()
Gets the name of this element.
|
IReportDesign |
getReport()
Gets the report.
|
ISortCondition[] |
getSortConditions()
Returns all sort conditions.
|
IStyle |
getStyle()
Gets design element style.
|
java.lang.String |
getTocExpression()
Returns the expression evalueated as a table of contents entry for this
item.
|
java.lang.Object |
getUserProperty(java.lang.String name)
Returns user property defined in this element.
|
java.lang.Object |
getUserPropertyExpression(java.lang.String name)
Returns user property as an expression defined in this element.
|
java.lang.String |
getWidth()
Gets a the item's width.
|
java.lang.String |
getX()
Gets the item's x (horizontal) position.
|
java.lang.String |
getY()
Gets the item's y (vertical) position.
|
void |
removeDataBinding(java.lang.String bindingName)
Removes special column binding
|
void |
removeDataBindings()
Removes all column bindings
|
void |
removeFilterCondition(IFilterCondition condition)
Removes filter condition.
|
void |
removeFilterConditions()
Removes filter condition.
|
void |
removeHideRule(IHideRule rule)
Removes all hide rules that matches formatType.
|
void |
removeHideRules()
Removes all hide rules
|
void |
removeHighlightRule(IHighlightRule rule)
Removes high light rule.
|
void |
removeHighlightRules()
Removes all high light rules.
|
void |
removeSortCondition(ISortCondition condition)
Removes sort condition.
|
void |
removeSortConditions()
Removes all sort conditions
|
void |
setBookmark(java.lang.String value)
Sets the bookmark of the report item.
|
void |
setComments(java.lang.String theComments)
Sets the comments of the report element.
|
void |
setCurrentView(IDesignElement viewElement)
Sets the view to be used.
|
void |
setCustomXml(java.lang.String customXml)
Sets the custom XML.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name.
|
void |
setDisplayNameKey(java.lang.String displayNameKey)
Sets the resource key of the display name.
|
void |
setHeight(double dimension)
Sets the item's height to a value in default units.
|
void |
setHeight(java.lang.String dimension)
Sets the item's height using a dimension string with optional unit suffix
such as "10" or "10pt".
|
void |
setName(java.lang.String name)
Sets the name of this element.
|
void |
setNamedExpression(java.lang.String name,
java.lang.String exp)
Sets name of user property defined in this element.
|
void |
setTocExpression(java.lang.String expression)
Sets a table of contents entry for this item.
|
void |
setUserProperty(java.lang.String name,
java.lang.Object value,
java.lang.String type)
Sets user property defined in this element.
|
void |
setUserProperty(java.lang.String name,
java.lang.String value)
Sets user property defined in this element.
|
void |
setWidth(double dimension)
Sets the item's width to a value in default units.
|
void |
setWidth(java.lang.String dimension)
Sets the item's width using a dimension string with optional unit suffix
such as "10" or "10pt".
|
void |
setX(double dimension)
Sets the item's x position to a value in default units.
|
void |
setX(java.lang.String dimension)
Sets the item's x position using a dimension string with optional unit
suffix such as "10" or "10pt".
|
void |
setY(double dimension)
Sets the item's y position to a value in default units.
|
void |
setY(java.lang.String dimension)
Sets the item's y position using a dimension string with optional unit
suffix such as "10" or "10pt".
|
public MultiRowItem(ExtendedItemHandle item)
item - public void addFilterCondition(IFilterCondition condition) throws SemanticException
IMultiRowItemaddFilterCondition 在接口中 IMultiRowItemSemanticExceptionpublic void addSortCondition(ISortCondition condition) throws SemanticException
IMultiRowItemaddSortCondition 在接口中 IMultiRowItemSemanticExceptionpublic IFilterCondition[] getFilterConditions()
IMultiRowItemgetFilterConditions 在接口中 IMultiRowItempublic ISortCondition[] getSortConditions()
IMultiRowItemgetSortConditions 在接口中 IMultiRowItempublic void removeFilterCondition(IFilterCondition condition) throws SemanticException
IMultiRowItemremoveFilterCondition 在接口中 IMultiRowItemSemanticExceptionpublic void removeFilterConditions()
throws SemanticException
IMultiRowItemremoveFilterConditions 在接口中 IMultiRowItemSemanticExceptionpublic void removeSortCondition(ISortCondition condition) throws SemanticException
IMultiRowItemremoveSortCondition 在接口中 IMultiRowItemSemanticExceptionpublic void removeSortConditions()
throws SemanticException
IMultiRowItemremoveSortConditions 在接口中 IMultiRowItemSemanticExceptionpublic void addDataBinding(IDataBinding binding) throws SemanticException
IReportItemaddDataBinding 在接口中 IReportItemSemanticExceptionpublic void addHideRule(IHideRule rule) throws SemanticException
IReportItemaddHideRule 在接口中 IReportItemSemanticExceptionpublic void addHighlightRule(IHighlightRule rule) throws SemanticException
IReportItemaddHighlightRule 在接口中 IReportItemSemanticExceptionpublic java.lang.String getBookmark()
IReportItemgetBookmark 在接口中 IReportItempublic java.lang.String getDataBinding(java.lang.String bindingName)
IReportItemgetDataBinding 在接口中 IReportItempublic IDataBinding[] getDataBindings()
IReportItemgetDataBindings 在接口中 IReportItempublic java.lang.String getHeight()
IReportItemgetHeight 在接口中 IReportItempublic IHideRule[] getHideRules()
IReportItemgetHideRules 在接口中 IReportItempublic IHighlightRule[] getHighlightRules()
IReportItemgetHighlightRules 在接口中 IReportItempublic java.lang.String getTocExpression()
IReportItemgetTocExpression 在接口中 IReportItemIReportItem.setTocExpression(String)public java.lang.String getWidth()
IReportItemgetWidth 在接口中 IReportItempublic java.lang.String getX()
IReportItemgetX 在接口中 IReportItempublic java.lang.String getY()
IReportItemgetY 在接口中 IReportItempublic void setX(double dimension)
throws SemanticException
IReportItemsetX 在接口中 IReportItemdimension - the new value in application units.SemanticException - if the property is locked.public void setX(java.lang.String dimension)
throws SemanticException
IReportItemsetX 在接口中 IReportItemdimension - dimension string with optional unit suffix.SemanticException - if the string is not validpublic void setY(double dimension)
throws SemanticException
IReportItemsetY 在接口中 IReportItemdimension - the new value in application units.SemanticException - if the property is locked.public void setY(java.lang.String dimension)
throws SemanticException
IReportItemsetY 在接口中 IReportItemdimension - dimension string with optional unit suffix.SemanticException - if the string is not validpublic void removeDataBinding(java.lang.String bindingName)
throws SemanticException
IReportItemremoveDataBinding 在接口中 IReportItemSemanticExceptionpublic void removeDataBindings()
throws SemanticException
IReportItemremoveDataBindings 在接口中 IReportItemSemanticExceptionpublic void removeHideRule(IHideRule rule) throws SemanticException
IReportItemremoveHideRule 在接口中 IReportItemSemanticExceptionpublic void removeHideRules()
throws SemanticException
IReportItemremoveHideRules 在接口中 IReportItemSemanticExceptionpublic void removeHighlightRule(IHighlightRule rule) throws SemanticException
IReportItemremoveHighlightRule 在接口中 IReportItemSemanticExceptionpublic void removeHighlightRules()
throws SemanticException
IReportItemremoveHighlightRules 在接口中 IReportItemSemanticExceptionpublic void setBookmark(java.lang.String value)
throws SemanticException
IReportItemsetBookmark 在接口中 IReportItemvalue - the bookmark expressionSemanticException - if the property is locked.public void setHeight(double dimension)
throws SemanticException
IReportItemsetHeight 在接口中 IReportItemdimension - the new value in application units.SemanticException - if the property is locked.public void setHeight(java.lang.String dimension)
throws SemanticException
IReportItemsetHeight 在接口中 IReportItemdimension - dimension string with optional unit suffix.SemanticException - if the string is not validpublic void setTocExpression(java.lang.String expression)
throws SemanticException
IReportItemsetTocExpression 在接口中 IReportItemexpression - the expression that returns a stringSemanticException - if the TOC property is locked by the property mask.IReportItem.getTocExpression()public void setWidth(double dimension)
throws SemanticException
IReportItemsetWidth 在接口中 IReportItemdimension - the new value in application units.SemanticException - if the property is locked.public void setWidth(java.lang.String dimension)
throws SemanticException
IReportItemsetWidth 在接口中 IReportItemdimension - dimension string with optional unit suffix.SemanticException - if the string is not validpublic java.lang.String getComments()
IReportElementgetComments 在接口中 IReportElementpublic java.lang.String getCustomXml()
IReportElementgetCustomXml 在接口中 IReportElementpublic java.lang.String getDisplayName()
IReportElementgetDisplayName 在接口中 IReportElementpublic java.lang.String getDisplayNameKey()
IReportElementgetDisplayNameKey 在接口中 IReportElementpublic java.lang.String getName()
IReportElementnull if the
element does not have a name. Many elements do not require a name. The
name does not inherit. If this element does not have a name, it will not
inherit the name of its parent element.getName 在接口中 IReportElementpublic void setComments(java.lang.String theComments)
throws SemanticException
IReportElementsetComments 在接口中 IReportElementtheComments - the comments to setSemanticException - if the comments property is locked or not defined on this
element.public void setCustomXml(java.lang.String customXml)
throws SemanticException
IReportElementsetCustomXml 在接口中 IReportElementcustomXml - the custom XML to setSemanticException - if the custom XML is locked or not defined on this element.public void setDisplayName(java.lang.String displayName)
throws SemanticException
IReportElementsetDisplayName 在接口中 IReportElementdisplayName - the display nameSemanticException - if the display name property is locked or not defined on this
element.public void setDisplayNameKey(java.lang.String displayNameKey)
throws SemanticException
IReportElementsetDisplayNameKey 在接口中 IReportElementdisplayNameKey - the resource key of the display nameSemanticException - if the display name resource-key property is locked or not
defined on this element.public void setName(java.lang.String name)
throws SemanticException
IReportElementnull, then
the name is cleared if this element does not require a name.setName 在接口中 IReportElementname - the new nameSemanticException - if the name is duplicate, or if the name is null
and this element requires a name.public java.lang.String getNamedExpression(java.lang.String name)
IDesignElementgetNamedExpression 在接口中 IDesignElementpublic IDesignElement getParent()
IDesignElementgetParent 在接口中 IDesignElementpublic java.lang.String getQualifiedName()
IDesignElementgetName(), plus the namespace of the module that the
elment is contained, if any. If the element is existed in the current
module,this method and getName() will return identical
results.getQualifiedName 在接口中 IDesignElementpublic IStyle getStyle()
IDesignElementgetStyle 在接口中 IDesignElementpublic java.lang.Object getUserProperty(java.lang.String name)
IDesignElementgetUserProperty 在接口中 IDesignElementpublic void setNamedExpression(java.lang.String name,
java.lang.String exp)
throws SemanticException
IDesignElementsetNamedExpression 在接口中 IDesignElementname - name of user propertyexp - name expressionSemanticExceptionpublic void setUserProperty(java.lang.String name,
java.lang.Object value,
java.lang.String type)
throws SemanticException
IDesignElementsetUserProperty 在接口中 IDesignElementSemanticExceptionpublic void setUserProperty(java.lang.String name,
java.lang.String value)
throws SemanticException
IDesignElementsetUserProperty 在接口中 IDesignElementSemanticExceptionpublic void setCurrentView(IDesignElement viewElement) throws SemanticException
IReportItemsetCurrentView 在接口中 IReportItemviewElement - the view element, must not be this. Can be
null.SemanticException - if the given element resides in the other elements.public IReportDesign getReport()
IDesignElementgetReport 在接口中 IDesignElementpublic IReportItem getExtensionElement()
MultiRowItem.simpleapi.IReportItempublic java.lang.Object getUserPropertyExpression(java.lang.String name)
IDesignElementgetUserPropertyExpression 在接口中 IDesignElementname - the user property nameCopyright © 2008 Actuate Corp. All rights reserved.