|
||||||||||
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.IntegerCondition
public class IntegerCondition
Condition
based on comparison with integer range.
Field Summary |
---|
Fields inherited from class hep.wired.cut.AbstractCondition |
---|
_definition, _enabled, _inverted, _set |
Constructor Summary | |
---|---|
IntegerCondition(ConditionDefinition definition)
|
|
IntegerCondition(ConditionDefinition definition,
boolean enabled,
boolean inverted)
|
|
IntegerCondition(ConditionDefinition definition,
boolean enabled,
boolean inverted,
int min,
int max)
|
|
IntegerCondition(ConditionDefinition definition,
int min,
int max)
|
Method Summary | |
---|---|
int[] |
get()
Returns the acceptance range. |
int |
getMaximum()
Returns high bound of the acceptance range. |
int |
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(int max)
Sets high bound of the acceptance range. |
void |
setMinimum(int min)
Sets low bound of the acceptance range. |
void |
setRange(int min,
int 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 IntegerCondition(ConditionDefinition definition)
public IntegerCondition(ConditionDefinition definition, boolean enabled, boolean inverted)
public IntegerCondition(ConditionDefinition definition, int min, int max)
public IntegerCondition(ConditionDefinition definition, boolean enabled, boolean inverted, int min, int max)
Method Detail |
---|
public boolean pass(org.freehep.util.Value value)
public void setMinimum(int min)
public void setMaximum(int max)
public void setRange(int min, int max)
public void set(Object value)
public String getStatus()
public int getMinimum()
public int getMaximum()
public int[] get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |