de.tub.citydb.api.event.global
Enum GlobalEvents

java.lang.Object
  extended by java.lang.Enum<GlobalEvents>
      extended by de.tub.citydb.api.event.global.GlobalEvents
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GlobalEvents>

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


Enum Constant Summary
DATABASE_CONNECTION_STATE
           
GENERIC_EVENT
           
PROJECT_CHANGED
           
PROXY_SERVER_UNAVAILABLE
           
SWITCH_LOCALE
           
VIEW_STATE
           
 
Method Summary
static GlobalEvents valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GlobalEvents[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DATABASE_CONNECTION_STATE

public static final GlobalEvents DATABASE_CONNECTION_STATE

SWITCH_LOCALE

public static final GlobalEvents SWITCH_LOCALE

PROXY_SERVER_UNAVAILABLE

public static final GlobalEvents PROXY_SERVER_UNAVAILABLE

GENERIC_EVENT

public static final GlobalEvents GENERIC_EVENT

VIEW_STATE

public static final GlobalEvents VIEW_STATE

PROJECT_CHANGED

public static final GlobalEvents PROJECT_CHANGED
Method Detail

values

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

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

valueOf

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