Kanzi 3.9.10
FocusOnPress Enum Reference

Focus behavior on node press. More...

Inheritance diagram for FocusOnPress:
[legend]

Public Member Functions

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

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

FocusOnPress ( int value)

Constructs a FocusOnPress of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FocusOnPress() [2/2]

Constructs a copy of a FocusOnPress object.

Parameters
enum_FocusOnPress 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 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.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

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.