Indicates the states of a pointing device. More...
Public Member Functions | |
PointerState (int value) | |
Constructs a PointerState of an integer value. More... | |
PointerState (PointerState enum_) | |
Constructs a copy of a PointerState object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static PointerState | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static PointerState | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
Dragged =(2) | |
The pointer dragged. | |
Moved =(1) | |
The pointer moved. More... | |
Pressed =(0) | |
The pointer is pressed. | |
Released =(3) | |
The pointer is released. | |
Scrolled =(4) | |
The pointer scrolled. More... | |
Indicates the states of a pointing device.
PointerState | ( | int | value | ) |
Constructs a PointerState of an integer value.
value | Integer value to convert to enumeration constant. |
PointerState | ( | PointerState | enum_ | ) |
Constructs a copy of a PointerState object.
enum_ | PointerState to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
final int swigValue | ( | ) |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
Moved =(1) |
The pointer moved.
Not all platforms support this state.
For example, many touch screens do not support this state.
Scrolled =(4) |
The pointer scrolled.
For example, you can use this for tracking the scrolling of the mouse wheel.
Not all platforms support this state.