+
+
+ + _afterActiveDescendantChange
+
+
+
+ protected
+
+
+ void
+ _afterActiveDescendantChange
+ (
+
+
+ event
+
+
+ )
+
+
+
+ afterChange event handler for the
+"activeDescendant" attribute.
+
+
+
+
+
+
+ -
+
- Parameters: +
-
+
event + <Object> ++ Object representing the change event. +
+
-
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _attachKeyHandler
+
+
+
+ protected
+
+
+ void
+ _attachKeyHandler
+ (
+ )
+
+
+
+ Attaches the "key" event handlers used to support the "keys"
+attribute.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _detachEventHandlers
+
+
+
+ protected
+
+
+ void
+ _detachEventHandlers
+ (
+ )
+
+
+
+ Detaches all event handlers used by the Focus Manager.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _detachKeyHandler
+
+
+
+ protected
+
+
+ void
+ _detachKeyHandler
+ (
+ )
+
+
+
+ Detaches the "key" event handlers used to support the "keys"
+attribute.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _focusNext
+
+
+
+ protected
+
+
+ void
+ _focusNext
+ (
+
+
+ event
+
+
+ ,
+ activeDescendant
+
+
+ )
+
+
+
+ Keydown event handler that moves focus to the next
+enabled descendant.
+
+
+
+
+
+
+ -
+
- Parameters: +
-
+
event + <Object> ++ Object representing the DOM event. +
+ -
+
activeDescendant + <Number> ++ Number representing the index of the +next descendant to be focused +
+
-
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _focusPrevious
+
+
+
+ protected
+
+
+ void
+ _focusPrevious
+ (
+
+
+ event
+
+
+ ,
+ activeDescendant
+
+
+ )
+
+
+
+ Keydown event handler that moves focus to the previous
+enabled descendant.
+
+
+
+
+
+
+ -
+
- Parameters: +
-
+
event + <Object> ++ Object representing the DOM event. +
+ -
+
activeDescendant + <Number> ++ Number representing the index of the +next descendant to be focused. +
+
-
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _initDescendants
+
+
+
+ protected
+
+
+ void
+ _initDescendants
+ (
+ )
+
+
+
+ Sets the
+
+ tabIndex attribute of all of the
+descendants to -1, except the active descendant, whose
+tabIndex attribute is set to 0.
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _isDescendant
+
+
+
+ protected
+
+
+ Boolean
+ _isDescendant
+ (
+
+
+ node
+
+
+ )
+
+
+
+ Determines if the specified Node instance is a descendant
+managed by the Focus Manager.
+
+
+
+
+
+
+ -
+
- Parameters: +
-
+
node + <Node> ++ Node instance to be checked. +
+
-
+
- Returns:
+
+ Boolean +
+ - Boolean indicating if the specified Node instance is a +descendant managed by the Focus Manager. +
+
+
+
+ + _onDocFocus
+
+
+
+ protected
+
+
+ void
+ _onDocFocus
+ (
+
+
+ event
+
+
+ )
+
+
+
+ "focus" event handler for the owner document of the
+Focus Manager's Node.
+
+
+
+
+
+
+ -
+
- Parameters: +
-
+
event + <Object> ++ Object representing the DOM event. +
+
-
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _onDocMouseDown
+
+
+
+ protected
+
+
+ void
+ _onDocMouseDown
+ (
+
+
+ event
+
+
+ )
+
+
+
+ "mousedown" event handler for the owner document of the
+Focus Manager's Node.
+
+
+
+
+
+
+ -
+
- Parameters: +
-
+
event + <Object> ++ Object representing the DOM event. +
+
-
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _preventScroll
+
+
+
+ protected
+
+
+ void
+ _preventScroll
+ (
+ )
+
+
+
+ Prevents the viewport from scolling when the user presses
+the up, down, left, or right key.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + _removeFocusClass
+
+
+
+ protected
+
+
+ void
+ _removeFocusClass
+ (
+ )
+
+
+
+ Removes the class name representing focus (as specified by
+the "focusClass" attribute) from the Node instance to which it is
+currently applied.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + blur
+
+
+
+
+
+
+ void
+ blur
+ (
+ )
+
+
+
+ Blurs the current active descendant and sets the
+
+
+ focused attribute to false.
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + focus
+
+
+
+
+
+
+ void
+ focus
+ (
+
+
+ index
+
+
+
+
+ )
+
+
+
+ Focuses the active descendant and sets the
+
+
+ focused attribute to true.
+
+
+
+
+ -
+
- Parameters: +
-
+
index + <Number> ++ Optional. Number representing the index of the +descendant to be set as the active descendant. +
+ -
+
index + <Node> ++ Optional. Node instance representing the +descendant to be set as the active descendant. +
+
-
+
- Returns:
+
+ void +
+
+
+
+
+
+ + refresh
+
+
+
+
+
+
+ void
+ refresh
+ (
+ )
+
+
+
+ Refreshes the Focus Manager's descendants by re-executing the
+CSS selector query specified by the
+
+ descendants attribute.
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + start
+
+
+
+
+
+
+ void
+ start
+ (
+ )
+
+
+
+ Enables the Focus Manager.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+
+
+
+ + stop
+
+
+
+
+
+
+ void
+ stop
+ (
+ )
+
+
+
+ Disables the Focus Manager by detaching all event handlers.
+
+
+
+
+
+
+
+ -
+
- Returns:
+
+ void +
+
+
+