|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MouseEvent.PointerType>
com.jogamp.newt.event.MouseEvent.PointerType
public static enum MouseEvent.PointerType
Type of pointer devices
Enum Constant Summary | |
---|---|
Mouse
MouseEvent.PointerClass.Offscreen mouse. |
|
Pen
MouseEvent.PointerClass.Onscreen pen on screen ?. |
|
TouchPad
MouseEvent.PointerClass.Offscreen touch pad, usually using fingers. |
|
TouchScreen
MouseEvent.PointerClass.Onscreen touch screen, usually using fingers. |
|
Undefined
|
Method Summary | |
---|---|
MouseEvent.PointerClass |
getPointerClass()
|
static MouseEvent.PointerType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MouseEvent.PointerType[] |
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 |
---|
public static final MouseEvent.PointerType Mouse
MouseEvent.PointerClass.Offscreen
mouse.
public static final MouseEvent.PointerType TouchPad
MouseEvent.PointerClass.Offscreen
touch pad, usually using fingers.
public static final MouseEvent.PointerType TouchScreen
MouseEvent.PointerClass.Onscreen
touch screen, usually using fingers.
public static final MouseEvent.PointerType Pen
MouseEvent.PointerClass.Onscreen
pen on screen ?.
public static final MouseEvent.PointerType Undefined
Method Detail |
---|
public static MouseEvent.PointerType[] values()
for (MouseEvent.PointerType c : MouseEvent.PointerType.values()) System.out.println(c);
public static MouseEvent.PointerType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic MouseEvent.PointerClass getPointerClass()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |