|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objex.panywhere.LegendCondition
public class LegendCondition
Class defines the where clauses that may be used to restrict the display of Subtext and/or tyhe assignment of LegendItems encoding information to Individuals' Symbols.
SubtextLegendItem,
LegendItem,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
PROP_SAMPLE_PROPERTY
|
| Constructor Summary | |
|---|---|
LegendCondition()
Creates a new LegendCondition instance |
|
LegendCondition(int ai_conditionfield,
java.lang.String as_operator,
java.lang.Object aCompareValue)
Creates a new SubtextCondition instance for field "ai_conditionfield", operator "as_operator" and compareValue. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
java.lang.Object |
getCompareValue()
|
int |
getConditionFieldid()
|
java.lang.String |
getOperator()
|
java.lang.String |
getSampleProperty()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setCompareValue(java.lang.Object aCompareValue)
Sets the value that the Individual subject must satiffy on field conditionFieldid for the subtext to be displayed |
void |
setConditionFieldid(int conditionFieldid)
Sets the field for which the condition must be satified |
void |
setOperator(java.lang.String aOperator)
Sets the operator to be used on comparing the compare value to the Individual's data |
void |
setSampleProperty(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_SAMPLE_PROPERTY
| Constructor Detail |
|---|
public LegendCondition()
public LegendCondition(int ai_conditionfield,
java.lang.String as_operator,
java.lang.Object aCompareValue)
ai_conditionfield - The fieldid pointing to the Data object on which the condition is based.as_operator - The comparison operator to be used in comparing "aCompareVaue to the Data obtained from Individual.getData(ai_conditionfield). Possible values are ComparableItems.EQUALS_OPERATOR, ComparableItems.SMALLER_THAN_OPERATOR,
ComparableItems.GREATER_THAN_OPERATOR, ComparableItems.GREATER_THAN_OR_EQUAL_OPERATOR, ComparableItems.SMALLER_THAN_OR_EQUAL_OPERATOR, ComparableItems.ISNULL_OPERATOR, ComparableItems.ISNOTNULL_OPERATORaCompareValue - The LegendCondition's compare value| Method Detail |
|---|
public java.lang.String getSampleProperty()
public void setSampleProperty(java.lang.String value)
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
public java.lang.Object getCompareValue()
public void setCompareValue(java.lang.Object aCompareValue)
aCompareValue - The new compare valuepublic java.lang.String getOperator()
public void setOperator(java.lang.String aOperator)
aOperator - The comparison Operator for this LegendCondition. Possible values are ComparableItems.EQUALS_OPERATOR, ComparableItems.SMALLER_THAN_OPERATOR,
ComparableItems.GREATER_THAN_OPERATOR, ComparableItems.GREATER_THAN_OR_EQUAL_OPERATOR, ComparableItems.SMALLER_THAN_OR_EQUAL_OPERATOR, ComparableItems.ISNULL_OPERATOR, ComparableItems.ISNOTNULL_OPERATORpublic int getConditionFieldid()
public void setConditionFieldid(int conditionFieldid)
conditionFieldid - The new fieldid for the field on which the LegendCondition will be based. This must correspond to a field used to store Data objects in the Individual object.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||