Kanzi  3.9.6
Java API
PointerState Enum Reference

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

Inheritance diagram for PointerState:
[legend]

Public Member Functions

 PointerState (int mValue)
 
 PointerState (PointerState enum_)
 
int getValue ()
 Returns the integer value of the enumeration constant. More...
 
final int swigValue ()
 

Static Public Member Functions

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

Public Attributes

 Dragged
 The pointer dragged.
 
 Moved
 The pointer moved. More...
 
 Pressed
 The pointer is pressed.
 
 Released
 The pointer is released.
 

Detailed Description

Indicates the states of a pointing device.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ 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

The pointer moved.

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