fr.lifl.jedi.gui.display.interactionDisplayer.view
Enum OptionsToControllerEvents

java.lang.Object
  extended by java.lang.Enum<OptionsToControllerEvents>
      extended by fr.lifl.jedi.gui.display.interactionDisplayer.view.OptionsToControllerEvents
All Implemented Interfaces:
ISimulationEvent, java.io.Serializable, java.lang.Comparable<OptionsToControllerEvents>

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

Events thrown by the PerformedInteractionsDisplayerGUI class to tell the controller that one of the options changed.

Version:
JEDI V 2.3
Created the 15 juin 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
DISPLAY_ALL_STEPS
          Event thrown when the GUI tells that all simulation steps have to be displayed.
DISPLAY_LAST_STEPS
          Event thrown when the GUI tells that only a restricted amount of last simulation steps are displayed.
DISPLAY_LAST_STEPS_CHANGED
          Event thrown when the GUI tells that the number of last simulation steps that are displayed has changed.
DISPLAY_PER_FAMILY
          Event thrown when the GUI tells that the agents are displayed per families.
DISPLAY_PER_FAMILY_FAMILY_CHANGED
          Event thrown when the GUI tells that the family, for which instances are displayed, has changed.
DISPLAY_PER_INSTANCE
          Event thrown when the GUI tells that the agents are displayed per instances.
DISPLAY_PER_INSTANCE_FAMILY_CHANGED
          Event thrown when the GUI tells that the family, for which an instance is displayed, has changed.
DISPLAY_PER_INSTANCE_INSTANCE_CHANGED
          Event thrown when the GUI tells that the displayed instance has changed.
DISPLAY_REMOVED_AGENTS
          Event thrown when the GUI tells that the removed agents have to be displayed.
DO_NOT_DISPLAY_REMOVED_AGENTS
          Event thrown when the GUI tells that the removed agents do not have to be displayed.
 
Method Summary
static OptionsToControllerEvents valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OptionsToControllerEvents[] 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

DISPLAY_ALL_STEPS

public static final OptionsToControllerEvents DISPLAY_ALL_STEPS
Event thrown when the GUI tells that all simulation steps have to be displayed.


DISPLAY_LAST_STEPS

public static final OptionsToControllerEvents DISPLAY_LAST_STEPS
Event thrown when the GUI tells that only a restricted amount of last simulation steps are displayed.


DISPLAY_LAST_STEPS_CHANGED

public static final OptionsToControllerEvents DISPLAY_LAST_STEPS_CHANGED
Event thrown when the GUI tells that the number of last simulation steps that are displayed has changed.


DISPLAY_REMOVED_AGENTS

public static final OptionsToControllerEvents DISPLAY_REMOVED_AGENTS
Event thrown when the GUI tells that the removed agents have to be displayed.


DO_NOT_DISPLAY_REMOVED_AGENTS

public static final OptionsToControllerEvents DO_NOT_DISPLAY_REMOVED_AGENTS
Event thrown when the GUI tells that the removed agents do not have to be displayed.


DISPLAY_PER_FAMILY

public static final OptionsToControllerEvents DISPLAY_PER_FAMILY
Event thrown when the GUI tells that the agents are displayed per families.


DISPLAY_PER_FAMILY_FAMILY_CHANGED

public static final OptionsToControllerEvents DISPLAY_PER_FAMILY_FAMILY_CHANGED
Event thrown when the GUI tells that the family, for which instances are displayed, has changed.


DISPLAY_PER_INSTANCE

public static final OptionsToControllerEvents DISPLAY_PER_INSTANCE
Event thrown when the GUI tells that the agents are displayed per instances.


DISPLAY_PER_INSTANCE_FAMILY_CHANGED

public static final OptionsToControllerEvents DISPLAY_PER_INSTANCE_FAMILY_CHANGED
Event thrown when the GUI tells that the family, for which an instance is displayed, has changed.


DISPLAY_PER_INSTANCE_INSTANCE_CHANGED

public static final OptionsToControllerEvents DISPLAY_PER_INSTANCE_INSTANCE_CHANGED
Event thrown when the GUI tells that the displayed instance has changed.

Method Detail

values

public static OptionsToControllerEvents[] 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 (OptionsToControllerEvents c : OptionsToControllerEvents.values())
    System.out.println(c);

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

valueOf

public static OptionsToControllerEvents 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