org.jactr.core.model.event
Class ModelListenerAdaptor

java.lang.Object
  extended by org.jactr.core.model.event.ModelListenerAdaptor
All Implemented Interfaces:
java.util.EventListener, IModelListener
Direct Known Subclasses:
ModelListener

public class ModelListenerAdaptor
extends java.lang.Object
implements IModelListener

Author:
harrison To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Constructor Summary
ModelListenerAdaptor()
           
 
Method Summary
 void bufferInstalled(ModelEvent me)
          called after a buffer has been installed
 void cycleStarted(ModelEvent me)
          called at the start of each cycle.
 void cycleStopped(ModelEvent me)
          called at the end of each cycle.
 void exceptionThrown(ModelEvent me)
          called in an exception occurs during the normal run.
 void extensionInstalled(ModelEvent me)
          called after an extension has been installed
 void instrumentInstalled(ModelEvent me)
          called after an instrument has been installed
 void logEvent(ModelEvent me)
           
 void modelConnected(ModelEvent me)
          called when the model has been connected to the runtime and possibly CommonReality
 void modelDisconnected(ModelEvent me)
          called on disconnect
 void modelInitialized(ModelEvent me)
          called after the model has been initialized - i.e.
 void modelResumed(ModelEvent me)
          called when the model resumes
 void modelStarted(ModelEvent me)
          called once the model has started its execution.
 void modelStopped(ModelEvent me)
          called when the model's execution has completed.
 void modelSuspended(ModelEvent me)
          called when the model enters a suspended state due to a break point or explicitly forced by the controller
 void moduleInstalled(ModelEvent me)
          called after a module has been installed
 void parameterChanged(IParameterEvent pe)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelListenerAdaptor

public ModelListenerAdaptor()
Method Detail

bufferInstalled

public void bufferInstalled(ModelEvent me)
Description copied from interface: IModelListener
called after a buffer has been installed

Specified by:
bufferInstalled in interface IModelListener

exceptionThrown

public void exceptionThrown(ModelEvent me)
Description copied from interface: IModelListener
called in an exception occurs during the normal run. after firing this event, modelStopped will be called

Specified by:
exceptionThrown in interface IModelListener

extensionInstalled

public void extensionInstalled(ModelEvent me)
Description copied from interface: IModelListener
called after an extension has been installed

Specified by:
extensionInstalled in interface IModelListener

instrumentInstalled

public void instrumentInstalled(ModelEvent me)
Description copied from interface: IModelListener
called after an instrument has been installed

Specified by:
instrumentInstalled in interface IModelListener

modelInitialized

public void modelInitialized(ModelEvent me)
Description copied from interface: IModelListener
called after the model has been initialized - i.e. all the chunks and related content have been added and the model is in a runnable state

Specified by:
modelInitialized in interface IModelListener

modelStarted

public void modelStarted(ModelEvent me)
Description copied from interface: IModelListener
called once the model has started its execution. this is called shortly after modelConnected

Specified by:
modelStarted in interface IModelListener

modelStopped

public void modelStopped(ModelEvent me)
Description copied from interface: IModelListener
called when the model's execution has completed. this is always the second to last event. disconnected is the final one

Specified by:
modelStopped in interface IModelListener

moduleInstalled

public void moduleInstalled(ModelEvent me)
Description copied from interface: IModelListener
called after a module has been installed

Specified by:
moduleInstalled in interface IModelListener

parameterChanged

public void parameterChanged(IParameterEvent pe)

cycleStarted

public void cycleStarted(ModelEvent me)
Description copied from interface: IModelListener
called at the start of each cycle.

Specified by:
cycleStarted in interface IModelListener

modelResumed

public void modelResumed(ModelEvent me)
Description copied from interface: IModelListener
called when the model resumes

Specified by:
modelResumed in interface IModelListener
See Also:
IModelListener.modelResumed(org.jactr.core.model.event.ModelEvent)

modelSuspended

public void modelSuspended(ModelEvent me)
Description copied from interface: IModelListener
called when the model enters a suspended state due to a break point or explicitly forced by the controller

Specified by:
modelSuspended in interface IModelListener
See Also:
IModelListener.modelSuspended(org.jactr.core.model.event.ModelEvent)

logEvent

public void logEvent(ModelEvent me)
See Also:
org.jactr.core.model.event.IModelListener#logEvent(org.jactr.core.model.event.ModelEvent)

modelConnected

public void modelConnected(ModelEvent me)
Description copied from interface: IModelListener
called when the model has been connected to the runtime and possibly CommonReality

Specified by:
modelConnected in interface IModelListener
See Also:
IModelListener.modelConnected(org.jactr.core.model.event.ModelEvent)

cycleStopped

public void cycleStopped(ModelEvent me)
Description copied from interface: IModelListener
called at the end of each cycle.

Specified by:
cycleStopped in interface IModelListener
See Also:
IModelListener.cycleStopped(org.jactr.core.model.event.ModelEvent)

modelDisconnected

public void modelDisconnected(ModelEvent me)
Description copied from interface: IModelListener
called on disconnect

Specified by:
modelDisconnected in interface IModelListener
See Also:
IModelListener.modelDisconnected(org.jactr.core.model.event.ModelEvent)