Kanzi 3.9.10
PointerState Enum Reference

Indicates the states of a pointing device. More...

Inheritance diagram for PointerState:
[legend]

Public Member Functions

 PointerState (int value)
 Constructs a PointerState of an integer value.
 
 PointerState (PointerState enum_)
 Constructs a copy of a PointerState 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 PointerState swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static PointerState toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 Dragged =(2)
 The pointer dragged.
 
 Moved =(1)
 The pointer moved.
 
 Pressed =(0)
 The pointer is pressed.
 
 Released =(3)
 The pointer is released.
 
 Scrolled =(4)
 The pointer scrolled.
 

Detailed Description

Indicates the states of a pointing device.

Constructor & Destructor Documentation

◆ PointerState() [1/2]

PointerState ( int value)

Constructs a PointerState of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ PointerState() [2/2]

Constructs a copy of a PointerState object.

Parameters
enum_PointerState 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 PointerState 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 PointerState 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.

Member Data Documentation

◆ Moved

Moved =(1)

The pointer moved.

Not all platforms support this state.
For example, many touch screens do not support this state.

◆ Scrolled

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.