|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QTabletEvent.TabletDevice>
com.trolltech.qt.gui.QTabletEvent.TabletDevice
public static enum QTabletEvent.TabletDevice
This enum defines what type of device is generating the event.
Enum Constant Summary | |
---|---|
Airbrush
An airbrush |
|
FourDMouse
A 4D Mouse. |
|
NoDevice
No device, or an unknown device. |
|
Puck
A Puck (a device that is similar to a flat mouse with a transparent circle with cross-hairs). |
|
RotationStylus
A special stylus that also knows about rotation (a 6D stylus). |
|
Stylus
A Stylus. |
|
XFreeEraser
Internal. |
Method Summary | |
---|---|
static QTabletEvent.TabletDevice |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QTabletEvent.TabletDevice |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTabletEvent.TabletDevice[] |
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 |
---|
public static final QTabletEvent.TabletDevice NoDevice
No device, or an unknown device.
public static final QTabletEvent.TabletDevice Puck
A Puck (a device that is similar to a flat mouse with a transparent circle with cross-hairs).
public static final QTabletEvent.TabletDevice Stylus
A Stylus.
public static final QTabletEvent.TabletDevice Airbrush
An airbrush
public static final QTabletEvent.TabletDevice FourDMouse
A 4D Mouse.
public static final QTabletEvent.TabletDevice XFreeEraser
public static final QTabletEvent.TabletDevice RotationStylus
A special stylus that also knows about rotation (a 6D stylus).
Method Detail |
---|
public static QTabletEvent.TabletDevice[] values()
for (QTabletEvent.TabletDevice c : QTabletEvent.TabletDevice.values()) System.out.println(c);
public static QTabletEvent.TabletDevice valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int value()
QtEnumerator
value
in interface QtEnumerator
public static QTabletEvent.TabletDevice resolve(int value)
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |