public class LongConditionDefinition extends AbstractConditionDefinition
ConditionDefinition.Type
_conditions, _description, _name, _unit, _valueIsAdjusting
Constructor and Description |
---|
LongConditionDefinition(String name) |
LongConditionDefinition(String name,
String unit,
String description) |
Modifier and Type | Method and Description |
---|---|
void |
addToDomain(long value)
Updates the domain to ensure it contains the specified value.
|
void |
addToDomain(org.freehep.util.Value value)
Updates the domain to ensure it contains the specified value.
|
LongCondition |
createCondition(boolean enabled,
boolean inverted)
Returns a new
Condition object linked to this ConditionDefinition. |
long[] |
getDomain()
Returns the domain of possible values for the condition.
|
ConditionDefinition.Type |
getType()
Returns the type of this condition.
|
void |
setDomain(long min,
long max)
Sets the range of possible values for the 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, setValueIsAdjusting
public LongConditionDefinition(String name)
public ConditionDefinition.Type getType()
public LongCondition createCondition(boolean enabled, boolean inverted)
Condition
object linked to this ConditionDefinition.public void setDomain(Object domain)
public void setDomain(long min, long max)
public long[] getDomain()
public void addToDomain(org.freehep.util.Value value)
public void addToDomain(long value)
Copyright © 1996-2014 FreeHEP. All Rights Reserved.