View source
interface IFocusManager
package feathers.core
extends IEventDispatcher
extended by DefaultFocusManager
Manages focus of UI components.
Events:
openfl.events.Event.CLEAR | Dispatched when the focus manager is disposed. |
---|
Available since
1.0.0
.See also:
Variables
read onlyfocusPane:DisplayObjectContainer
A place for UI components to draw their focus indicators, if requested.
Available since
1.0.0
.read onlyshowFocusIndicator:Bool
Indicates if UI components should draw their focus indicators.
Available since
1.0.0
.Methods
dispose():Void
Disposes this focus manager. A focus manager should never be used again
after calling dispose()
. Must dispatch Event.CLEAR
when called.
Available since
1.0.0
.findNextFocus(backward:Bool = false):IFocusObject
Finds the next focus in the specified direction (forward or backward).
Available since
1.0.0
.