|
||||||||||
| 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
Defines conditions that must be satisfied for a person's subtext or symbols (if they are based on custom data) to be displayed on the pedigree.
Only persons with Data objects that satisfy the condition
Data.getFieldid() = LegendCondition.getConditionFieldid()
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,
CompareOperator a_operator,
java.lang.Object aCompareValue)
Creates a new LegendCondition instance for field "ai_conditionfield", operator "as_operator" and matching value of "compareValue". |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
|
java.lang.Object |
getCompareValue()
|
int |
getConditionFieldid()
|
CompareOperator |
getOperator()
|
java.lang.String |
getSampleProperty()
|
int |
getTableid()
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
|
void |
setCompareValue(java.lang.Object aCompareValue)
Sets The condition's compare value. |
void |
setConditionFieldid(int a_fieldid)
Sets the condition fieldid. |
void |
setOperator(CompareOperator aOperator)
Sets the operator to be used on comparing the compare value to the person's data |
void |
setSampleProperty(java.lang.String value)
|
void |
setTableid(int tableid)
Set the fieldid for the table that the condition field is a part of. |
| 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(int ai_conditionfield,
CompareOperator a_operator,
java.lang.Object aCompareValue)
ai_conditionfield - The condition's fieldid. This must match the data dictionary DatabaseField object.a_operator - The comparison operator to be used in comparing "aCompareVaue" to the person's data to determine whether or not to display their subtext or symbolaCompareValue - The matching compare valuepublic LegendCondition()
| 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 CompareOperator getOperator()
public void setOperator(CompareOperator aOperator)
aOperator - The new compare operatorpublic int getConditionFieldid()
public void setConditionFieldid(int a_fieldid)
Individual.getData(LegendCondition.getConditionFieldid())
a_fieldid - The new condition fieldidpublic int getTableid()
public void setTableid(int tableid)
tableid - The new tableID
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||