Kanzi 3.9.10
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.
 
 PointerButton (PointerButton enum_)
 Constructs a copy of a PointerButton object.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static PointerButton swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static PointerButton toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

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() [1/2]

PointerButton ( int value)

Constructs a PointerButton of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ PointerButton() [2/2]

Constructs a copy of a PointerButton object.

Parameters
enum_PointerButton to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.