Package | com.ghostwire.ui.managers |
Class | public class uiFocus |
uiFocus
manager manages tab focus management. You do not need to access this
class in your application (or even in component implementations); it is done automatically by the
Aspire UI Framework.
The Aspire UI Framework implements tab focus management automatically according to the way you nest
component instances within containers. Basically, the focus chain will intuitively follow the
containment hierarchy - hitting the TAB
key moves from one focusable component to the
next according to the child index hierarchy within its parent container. This means that you do not
need to assign the tabIndex
property. To exclude a component from the tab focus chain,
set its tabEnabled
property to false
.
uiFocus
cannot be instantiated via the new
operator. To access the singleton
instance, use uiFocus.manager
.
~ This class is available in Aspire UI Components Lite Edition ~
Property | Defined by | ||
---|---|---|---|
manager : uiFocus
[static][read-only]
Indicates the shared instance of the
uiFocus singleton class. | uiFocus |
Method | Defined by | ||
---|---|---|---|
disable():void
If for whatever reasons your application does not wish to use this focus manager, you can
disable it by calling
uiFocus.manager.disable() . | uiFocus |
manager | property |
manager:uiFocus
[read-only]
Indicates the shared instance of the uiFocus
singleton class.
public static function get manager():uiFocus
disable | () | method |
public function disable():void
If for whatever reasons your application does not wish to use this focus manager, you can
disable it by calling uiFocus.manager.disable()
. This is irreversible - once
you disable the manager, you cannot enable it.