public interface ConditionDefinition
Modifier and Type | Interface and Description |
---|---|
static class |
ConditionDefinition.Type |
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Adds change listener.
|
void |
addToDomain(org.freehep.util.Value value)
Updates the domain to ensure it contains the specified value.
|
Condition |
createCondition()
Returns a new
Condition object linked to this ConditionDefinition. |
Condition |
createCondition(boolean enabled,
boolean inverted)
Returns a new
Condition object linked to this ConditionDefinition. |
String |
getDescription()
Returns a brief description of the condition.
|
Object |
getDomain()
Returns the domain of possible values for the condition.
|
String |
getName()
Returns the name of this definition.
|
ConditionDefinition.Type |
getType()
Returns the type of this condition.
|
String |
getUnit()
Returns the unit name for conditions based on numerical value.
|
boolean |
getValueIsAdjusting()
Returns valueIsAdjusting property.
|
void |
remove()
Signals to all registered conditions that this definition is being deleted.
|
void |
removeChangeListener(ChangeListener listener)
Removes change listener.
|
void |
removeCondition(Condition condition)
Unregisters the specified Condition.
|
void |
setDomain(Object domain)
Sets the domain of possible values for the condition.
|
void |
setValueIsAdjusting(boolean isValueAdjusting)
Sets valueIsAdjusting property.
|
String getName()
String getUnit()
String getDescription()
ConditionDefinition.Type getType()
Condition createCondition()
Condition
object linked to this ConditionDefinition.
The newly created Condition is registered with this ConditionDefinition.
Conditions created with this method are not enabled and not inverted.Condition createCondition(boolean enabled, boolean inverted)
Condition
object linked to this ConditionDefinition.
The newly created Condition is registered with this ConditionDefinition.void removeCondition(Condition condition)
void remove()
void setDomain(Object domain)
Object getDomain()
void addToDomain(org.freehep.util.Value value)
void addChangeListener(ChangeListener listener)
void removeChangeListener(ChangeListener listener)
void setValueIsAdjusting(boolean isValueAdjusting)
boolean getValueIsAdjusting()
Copyright © 1996-2014 FreeHEP. All Rights Reserved.