|
||||||||||
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.ContentElementHandle
org.eclipse.birt.report.model.api.SortElementHandle
public class SortElementHandle
Field Summary |
---|
Fields inherited from class org.eclipse.birt.report.model.api.ContentElementHandle |
---|
element |
Fields inherited from class org.eclipse.birt.report.model.api.DesignElementHandle |
---|
module |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.ISortElementModel |
---|
DIRECTION_PROP, KEY_PROP, MEMBER_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 | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
getDirection()
Returns the sort direction. |
java.lang.String |
getKey()
Returns an expression that gives the sort key on which to sort. |
MemberValueHandle |
getMember()
Gets the member value handle of this sort element if it sets. |
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. |
Methods inherited from class org.eclipse.birt.report.model.api.ContentElementHandle |
---|
addListener, addUserPropertyDefn, canTransformToTemplate, clientsIterator, createTemplateElement, derivedIterator, getElement, getEventHandlerClass, getExtends, getName, getPrivateStyle, getQualifiedName, getUserProperties, getUserPropertyDefnHandle, isTemplateParameterValue, localize, removeListener, revertToReportItem, revertToTemplate, setEventHandlerClass, setExtends, setExtendsName, setName, setStyle, setStyleName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public 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 elementMethod Detail |
---|
public java.lang.String getKey()
setKey(String)
public void setKey(java.lang.String key) throws SemanticException
key
- the key to sort
SemanticException
- 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 set
SemanticException
- if the direction is not in choice list.public MemberValueHandle getMember()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |