fr.lifl.jedi.gui.control.graphicalControl.view
Enum IconIdentifier

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

public enum IconIdentifier
extends java.lang.Enum<IconIdentifier>

Enumeration used to keep a reference on the name associated with every different icons of the GraphicalSimulationControlGUI.

Version:
JEDI V 2.2
Created the 3 avr. 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_DISABLED_ICON
          The icon displayed by the "Abort" button when the simulation is either not initialized, or has finished or has ended.
ABORT_ICON
          The icon displayed by the "Abort" button when the simulation is currently running or paused.
INIT_DISABLED_ICON
          The icon displayed by the "Initialization" button when the simulation is currently paused or running.
INIT_ICON
          The icon displayed by the "Initialization" button when the simulation is not initialized, or has finished or has ended.
PAUSE_ICON
          The icon displayed by the "Pause" button when the simulation is currently running.
RUN_DISABLED_ICON
          The icon displayed by the "Run" button when the simulation is either not initialized, or has finished or has ended.
RUN_ICON
          The icon displayed by the "Run" button when the simulation is initialized by not running.
SINGLE_STEP_DISABLED_ICON
          The icon displayed by the "Single step" button when the simulation is either not initialized, or has finished, or has ended, or is currently running.
SINGLE_STEP_ICON
          The icon displayed by the "Single step" button when the simulation is either initialized, or is paused.
 
Method Summary
static IconIdentifier valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static IconIdentifier[] 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

RUN_ICON

public static final IconIdentifier RUN_ICON
The icon displayed by the "Run" button when the simulation is initialized by not running.


RUN_DISABLED_ICON

public static final IconIdentifier RUN_DISABLED_ICON
The icon displayed by the "Run" button when the simulation is either not initialized, or has finished or has ended.


INIT_ICON

public static final IconIdentifier INIT_ICON
The icon displayed by the "Initialization" button when the simulation is not initialized, or has finished or has ended.


INIT_DISABLED_ICON

public static final IconIdentifier INIT_DISABLED_ICON
The icon displayed by the "Initialization" button when the simulation is currently paused or running.


PAUSE_ICON

public static final IconIdentifier PAUSE_ICON
The icon displayed by the "Pause" button when the simulation is currently running.


ABORT_ICON

public static final IconIdentifier ABORT_ICON
The icon displayed by the "Abort" button when the simulation is currently running or paused.


ABORT_DISABLED_ICON

public static final IconIdentifier ABORT_DISABLED_ICON
The icon displayed by the "Abort" button when the simulation is either not initialized, or has finished or has ended.


SINGLE_STEP_ICON

public static final IconIdentifier SINGLE_STEP_ICON
The icon displayed by the "Single step" button when the simulation is either initialized, or is paused.


SINGLE_STEP_DISABLED_ICON

public static final IconIdentifier SINGLE_STEP_DISABLED_ICON
The icon displayed by the "Single step" button when the simulation is either not initialized, or has finished, or has ended, or is currently running.

Method Detail

values

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

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

valueOf

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