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