org.jactr.core.model.event
Interface IModelListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
DecoratedModelListener, ModelListener, ModelListenerAdaptor

public interface IModelListener
extends java.util.EventListener

Description of the Interface

Author:
harrison

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 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
 

Method Detail

modelConnected

void modelConnected(ModelEvent me)
called when the model has been connected to the runtime and possibly CommonReality

Parameters:
me -

modelDisconnected

void modelDisconnected(ModelEvent me)
called on disconnect

Parameters:
me -

moduleInstalled

void moduleInstalled(ModelEvent me)
called after a module has been installed

Parameters:
me -

extensionInstalled

void extensionInstalled(ModelEvent me)
called after an extension has been installed

Parameters:
me -

instrumentInstalled

void instrumentInstalled(ModelEvent me)
called after an instrument has been installed

Parameters:
me -

bufferInstalled

void bufferInstalled(ModelEvent me)
called after a buffer has been installed

Parameters:
me -

modelInitialized

void modelInitialized(ModelEvent me)
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

Parameters:
me -

modelStarted

void modelStarted(ModelEvent me)
called once the model has started its execution. this is called shortly after modelConnected

Parameters:
me -

modelSuspended

void modelSuspended(ModelEvent me)
called when the model enters a suspended state due to a break point or explicitly forced by the controller

Parameters:
me -

modelResumed

void modelResumed(ModelEvent me)
called when the model resumes

Parameters:
me -

modelStopped

void modelStopped(ModelEvent me)
called when the model's execution has completed. this is always the second to last event. disconnected is the final one

Parameters:
me -

exceptionThrown

void exceptionThrown(ModelEvent me)
called in an exception occurs during the normal run. after firing this event, modelStopped will be called

Parameters:
me -

cycleStarted

void cycleStarted(ModelEvent me)
called at the start of each cycle.

Parameters:
me -

cycleStopped

void cycleStopped(ModelEvent me)
called at the end of each cycle.

Parameters:
me -