Kanzi 4.1.0
FocusFallback Enum Reference

Fallback behavior to follow if node fails to gain focus. More...

Inheritance diagram for FocusFallback:
[legend]

Public Member Functions

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

Public Attributes

 None =(0)
 Does not try to set focus to any node.
 
 Overlay =(2)
 Tries to set focus to the root node of the overlay focus scope.
 
 Parent =(1)
 Moves up the node tree, trying to set focus to the nearest ancestor node in the overlay focus scope.
 

Detailed Description

Fallback behavior to follow if node fails to gain focus.

Constructor & Destructor Documentation

◆ FocusFallback() [1/2]

FocusFallback ( int value)

Constructs a FocusFallback of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FocusFallback() [2/2]

Constructs a copy of a FocusFallback object.

Parameters
enum_FocusFallback 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 FocusFallback 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 FocusFallback 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

◆ Overlay

Overlay =(2)

Tries to set focus to the root node of the overlay focus scope.

The focus scope node forwards
the focus to a focusable child node.