public class SortElementHandle extends ContentElementHandle implements org.eclipse.birt.report.model.elements.interfaces.ISortElementModel
elementmoduleDIRECTION_PROP, KEY_PROP, LOCALE_PROP, MEMBER_PROP, STRENGTH_PROPCOMMENTS_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| 构造器和说明 |
|---|
SortElementHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a sort handle with the given design and the element.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getDirection()
Returns the sort direction.
|
java.lang.String |
getKey()
Returns an expression that gives the sort key on which to sort.
|
com.ibm.icu.util.ULocale |
getLocale()
Gets the locale of this sort collation.
|
MemberValueHandle |
getMember()
Gets the member value handle of this sort element if it sets.
|
int |
getStrength()
Gets the strength of this sort collation.
|
void |
setDirection(java.lang.String direction)
Sets the sort direction.
|
void |
setKey(java.lang.String key)
Sets an expression that gives the sort key on which to sort.
|
void |
setLocale(com.ibm.icu.util.ULocale locale)
Sets the locale for this sort.
|
void |
setStrength(int strength)
Sets the strength for this sort.
|
addListener, canTransformToTemplate, clientsIterator, createTemplateElement, derivedIterator, getElement, getEventHandlerClass, getExtends, getName, getPrivateStyle, getQualifiedName, isTemplateParameterValue, localize, removeListener, revertToReportItem, revertToTemplate, setEventHandlerClass, setExtends, setExtendsName, setName, setStyle, setStyleNameadd, add, addElement, addElement, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, clearAllProperties, clearContents, clearProperty, copy, copyPropertyTo, 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, getExpressionProperty, getExternalizedValue, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getNumberProperty, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyHandle, getPropertyIterator, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isValid, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, semanticCheck, setBooleanProperty, setEncryption, setExpressionProperty, setExtendsElement, setFloatProperty, setIntProperty, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyleElement, setValid, shift, showError, slotsIteratorpublic SortElementHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
module - the moduleelement - the model representation of the elementpublic java.lang.String getKey()
setKey(String)public void setKey(java.lang.String key)
throws SemanticException
key - the key to sortSemanticException - value required exceptiongetKey()public java.lang.String getDirection()
DesignChoiceConstants,
and they are:
public void setDirection(java.lang.String direction)
throws SemanticException
DesignChoiceConstants,
and they are:
direction - the direction to setSemanticException - if the direction is not in choice list.public MemberValueHandle getMember()
public int getStrength()
setStrength(int)public void setStrength(int strength)
throws SemanticException
strength - the strength to sortSemanticExceptiongetStrength()public com.ibm.icu.util.ULocale getLocale()
setLocale(ULocale)public void setLocale(com.ibm.icu.util.ULocale locale)
throws SemanticException
locale - the locale to sortSemanticExceptiongetLocale()Copyright © 2008 Actuate Corp. All rights reserved.