Kanzi  3.9.7
Java API
FocusState Enum Reference

Specifies the focus states of a node. More...

Inheritance diagram for FocusState:
[legend]

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

 KeyboardFocus =(2)
 The node is the keyboard focus node of the application. More...
 
 KeyFocus =(2)
 The node is the key focus node of the application. More...
 
 LogicalFocus =(1)
 The node is the logical focus node. More...
 
 NoFocus =(0)
 Not focused. More...
 

Detailed Description

Specifies the focus states of a node.


Since
Kanzi 3.9.2

Member Function Documentation

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

static FocusState 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

KeyboardFocus =(2)

The node is the keyboard focus node of the application.

Kanzi delivers keyboard input to the keyboard focus node.
For a focus scope node this value means that one of the nodes in that scope is the
keyboard focus node of the application.
Deprecated In Kanzi 3.9.6. Use FocusState::KeyFocus instead.

KeyFocus =(2)

The node is the key focus node of the application.

Kanzi delivers key input to the key focus node.
For a focus scope node this value means that one of the nodes in that scope is the
key focus node of the application.

Since
Kanzi 3.9.6.
LogicalFocus =(1)

The node is the logical focus node.

The node had the key focus before the overlay, to which the node belongs, lost the focus.
When the overlay regains the focus, the logical focus node of that overlay becomes the key focus node.
For a focus scope node this value means that one of the nodes in
that scope is the logical focus node of an overlay.

NoFocus =(0)

Not focused.

This is the default value.
For a focus scope node this value means that none of the nodes in that scope is
the focus node of the overlay to which the scope belongs.