gov.sns.xal.model.mpx
Interface ModelProxyListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ModelProxyListenerAdaptor

public interface ModelProxyListener
extends java.util.EventListener

The Interface for objects that listen to events from the on-line model proxy.


Field Summary
static int ACCEL_CHANGED
          Named constant to indicate the cause 'accelerator changed'.
static int MISSING_INPUT
          Named constant to indicate the cause 'not enough input to run the model'.
static int PROBE_CHANGED
          Named constant to indicate the cause 'probe changed'.
static int RESULTS_CHANGED
          Named constant to indicate the cause 'model results changed'.
static int SEQUENCE_CHANGED
          Named constant to indicate the cause 'accelerator sequence changed'.
 
Method Summary
 void accelMasterChanged(ModelProxy source)
          Called by the model proxy to notify the listener in cause of ACCEL_CHANGED.
 void accelSequenceChanged(ModelProxy source)
          Called by the model proxy to notify the listener in cause of SEQUENCE_CHANGED.
 void missingInputToRunModel(ModelProxy source)
          Called by the model proxy to notify the listener in cause of MISSING_INPUT.
 void modelResultsChanged(ModelProxy source)
          Called by the model proxy to notify the listener in cause of RESULTS_CHANGED.
 void probeMasterChanged(ModelProxy source)
          Called by the model proxy to notify the listener in cause of PROBE_CHANGED.
 

Field Detail

ACCEL_CHANGED

public static final int ACCEL_CHANGED
Named constant to indicate the cause 'accelerator changed'.

See Also:
Constant Field Values

SEQUENCE_CHANGED

public static final int SEQUENCE_CHANGED
Named constant to indicate the cause 'accelerator sequence changed'.

See Also:
Constant Field Values

PROBE_CHANGED

public static final int PROBE_CHANGED
Named constant to indicate the cause 'probe changed'.

See Also:
Constant Field Values

RESULTS_CHANGED

public static final int RESULTS_CHANGED
Named constant to indicate the cause 'model results changed'.

See Also:
Constant Field Values

MISSING_INPUT

public static final int MISSING_INPUT
Named constant to indicate the cause 'not enough input to run the model'.

See Also:
Constant Field Values
Method Detail

accelMasterChanged

public void accelMasterChanged(ModelProxy source)
Called by the model proxy to notify the listener in cause of ACCEL_CHANGED.


accelSequenceChanged

public void accelSequenceChanged(ModelProxy source)
Called by the model proxy to notify the listener in cause of SEQUENCE_CHANGED.


probeMasterChanged

public void probeMasterChanged(ModelProxy source)
Called by the model proxy to notify the listener in cause of PROBE_CHANGED.


modelResultsChanged

public void modelResultsChanged(ModelProxy source)
Called by the model proxy to notify the listener in cause of RESULTS_CHANGED.


missingInputToRunModel

public void missingInputToRunModel(ModelProxy source)
Called by the model proxy to notify the listener in cause of MISSING_INPUT.