public class MapRuleHandle extends StyleRuleHandle
structContext
elementHandle
Constructor and Description |
---|
MapRuleHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of map rule.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplay()
Returns the display value when this rule applies.
|
java.lang.String |
getDisplayKey()
Returns the resource key of display value.
|
java.lang.String |
getTestExpression()
sets the test expression for this map rule.
|
void |
setDisplay(java.lang.String display)
Sets the display value when this rule applies.
|
void |
setDisplayKey(java.lang.String displayID)
Sets the resource key of display value.
|
void |
setTestExpression(java.lang.String expression)
sets the expression for this map rule.
|
getOperator, getValue1, getValue1ExpressionList, getValue1List, getValue2, setOperator, setValue1, setValue1, setValue2
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
getReference
getDesign, getElement, getElementHandle, getModule
public MapRuleHandle(SimpleValueHandle valueHandle, int index)
valueHandle
- the value handle for map rule list of one propertyindex
- the position of this map rule in the listpublic java.lang.String getDisplay()
public void setDisplay(java.lang.String display)
display
- the display value to setpublic java.lang.String getDisplayKey()
public void setDisplayKey(java.lang.String displayID)
displayID
- the resource key to setpublic void setTestExpression(java.lang.String expression)
expression
- the expressionpublic java.lang.String getTestExpression()
Copyright © 2008 Actuate Corp. All rights reserved.