public class BooleanConditionDefinition extends AbstractConditionDefinition
ConditionDefinition.Type_conditions, _description, _name, _unit, _valueIsAdjusting| Constructor and Description |
|---|
BooleanConditionDefinition(String name) |
BooleanConditionDefinition(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToDomain(org.freehep.util.Value value)
Updates the domain to ensure it contains the specified value.
|
BooleanCondition |
createCondition(boolean enabled,
boolean inverted)
Returns a new
Condition object linked to this ConditionDefinition. |
Object |
getDomain()
Returns the domain of possible values for the condition.
|
ConditionDefinition.Type |
getType()
Returns the type of this condition.
|
void |
setDomain(Object domain)
Sets the domain of possible values for the condition.
|
addChangeListener, createCondition, fireStateChanged, fireStateChanged, getDescription, getName, getUnit, getValueIsAdjusting, remove, removeChangeListener, removeCondition, setValueIsAdjustingpublic BooleanConditionDefinition(String name)
public ConditionDefinition.Type getType()
public BooleanCondition createCondition(boolean enabled, boolean inverted)
Condition object linked to this ConditionDefinition.public void setDomain(Object domain)
public Object getDomain()
public void addToDomain(org.freehep.util.Value value)
Copyright © 1996-2014 FreeHEP. All Rights Reserved.