FreeHEP API
Version current

hep.aida.ref.pdf
Interface VariableListener

All Known Implementing Classes:
Function

public interface VariableListener

A VariableListener.

Author:
The FreeHEP team @ SLAC.
Source Code:
VariableListener.java

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

variableChangingUnits

public boolean variableChangingUnits(Variable var,
                                     Units units)
Method invoked when the Variable's Units are about to change.

Parameters:
var - The Variable whose Units are changing.
units - The new Units for the Variable.
Returns:
true if the change is allowed.

variableChangedUnits

public void variableChangedUnits(Variable var)
Method invoked when the Variable's Units have changed.

Parameters:
var - The Variable whose Units have changed.

variableChangingValue

public boolean variableChangingValue(Variable var,
                                     double value)
Method invoked when the Variable's value is about to change.

Parameters:
var - The Variable whose value is changing.
value - The new value for the Variable.
Returns:
true if the change is allowed.

variableChangedValue

public void variableChangedValue(Variable var)
Method invoked when the Variable's value have changed.

Parameters:
var - The Variable whose value have changed.

variableChangingName

public boolean variableChangingName(Variable var,
                                    String name)
Method invoked when the Variable's name is about to change.

Parameters:
var - The Variable whose name is changing.
name - The new name for the Variable.
Returns:
true if the change is allowed.

variableChangedName

public void variableChangedName(Variable var)
Method invoked when the Variable's name have changed.

Parameters:
var - The Variable whose name has changed.

variableChangedRange

public void variableChangedRange(Variable var)
Method invoked when the Variable's range have changed.

Parameters:
var - The Variable whose range has changed.

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.