fr.lifl.jedi.gui.control.graphicalControl.controller
Enum GraphicalSimulationControlGUIEvents

java.lang.Object
  extended by java.lang.Enum<GraphicalSimulationControlGUIEvents>
      extended by fr.lifl.jedi.gui.control.graphicalControl.controller.GraphicalSimulationControlGUIEvents
All Implemented Interfaces:
ISimulationEvent, java.io.Serializable, java.lang.Comparable<GraphicalSimulationControlGUIEvents>

public enum GraphicalSimulationControlGUIEvents
extends java.lang.Enum<GraphicalSimulationControlGUIEvents>
implements ISimulationEvent

This enumeration defines all the events sent by the GraphicalSimulationControlGUI view to the GraphicalSimulationControlGUIController controller.

Version:
JEDI V 2.2
Created the 2nd april 2009
Modified the 5th may 2009
Author:
Yoann Kubera
SMAC Team (Systèmes Multi-Agents et Comportement)
LIFL (Laboratoire d'Informatique Fondamentale de Lille)
University of Lille, France

Enum Constant Summary
ABORT_BUTTON_CLIC
          Event sent by the GraphicalSimulationControlGUI whenever the "Abort" button is selected.
CLOSE_REQUEST
          Event sent whenever the close button is pressed.
INITIALIZE_BUTTON_CLIC
          Event sent by the GraphicalSimulationControlGUI whenever the "Initialize" button is selected.
RUN_PAUSE_BUTTON_CLIC
          Event sent by the GraphicalSimulationControlGUI whenever the "Run", "Resume" or "Pause" button is selected.
STEP_ONCE_BUTTON_CLIC
          Event sent by the GraphicalSimulationControlGUI whenever the "Step Once" button is selected.
TEMPO_BAR_CHANGE
          Event sent whenever the bar that defines the minimum time required to run a simulation step.
 
Method Summary
static GraphicalSimulationControlGUIEvents valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GraphicalSimulationControlGUIEvents[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INITIALIZE_BUTTON_CLIC

public static final GraphicalSimulationControlGUIEvents INITIALIZE_BUTTON_CLIC
Event sent by the GraphicalSimulationControlGUI whenever the "Initialize" button is selected.


ABORT_BUTTON_CLIC

public static final GraphicalSimulationControlGUIEvents ABORT_BUTTON_CLIC
Event sent by the GraphicalSimulationControlGUI whenever the "Abort" button is selected.


RUN_PAUSE_BUTTON_CLIC

public static final GraphicalSimulationControlGUIEvents RUN_PAUSE_BUTTON_CLIC
Event sent by the GraphicalSimulationControlGUI whenever the "Run", "Resume" or "Pause" button is selected.


STEP_ONCE_BUTTON_CLIC

public static final GraphicalSimulationControlGUIEvents STEP_ONCE_BUTTON_CLIC
Event sent by the GraphicalSimulationControlGUI whenever the "Step Once" button is selected.


TEMPO_BAR_CHANGE

public static final GraphicalSimulationControlGUIEvents TEMPO_BAR_CHANGE
Event sent whenever the bar that defines the minimum time required to run a simulation step. If a simulation step runs faster, it will wait until this time elapses.


CLOSE_REQUEST

public static final GraphicalSimulationControlGUIEvents CLOSE_REQUEST
Event sent whenever the close button is pressed.

Method Detail

values

public static GraphicalSimulationControlGUIEvents[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GraphicalSimulationControlGUIEvents c : GraphicalSimulationControlGUIEvents.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GraphicalSimulationControlGUIEvents valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null