|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
fr.lifl.jedi.controllersCore.AbstractGUIController<PerformedInteractionsDisplayerGUI>
fr.lifl.jedi.gui.display.interactionDisplayer.controller.PerformedInteractionsDisplayerController
public class PerformedInteractionsDisplayerController
Controller that handles how and what performed interactions are displayed within the
PerformedInteractionsDisplayerGUI
GUI.
JEDI V 2.3 |
Created the 15th June 2009 |
Yoann Kubera |
SMAC Team (Systèmes Multi-Agents et Comportement) |
LIFL (Laboratoire d'Informatique Fondamentale de Lille) |
University of Lille, France |
Field Summary |
---|
Fields inherited from class fr.lifl.jedi.controllersCore.AbstractGUIController |
---|
core, view |
Constructor Summary | |
---|---|
PerformedInteractionsDisplayerController(PerformedInteractionsDisplayerGUI view)
Constructor of the Controller that rules the PerformedInteractionsDisplayerGUI
GUI. |
Method Summary | |
---|---|
protected void |
handleViewMessage(ISimulationEvent arg)
Defines how the controller reacts when it receives an event coming from the view. |
protected void |
reactToCloseRequest()
This method is called when the program is about to exit. |
protected void |
updateViewAfterInitialization()
This method is called whenever the simulation core finished the environment's initialization. |
protected void |
updateViewAfterTimeStep()
This method is called whenever a simulation step ends. |
protected void |
updateViewAtSimulationsAbortion()
This method is called when the simulation ended because of an abortion (because of a ToSimulationCoreControlEvents.TO_CORE_ABORT_SIMULATION event
sent by the controller of a simulation control GUI). |
protected void |
updateViewAtSimulationsEnd()
This method is called when the simulation ended normaly -- i.e. |
protected void |
updateViewDuringTimeStep()
This method is called whenever a simulation step starts. |
protected void |
updateViewWhenPaused()
This method is called whenever the simulation is paused. |
protected void |
updateViewWhileInitializing()
This method is called when the simulation core begins to (and has not finished to) initialize the simulation. |
Methods inherited from class fr.lifl.jedi.controllersCore.AbstractGUIController |
---|
getView, setSimulationCore, update |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PerformedInteractionsDisplayerController(PerformedInteractionsDisplayerGUI view)
PerformedInteractionsDisplayerGUI
GUI.
Method Detail |
---|
protected void handleViewMessage(ISimulationEvent arg)
AbstractGUIController
handleViewMessage
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
arg
- The event that came from the view.AbstractGUIController.handleViewMessage(fr.lifl.jedi.gui.ISimulationEvent)
protected void reactToCloseRequest()
AbstractGUIController
AbstractGUIController.reactToCloseRequest()
method.
reactToCloseRequest
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.reactToCloseRequest()
protected void updateViewAfterInitialization()
AbstractGUIController
AbstractGUIController.updateViewAfterInitialization()
method.
updateViewAfterInitialization
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewAfterInitialization()
protected void updateViewAfterTimeStep()
AbstractGUIController
AbstractGUIController.updateViewAfterTimeStep()
method.
updateViewAfterTimeStep
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewAfterTimeStep()
protected void updateViewAtSimulationsAbortion()
AbstractGUIController
ToSimulationCoreControlEvents.TO_CORE_ABORT_SIMULATION
event
sent by the controller of a simulation control GUI).
The simulation can be initialized again only when all controllers registered to the simulation
core finished their call to the AbstractGUIController.updateViewAtSimulationsAbortion()
method.
updateViewAtSimulationsAbortion
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewAtSimulationsAbortion()
protected void updateViewAtSimulationsEnd()
AbstractGUIController
SimulationCore.hasToStop()
).
The simulation can be initialized again only when all controllers registered to the simulation
core finished their call to the AbstractGUIController.updateViewAtSimulationsEnd()
method.
updateViewAtSimulationsEnd
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewAtSimulationsEnd()
protected void updateViewDuringTimeStep()
AbstractGUIController
updateViewDuringTimeStep
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewDuringTimeStep()
protected void updateViewWhenPaused()
AbstractGUIController
AbstractGUIController.updateViewWhenPaused()
method.
updateViewWhenPaused
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewWhenPaused()
protected void updateViewWhileInitializing()
AbstractGUIController
updateViewWhileInitializing
in class AbstractGUIController<PerformedInteractionsDisplayerGUI>
AbstractGUIController.updateViewWhileInitializing()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |