de.tub.citydb.api.event.global
Enum ViewEvent.ViewState

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

public static enum ViewEvent.ViewState
extends java.lang.Enum<ViewEvent.ViewState>


Enum Constant Summary
VIEW_ACTIVATED
           
VIEW_DEACTIVATED
           
 
Method Summary
static ViewEvent.ViewState valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ViewEvent.ViewState[] 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

VIEW_ACTIVATED

public static final ViewEvent.ViewState VIEW_ACTIVATED

VIEW_DEACTIVATED

public static final ViewEvent.ViewState VIEW_DEACTIVATED
Method Detail

values

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

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

valueOf

public static ViewEvent.ViewState 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