|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<QTabletEvent.PointerType>
com.trolltech.qt.gui.QTabletEvent.PointerType
public static enum QTabletEvent.PointerType
This enum defines what type of point is generating the event.
| Enum Constant Summary | |
|---|---|
Cursor
Any puck-like device. |
|
Eraser
Eraser end of a stylus-like device (the broad end of the pen). |
|
Pen
Tip end of a stylus-like device (the narrow end of the pen). |
|
UnknownPointer
An unknown device. |
|
| Method Summary | |
|---|---|
static QTabletEvent.PointerType |
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.PointerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QTabletEvent.PointerType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final QTabletEvent.PointerType UnknownPointer
An unknown device.
public static final QTabletEvent.PointerType Pen
Tip end of a stylus-like device (the narrow end of the pen).
public static final QTabletEvent.PointerType Cursor
Any puck-like device.
public static final QTabletEvent.PointerType Eraser
Eraser end of a stylus-like device (the broad end of the pen).
| Method Detail |
|---|
public static final QTabletEvent.PointerType[] values()
for(QTabletEvent.PointerType c : QTabletEvent.PointerType.values())
System.out.println(c);
public static QTabletEvent.PointerType 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 namepublic int value()
QtEnumerator
value in interface QtEnumeratorpublic static QTabletEvent.PointerType resolve(int value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||