org.xith3d.ui.hud.utils
Enum HUDPickResult.HUDPickReason

java.lang.Object
  extended by java.lang.Enum<HUDPickResult.HUDPickReason>
      extended by org.xith3d.ui.hud.utils.HUDPickResult.HUDPickReason
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HUDPickResult.HUDPickReason>
Enclosing class:
HUDPickResult

public static enum HUDPickResult.HUDPickReason
extends java.lang.Enum<HUDPickResult.HUDPickReason>


Enum Constant Summary
BUTTON_PRESSED
           
BUTTON_RELEASED
           
MOUSE_MOVED
           
MOUSE_STOPPED
           
MOUSE_WHEEL_MOVED_DOWN
           
MOUSE_WHEEL_MOVED_UP
           
 
Field Summary
static int BUTTON_PRESSED_MASK
           
static int BUTTON_RELEASED_MASK
           
static int MOUSE_MOVED_MASK
           
static int MOUSE_STOPPED_MASK
           
static int MOUSE_WHEEL_MOVED_MASK
           
 
Method Summary
 int getMaskValue()
           
static HUDPickResult.HUDPickReason valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HUDPickResult.HUDPickReason[] 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

BUTTON_PRESSED

public static final HUDPickResult.HUDPickReason BUTTON_PRESSED

BUTTON_RELEASED

public static final HUDPickResult.HUDPickReason BUTTON_RELEASED

MOUSE_MOVED

public static final HUDPickResult.HUDPickReason MOUSE_MOVED

MOUSE_STOPPED

public static final HUDPickResult.HUDPickReason MOUSE_STOPPED

MOUSE_WHEEL_MOVED_UP

public static final HUDPickResult.HUDPickReason MOUSE_WHEEL_MOVED_UP

MOUSE_WHEEL_MOVED_DOWN

public static final HUDPickResult.HUDPickReason MOUSE_WHEEL_MOVED_DOWN
Field Detail

BUTTON_PRESSED_MASK

public static final int BUTTON_PRESSED_MASK

BUTTON_RELEASED_MASK

public static final int BUTTON_RELEASED_MASK

MOUSE_MOVED_MASK

public static final int MOUSE_MOVED_MASK

MOUSE_STOPPED_MASK

public static final int MOUSE_STOPPED_MASK

MOUSE_WHEEL_MOVED_MASK

public static final int MOUSE_WHEEL_MOVED_MASK
Method Detail

values

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

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

valueOf

public static HUDPickResult.HUDPickReason 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

getMaskValue

public final int getMaskValue()