uavsim.graphics.controls
Enum ControlCallbackEvent.E_StateChange

java.lang.Object
  extended by java.lang.Enum<ControlCallbackEvent.E_StateChange>
      extended by uavsim.graphics.controls.ControlCallbackEvent.E_StateChange
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ControlCallbackEvent.E_StateChange>
Enclosing class:
ControlCallbackEvent

public static enum ControlCallbackEvent.E_StateChange
extends java.lang.Enum<ControlCallbackEvent.E_StateChange>

Provides the interpretation of an event.

Author:
Dan Tappan [23.06.11]

Enum Constant Summary
DECREASE
          the control should decrease some value
INCREASE
          the control should increase some value
PRESSED
          the control was pressed
 
Method Summary
static ControlCallbackEvent.E_StateChange valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ControlCallbackEvent.E_StateChange[] 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

DECREASE

public static final ControlCallbackEvent.E_StateChange DECREASE
the control should decrease some value


INCREASE

public static final ControlCallbackEvent.E_StateChange INCREASE
the control should increase some value


PRESSED

public static final ControlCallbackEvent.E_StateChange PRESSED
the control was pressed

Method Detail

valueOf

public static ControlCallbackEvent.E_StateChange 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

values

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

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