adams.gui.event
Enum SortSetupEvent.EventType

java.lang.Object
  extended by java.lang.Enum<SortSetupEvent.EventType>
      extended by adams.gui.event.SortSetupEvent.EventType
All Implemented Interfaces:
Serializable, Comparable<SortSetupEvent.EventType>
Enclosing class:
SortSetupEvent

public static enum SortSetupEvent.EventType
extends Enum<SortSetupEvent.EventType>

The type of event.

Version:
$Revision: 6363 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
ADD
          a definition was added.
MODIFIED
          the setup was modified.
REMOVE
          a definition was removed.
RESET
          the setup was reset.
 
Method Summary
static SortSetupEvent.EventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SortSetupEvent.EventType[] 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

ADD

public static final SortSetupEvent.EventType ADD
a definition was added.


REMOVE

public static final SortSetupEvent.EventType REMOVE
a definition was removed.


MODIFIED

public static final SortSetupEvent.EventType MODIFIED
the setup was modified.


RESET

public static final SortSetupEvent.EventType RESET
the setup was reset.

Method Detail

values

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

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

valueOf

public static SortSetupEvent.EventType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.