Class FocusManager
Object
|
+--FocusManager
- class
FocusManager
Defined in focus_manager.js
FocusManager
function FocusManager()
getActiveWidget
Widget getActiveWidget()
Returns the currently active widget. Returns null if no
widget is currently active.
Returns:
the currently active widget
setActiveWidget
void setActiveWidget(<Widget> widget)
Sets the active widget to widget. Does nothing if
widget is already the active widget. Calls
blur() on the previously active widget if it wasn't
null and focus() on the newly active widget if
it's not null.
Parameters:
widget - the widget to make active or null to make no widget active
