|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A VariableListener.
Method Summary | |
void |
variableChangedName(Variable var)
Method invoked when the Variable's name have changed. |
void |
variableChangedRange(Variable var)
Method invoked when the Variable's range have changed. |
void |
variableChangedUnits(Variable var)
Method invoked when the Variable's Units have changed. |
void |
variableChangedValue(Variable var)
Method invoked when the Variable's value have changed. |
boolean |
variableChangingName(Variable var,
String name)
Method invoked when the Variable's name is about to change. |
boolean |
variableChangingUnits(Variable var,
Units units)
Method invoked when the Variable's Units are about to change. |
boolean |
variableChangingValue(Variable var,
double value)
Method invoked when the Variable's value is about to change. |
Method Detail |
public boolean variableChangingUnits(Variable var, Units units)
var
- The Variable whose Units are changing.units
- The new Units for the Variable.
true
if the change is allowed.public void variableChangedUnits(Variable var)
var
- The Variable whose Units have changed.public boolean variableChangingValue(Variable var, double value)
var
- The Variable whose value is changing.value
- The new value for the Variable.
true
if the change is allowed.public void variableChangedValue(Variable var)
var
- The Variable whose value have changed.public boolean variableChangingName(Variable var, String name)
var
- The Variable whose name is changing.name
- The new name for the Variable.
true
if the change is allowed.public void variableChangedName(Variable var)
var
- The Variable whose name has changed.public void variableChangedRange(Variable var)
var
- The Variable whose range has changed.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |