public abstract class StyleRuleHandle extends StructureHandle
HighlightRuleHandle and MapRuleHandle.
The style rule provides the operator, value1, and value2 to compute boolean
result.structContextelementHandle| 构造器和说明 |
|---|
StyleRuleHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of style rule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getOperator()
Returns the operator.
|
java.lang.String |
getValue1()
Returns the value 1.
|
ExpressionListHandle |
getValue1ExpressionList()
Gets the value1 expression list.
|
java.util.List |
getValue1List()
|
java.lang.String |
getValue2()
Returns the value 2.
|
void |
setOperator(java.lang.String operator)
Sets the operator.
|
void |
setValue1(java.util.List value1List)
Sets the value 1 expression list.
|
void |
setValue1(java.lang.String value1)
Sets the value 1.
|
void |
setValue2(java.lang.String value2)
Sets the value 2.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilentlygetReferencegetDesign, getElement, getElementHandle, getModulepublic StyleRuleHandle(SimpleValueHandle valueHandle, int index)
valueHandle - the value handle for style rule list of one propertyindex - the position of this style rule in the listpublic java.lang.String getOperator()
DesignChoiceConstants,
and they are:
public void setOperator(java.lang.String operator)
throws SemanticException
DesignChoiceConstants,
and they are:
operator - the operator to setSemanticException - if operator is not in the choice list.public java.lang.String getValue1()
public java.util.List getValue1List()
public ExpressionListHandle getValue1ExpressionList()
public void setValue1(java.lang.String value1)
value1 - the value 1 to setpublic void setValue1(java.util.List value1List)
throws SemanticException
value1List - the value 1 expression list to setSemanticException - if the instance in the list is not validpublic java.lang.String getValue2()
public void setValue2(java.lang.String value2)
value2 - the value 2 to setCopyright © 2008 Actuate Corp. All rights reserved.