|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.ValueHandle
org.eclipse.birt.report.model.api.StructureHandle
org.eclipse.birt.report.model.api.StyleRuleHandle
public abstract class StyleRuleHandle
Represents the handle of style rule. This abstract class provides the common
methods for HighlightRuleHandle and MapRuleHandle.
The style rule provides the operator, value1, and value2 to compute boolean
result.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle |
|---|
structRef |
| Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
|---|
elementHandle |
| Constructor Summary | |
|---|---|
StyleRuleHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of style rule. |
|
| Method Summary | |
|---|---|
java.lang.String |
getOperator()
Returns the operator. |
java.lang.String |
getValue1()
Returns the value 1. |
java.util.List |
getValue1List()
Gets the value1 expression list. |
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. |
| Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle |
|---|
drop, getDefn, getExternalizedValue, getMember, getProperty, getPropertyDefn, getReference, getStringProperty, getStructure, isDesignTime, iterator, setDesignTime, setProperty, setPropertySilently |
| Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
|---|
getDesign, getElement, getElementHandle, getModule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleRuleHandle(SimpleValueHandle valueHandle,
int index)
valueHandle - the value handle for style rule list of one propertyindex - the position of this style rule in the list| Method Detail |
|---|
public 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 set
SemanticException - if operator is not in the choice list.public java.lang.String getValue1()
public java.util.List getValue1List()
public void setValue1(java.lang.String value1)
value1 - the value 1 to set
public void setValue1(java.util.List value1List)
throws SemanticException
value1List - the value 1 expression list to set
SemanticException - 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 set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||