hermes.postoffice
Enum POCodes.Click

java.lang.Object
  extended by java.lang.Enum<POCodes.Click>
      extended by hermes.postoffice.POCodes.Click
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<POCodes.Click>
Enclosing class:
POCodes

public static enum POCodes.Click
extends java.lang.Enum<POCodes.Click>

Indicates button event creating mouse message PRESSED, RELEASED, DRAGGED correspond to buttons MOVED corresponds to Button.NO


Enum Constant Summary
DRAGGED
           
MOVED
           
PRESSED
           
RELEASED
           
 
Method Summary
static POCodes.Click valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static POCodes.Click[] 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

PRESSED

public static final POCodes.Click PRESSED

RELEASED

public static final POCodes.Click RELEASED

DRAGGED

public static final POCodes.Click DRAGGED

MOVED

public static final POCodes.Click MOVED
Method Detail

values

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

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

valueOf

public static POCodes.Click 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