Kanzi 3.9.10
FocusScopeType Enum Reference

Specifies focus scope types. More...

Inheritance diagram for FocusScopeType:
[legend]

Public Member Functions

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

Public Attributes

 AutoClosingModal =(4)
 Auto-closing modal overlay is similar to modal overlay, except that when the overlay is an Activity in a
Parallel Activity Host, the Parallel Activity Host deactivates that Activity when input originates from outside
the boundaries of that Activity.
 
 AutoClosingModeless =(6)
 Auto-closing modeless overlay is similar to modeless overlay, except that when the overlay is an
Activity in a Parallel Activity Host, the Parallel Activity Host deactivates that Activity when input
originates from outside the boundaries of that Activity.
 
 Fence =(2)
 Focus fence keeps the focus navigation inside the scope and does not allow the focus navigation to enter
or leave that scope.
 
 Group =(1)
 Focus group groups focusable nodes.
 
 Modal =(3)
 Modal overlay blocks the key and touch input that originates from outside its boundaries and keeps the
focus navigation within the overlay boundaries, just like a focus fence.
 
 Modeless =(5)
 Modeless overlay propagates the key and touch input that originates from outside its boundaries, but
keeps the focus navigation within the focus scope boundaries, just like a modal overlay.
 
 NoScope =(0)
 Removes previously set focus scope data from a Node or focus scope info.
 
 Popup =(4)
 Sets a node to be a popup overlay focus scope.
 

Detailed Description

Specifies focus scope types.

Constructor & Destructor Documentation

◆ FocusScopeType() [1/2]

FocusScopeType ( int value)

Constructs a FocusScopeType of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FocusScopeType() [2/2]

Constructs a copy of a FocusScopeType object.

Parameters
enum_FocusScopeType 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 FocusScopeType 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 FocusScopeType 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

◆ AutoClosingModal

AutoClosingModal =(4)

Auto-closing modal overlay is similar to modal overlay, except that when the overlay is an Activity in a
Parallel Activity Host, the Parallel Activity Host deactivates that Activity when input originates from outside
the boundaries of that Activity.



When input occurs outside the boundaries of an auto-closing modal focus scope, Kanzi dispatches the
FocusManager::InputOutsideOverlayMessage to the focus scope node, and suppresses that input. A Parallel
Activity Host automatically handles the InputOutsideOverlayMessage message sent by an Activity which is an
auto-closing modal overlay.

◆ AutoClosingModeless

AutoClosingModeless =(6)

Auto-closing modeless overlay is similar to modeless overlay, except that when the overlay is an
Activity in a Parallel Activity Host, the Parallel Activity Host deactivates that Activity when input
originates from outside the boundaries of that Activity.



When input occurs outside the boundaries of an auto-closing modeless focus scope, Kanzi dispatches the
FocusManager::InputOutsideOverlayMessage to the focus scope node. A Parallel Activity Host automatically
handles the InputOutsideOverlayMessage message sent by an Activity which is an auto-closing modeless overlay.

◆ Group

Group =(1)

Focus group groups focusable nodes.

You can move the focus to a focus group and out of the focus group.

◆ Modal

Modal =(3)

Modal overlay blocks the key and touch input that originates from outside its boundaries and keeps the
focus navigation within the overlay boundaries, just like a focus fence.

Every Kanzi application has at least
one modal overlay: the Screen node.

When input occurs outside the boundaries of a modal focus scope, Kanzi dispatches the
FocusManager::InputOutsideOverlayMessage to the focus scope node.

◆ Modeless

Modeless =(5)

Modeless overlay propagates the key and touch input that originates from outside its boundaries, but
keeps the focus navigation within the focus scope boundaries, just like a modal overlay.



When input occurs outside the boundaries of a modeless focus scope, Kanzi dispatches the
FocusManager::InputOutsideOverlayMessage to the focus scope node.

◆ NoScope

NoScope =(0)

Removes previously set focus scope data from a Node or focus scope info.

Kanzi uses this value internally.

◆ Popup

Popup =(4)

Sets a node to be a popup overlay focus scope.


Deprecated In Kanzi 3.9.2. Use FocusScopeType::AutoClosingModal instead.