public class ColumnHandle extends ReportElementHandle implements org.eclipse.birt.report.model.elements.interfaces.ITableColumnModel
TableHandle
.TableHandle.getColumns()
,
TableColumn
element
module
REPEAT_PROP, STYLE_PROP, SUPPRESS_DUPLICATES_PROP, VISIBILITY_PROP, WIDTH_PROP
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 and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
convertWidthToAbsoluteValue()
Converts width of the column to an absolute value if possible.
|
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.
|
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.
|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask
add, add, addElement, addElement, addListener, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, canTransformToTemplate, clearAllProperties, clearContents, clearProperty, clientsIterator, copy, copyPropertyTo, createTemplateElement, derivedIterator, doSort, drop, drop, drop, dropAndClear, dropAndClear, dropAndClear, dropUserPropertyDefn, findContentSlot, getBooleanProperty, getChoices, getColorProperty, getContainer, getContainerPropertyHandle, getContainerSlotHandle, getContent, getContentCount, getContents, getDefn, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, getExternalizedValue, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getName, getNumberProperty, getPrivateStyle, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyHandle, getPropertyIterator, getQualifiedName, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isTemplateParameterValue, isValid, localize, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, removeListener, revertToReportItem, revertToTemplate, semanticCheck, setBooleanProperty, setEncryption, setEventHandlerClass, setExpressionProperty, setExtends, setExtendsElement, setExtendsName, setFloatProperty, setIntProperty, setName, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyle, setStyleElement, setStyleName, setValid, shift, showError, slotsIterator
public ColumnHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the column elementpublic int getRepeatCount()
public void setRepeatCount(int count) throws SemanticException
count
- the number of contiguous columns described by this column
definitionSemanticException
- 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 setSemanticException
- 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
public void convertWidthToAbsoluteValue() throws SemanticException
SemanticException
Copyright © 2008 Actuate Corp. All rights reserved.