Kanzi  3.9.9
Kanzi Engine Java API
FocusOnPress Enum Reference

Focus behavior on node press. More...

Inheritance diagram for FocusOnPress:
[legend]

Public Member Functions

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

Public Attributes

 Node =(1)
 Tries to set focus to the node that the user pressed and if that fails, does nothing.
 
 NodeOrAncestor =(2)
 Tries to set focus to the node that the user pressed and if that fails, sets focus to the nearest focusable ancestor of that node.
 
 NodeOrOverlay =(3)
 Tries to set focus to the node that the user pressed and if that fails, sets focus to the overlay scope that contains the node.
 
 None =(0)
 Does nothing.
 

Detailed Description

Focus behavior on node press.

Constructor & Destructor Documentation

FocusOnPress ( int  value)

Constructs a FocusOnPress of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

Constructs a copy of a FocusOnPress object.

Parameters
enum_FocusOnPress to be copy constructed.

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

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