|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.DesignElementHandle
org.eclipse.birt.report.model.api.ReportElementHandle
org.eclipse.birt.report.model.api.RowHandle
public class RowHandle
Represents one row in a Grid or Table. Each row contains some number of cells. And one row can define its height.
TableRow
Field Summary |
---|
Fields inherited from class org.eclipse.birt.report.model.api.ReportElementHandle |
---|
element |
Fields inherited from class org.eclipse.birt.report.model.api.DesignElementHandle |
---|
module |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.ITableRowModel |
---|
BOOKMARK_DISPLAY_NAME_PROP, BOOKMARK_PROP, CONTENT_SLOT, HEIGHT_PROP, ON_CREATE_METHOD, ON_PREPARE_METHOD, ON_RENDER_METHOD, REPEATABLE_PROP, STYLE_PROP, SUPPRESS_DUPLICATES_PROP, VISIBILITY_PROP |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel |
---|
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NEW_HANDLER_ON_EACH_EVENT_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP |
Constructor Summary | |
---|---|
RowHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs the handle for a row with the given design and element. |
Method Summary | |
---|---|
java.lang.String |
getBookmark()
Returns the bookmark of this row. |
java.lang.String |
getBookmarkDisplayName()
Gets the display name of the bookmark. |
SlotHandle |
getCells()
Returns the cell slot of row. |
DimensionHandle |
getHeight()
Gets a handle to deal with the row's height. |
java.lang.String |
getOnCreate()
Gets the on-finish script of the group. |
java.lang.String |
getOnPrepare()
Gets the on-prepare script of the group. |
java.lang.String |
getOnRender()
Gets the on-finish script of the group. |
boolean |
repeatable()
Gets repeatable value. |
void |
setBookmark(java.lang.String value)
Sets the bookmark of this row. |
void |
setBookmarkDisplayName(java.lang.String bookmarkDisplayName)
Sets the display name of the bookmark. |
void |
setOnCreate(java.lang.String script)
Sets the on-create script of the group element. |
void |
setOnPrepare(java.lang.String script)
Sets the on-prepare script of the group element. |
void |
setOnRender(java.lang.String script)
Sets the on-render script of the group element. |
void |
setRepeatable(boolean repeatable)
Sets the repeatable value. |
void |
setSuppressDuplicates(boolean value)
Sets the flag whether to suppress duplicates rows with same content. |
boolean |
suppressDuplicates()
Tests whether to suppress duplicates rows with same content. |
java.util.Iterator |
visibilityRulesIterator()
Returns visibility rules defined on the table row. |
Methods inherited from class org.eclipse.birt.report.model.api.ReportElementHandle |
---|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the model representation of the elementMethod Detail |
---|
public SlotHandle getCells()
SlotHandle
public DimensionHandle getHeight()
public java.lang.String getBookmark()
public void setBookmark(java.lang.String value) throws SemanticException
value
- the bookmark to set
SemanticException
- if the property is locked.public java.util.Iterator visibilityRulesIterator()
StructureHandle
that deal with
a Hide
in the list.
HideRule
public java.lang.String getOnPrepare()
public java.lang.String getOnCreate()
public java.lang.String getOnRender()
public void setOnPrepare(java.lang.String script) throws SemanticException
script
- the script to set
SemanticException
- if the method is locked.getOnPrepare()
public void setOnCreate(java.lang.String script) throws SemanticException
script
- the script to set
SemanticException
- if the method is locked.getOnCreate()
public void setOnRender(java.lang.String script) throws SemanticException
script
- the script to set
SemanticException
- if the method is locked.getOnRender()
public boolean suppressDuplicates()
true
if suppress duplicates rows with same content,
otherwise false
.setSuppressDuplicates(boolean)
public void setSuppressDuplicates(boolean value) throws SemanticException
value
- true
if suppress duplicates rows with same
content, otherwise false
.
SemanticException
- If the expression is invalid.suppressDuplicates()
public boolean repeatable()
public void setRepeatable(boolean repeatable) throws SemanticException
repeatable
- the repeatable value.
SemanticException
- if this value is locked.public java.lang.String getBookmarkDisplayName()
public void setBookmarkDisplayName(java.lang.String bookmarkDisplayName) throws SemanticException
bookmarkDisplayName
- the display name of the bookmark to set
SemanticException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |