|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.wired.cut.AbstractCondition
hep.wired.cut.DoubleCondition
public class DoubleCondition
Condition
based on comparison with double range.
Field Summary |
---|
Fields inherited from class hep.wired.cut.AbstractCondition |
---|
_definition, _enabled, _inverted, _set |
Constructor Summary | |
---|---|
DoubleCondition(ConditionDefinition definition)
|
|
DoubleCondition(ConditionDefinition definition,
boolean enabled,
boolean inverted)
|
|
DoubleCondition(ConditionDefinition definition,
boolean enabled,
boolean inverted,
double min,
double max)
|
|
DoubleCondition(ConditionDefinition definition,
double min,
double max)
|
Method Summary | |
---|---|
double[] |
get()
Returns the acceptance range. |
double |
getMaximum()
Returns high bound of the acceptance range. |
double |
getMinimum()
Returns low bound of the acceptance range. |
String |
getStatus()
Returns status string describing what attribute values satisfy this condition in its current state. |
boolean |
pass(org.freehep.util.Value value)
Returns true is the value satisfies this condition. |
void |
set(Object value)
Sets the acceptance range. |
void |
setMaximum(double max)
Sets high bound of the acceptance range. |
void |
setMinimum(double min)
Sets low bound of the acceptance range. |
void |
setRange(double min,
double max)
Sets the acceptance range. |
Methods inherited from class hep.wired.cut.AbstractCondition |
---|
fireStateChanged, getCut, getDefinition, isEnabled, isInverted, reset, setCut, setEnabled, setInverted, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DoubleCondition(ConditionDefinition definition)
public DoubleCondition(ConditionDefinition definition, boolean enabled, boolean inverted)
public DoubleCondition(ConditionDefinition definition, double min, double max)
public DoubleCondition(ConditionDefinition definition, boolean enabled, boolean inverted, double min, double max)
Method Detail |
---|
public boolean pass(org.freehep.util.Value value)
public void setMinimum(double min)
public void setMaximum(double max)
public void setRange(double min, double max)
public void set(Object value)
public String getStatus()
public double getMinimum()
public double getMaximum()
public double[] get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |