public static enum MouseEvent.PointerType extends Enum<MouseEvent.PointerType>
Enum Constant and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final MouseEvent.PointerType 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
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 nameNullPointerException
- if the argument is nullpublic MouseEvent.PointerClass getPointerClass()
Copyright 2010 JogAmp Community.