|
||||||||||
| 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.ColumnHandle
public class ColumnHandle
Represents a column within a table. The application generally does not create
column handles directly. Instead, it uses one of the navigation methods
available on other element handles like: TableHandle.
TableHandle.getColumns(),
TableColumn| 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.ITableColumnModel |
|---|
REPEAT_PROP, STYLE_PROP, SUPPRESS_DUPLICATES_PROP, VISIBILITY_PROP, WIDTH_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, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP |
| Constructor Summary | |
|---|---|
ColumnHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for the given design and a column element. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlignment()
Deprecated. by the StyleHandle.getTextAlign() |
int |
getRepeatCount()
Returns the repeat count for this column. |
DimensionHandle |
getWidth()
Gets the column width as a dimension handle. |
void |
setAlignment(java.lang.String alignment)
Deprecated. by the StyleHandle.setTextAlign(String) |
void |
setRepeatCount(int count)
Sets the repeat count for this column. |
void |
setSuppressDuplicates(boolean suppressDuplicates)
Set the suppress duplicates property of this column. |
boolean |
suppressDuplicates()
Get the suppress duplicates property of this column. |
java.util.Iterator |
visibilityRulesIterator()
Returns visibility rules defined on the table column. |
| 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 ColumnHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
module - the moduleelement - the column element| Method Detail |
|---|
public int getRepeatCount()
public void setRepeatCount(int count)
throws SemanticException
count - the number of contiguous columns described by this column
definition
SemanticException - if the property is locked.getRepeatCount()public DimensionHandle getWidth()
public java.lang.String getAlignment()
StyleHandle.getTextAlign()
public void setAlignment(java.lang.String alignment)
throws SemanticException
StyleHandle.setTextAlign(String)
alignment - the alignment to set
SemanticException - if the value is not in choice.public boolean suppressDuplicates()
public void setSuppressDuplicates(boolean suppressDuplicates)
suppressDuplicates - the suppress duplicates value.public java.util.Iterator visibilityRulesIterator()
StructureHandle that deal
with a HideRuleHandle in the list.
HideRule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||