|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.wired.cut.AbstractConditionDefinition
hep.wired.cut.DoubleConditionDefinition
public class DoubleConditionDefinition
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface hep.wired.cut.ConditionDefinition |
---|
ConditionDefinition.Type |
Field Summary |
---|
Fields inherited from class hep.wired.cut.AbstractConditionDefinition |
---|
_conditions, _description, _name, _unit, _valueIsAdjusting |
Constructor Summary | |
---|---|
DoubleConditionDefinition(String name)
|
|
DoubleConditionDefinition(String name,
String unit,
String description)
|
Method Summary | |
---|---|
void |
addToDomain(double 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. |
DoubleCondition |
createCondition(boolean enabled,
boolean inverted)
Returns a new Condition object linked to this ConditionDefinition. |
double[] |
getDomain()
Returns the domain of possible values for the condition. |
ConditionDefinition.Type |
getType()
Returns the type of this condition. |
void |
setDomain(double min,
double max)
Sets the range of possible values for the condition. |
void |
setDomain(Object domain)
Sets the domain of possible values for the condition. |
Methods inherited from class hep.wired.cut.AbstractConditionDefinition |
---|
addChangeListener, createCondition, fireStateChanged, fireStateChanged, getDescription, getName, getUnit, getValueIsAdjusting, remove, removeChangeListener, removeCondition, setValueIsAdjusting |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleConditionDefinition(String name)
public DoubleConditionDefinition(String name, String unit, String description)
Method Detail |
---|
public ConditionDefinition.Type getType()
public DoubleCondition createCondition(boolean enabled, boolean inverted)
Condition
object linked to this ConditionDefinition.
public void setDomain(Object domain)
public void setDomain(double min, double max)
public double[] getDomain()
public void addToDomain(org.freehep.util.Value value)
public void addToDomain(double value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |