Kanzi  3.9.9
Kanzi Engine Java API
TouchState Enum Reference

Indicates the states of touch events. More...

Inheritance diagram for TouchState:
[legend]

Public Member Functions

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

Public Attributes

 Begin =(0)
 The first finger is down.
 
 End =(2)
 The last finger is up.
 
 Update =(1)
 A gesture or a touch event is in progress.
 

Detailed Description

Indicates the states of touch events.

Constructor & Destructor Documentation

TouchState ( int  value)

Constructs a TouchState of an integer value.

Parameters
valueInteger value to convert to enumeration constant.
TouchState ( TouchState  enum_)

Constructs a copy of a TouchState object.

Parameters
enum_TouchState to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static TouchState 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 TouchState 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.