public class DoubleCondition extends AbstractCondition
Condition
based on comparison with double range._definition, _enabled, _inverted, _set
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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.
|
fireStateChanged, getCut, getDefinition, isEnabled, isInverted, reset, setCut, setEnabled, setInverted, toString
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)
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()
Copyright © 1996-2014 FreeHEP. All Rights Reserved.