Kanzi  3.9.9
Kanzi Engine Java API
PointerButton Enum Reference

Pointer device button identifiers. More...

Inheritance diagram for PointerButton:
[legend]

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.
 

Detailed Description

Pointer device button identifiers.

Constructor & Destructor Documentation

PointerButton ( int  value)

Constructs a PointerButton of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a PointerButton object.

Parameters
enum_PointerButton to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static PointerButton swigToEnum ( int  swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.
final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.
static PointerButton toEnum ( int  value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.