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