|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.xal.model.mpx.ModelProxyListenerAdaptor
A convienience adaptor that implements default methods for the ModelProxyListener interface. This class is meant to be used in nested implementations of the ModelProxyListener interface:
ModelProxy mproxy = new ModelProxy();
mproxy.addModelProxyListener(new ModelProxyListenerAdaptor() {
//override the default implementation
public void modelResultsChanged(ModelProxy mp) {
:
custom code
:
}
});
| Field Summary |
| Fields inherited from interface gov.sns.xal.model.mpx.ModelProxyListener |
ACCEL_CHANGED, MISSING_INPUT, PROBE_CHANGED, RESULTS_CHANGED, SEQUENCE_CHANGED |
| Constructor Summary | |
ModelProxyListenerAdaptor()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModelProxyListenerAdaptor()
| Method Detail |
public void accelMasterChanged(ModelProxy source)
ModelProxyListenerACCEL_CHANGED.
accelMasterChanged in interface ModelProxyListenerpublic void accelSequenceChanged(ModelProxy source)
ModelProxyListenerSEQUENCE_CHANGED.
accelSequenceChanged in interface ModelProxyListenerpublic void probeMasterChanged(ModelProxy source)
ModelProxyListenerPROBE_CHANGED.
probeMasterChanged in interface ModelProxyListenerpublic void modelResultsChanged(ModelProxy source)
ModelProxyListenerRESULTS_CHANGED.
modelResultsChanged in interface ModelProxyListenerpublic void missingInputToRunModel(ModelProxy source)
ModelProxyListenerMISSING_INPUT.
missingInputToRunModel in interface ModelProxyListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||