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