Pointer device button identifiers. More...
Public Member Functions | |
PointerButton (int value) | |
Constructs a PointerButton of an integer value. More... | |
PointerButton (PointerButton enum_) | |
Constructs a copy of a PointerButton 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 PointerButton | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static PointerButton | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
Extended1 =(8) | |
Identifies mouse Button 4. | |
Extended2 =(16) | |
Identifies mouse Button 5. | |
Left =(1) | |
Identifies the left mouse button. | |
Mid =(4) | |
Identifies the middle mouse button. | |
Right =(2) | |
Identifies the right mouse button. | |
Undefined =(0) | |
The pointer button is undefined. | |
Pointer device button identifiers.
PointerButton | ( | int | value | ) |
Constructs a PointerButton of an integer value.
value | Integer value to convert to enumeration constant. |
PointerButton | ( | PointerButton | enum_ | ) |
Constructs a copy of a PointerButton object.
enum_ | PointerButton 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. |