| changeset 0 | 40c8f766c9b8 |
| -1:000000000000 | 0:40c8f766c9b8 |
|---|---|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
3 <head> |
|
4 <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
5 <title>API: node-focusmanager (YUI Library)</title> |
|
6 |
|
7 <link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
8 <link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
9 |
|
10 <script type="text/javascript" src="assets/api-js"></script> |
|
11 <script type="text/javascript" src="assets/ac-js"></script> |
|
12 </head> |
|
13 |
|
14 <body id="yahoo-com"> |
|
15 |
|
16 <div id="doc3" class="yui-t2"> |
|
17 <div id="hd"> |
|
18 <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
19 <h3>node-focusmanager <span class="subtitle">3.0.0</span></h3> |
|
20 <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
21 > <a href="./module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a> |
|
22 |
|
23 |
|
24 <form onsubmit="return false"> |
|
25 <div id="propertysearch"> |
|
26 Search: <input autocomplete="off" id="searchinput" /> |
|
27 <div id="searchresults"> |
|
28 |
|
29 </div> |
|
30 </div> |
|
31 </form> |
|
32 </div> |
|
33 |
|
34 <div id="bd"> |
|
35 <div id="yui-main"> |
|
36 <div class="yui-b"> |
|
37 <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
38 <fieldset> |
|
39 <legend>Filters</legend> |
|
40 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
41 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
42 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
43 </fieldset> |
|
44 </form> |
|
45 |
|
46 |
|
47 <h3>Module: node-focusmanager |
|
48 |
|
49 |
|
50 |
|
51 </h3> |
|
52 <div class="description summary"> |
|
53 <p>The Focus Manager Node Plugin makes it easy to manage focus among |
|
54 a Node's descendants. Primarily intended to help with widget development, |
|
55 the Focus Manager Node Plugin can be used to improve the keyboard |
|
56 accessibility of widgets.</p> |
|
57 <p> |
|
58 When designing widgets that manage a set of descendant controls (i.e. buttons |
|
59 in a toolbar, tabs in a tablist, menuitems in a menu, etc.) it is important to |
|
60 limit the number of descendants in the browser's default tab flow. The fewer |
|
61 number of descendants in the default tab flow, the easier it is for keyboard |
|
62 users to navigate between widgets by pressing the tab key. When a widget has |
|
63 focus it should provide a set of shortcut keys (typically the arrow keys) |
|
64 to move focus among its descendants. |
|
65 </p> |
|
66 <p> |
|
67 To this end, the Focus Manager Node Plugin makes it easy to define a Node's |
|
68 focusable descendants, define which descendant should be in the default tab |
|
69 flow, and define the keys that move focus among each descendant. |
|
70 Additionally, as the CSS |
|
71 <a href="http://www.w3.org/TR/CSS21/selector.html#x38"><code>:focus</code></a> |
|
72 pseudo class is not supported on all elements in all |
|
73 <a href="http://developer.yahoo.com/yui/articles/gbs/">A-Grade browsers</a>, |
|
74 the Focus Manager Node Plugin provides an easy, cross-browser means of |
|
75 styling focus. |
|
76 </p> |
|
77 </div> |
|
78 |
|
79 |
|
80 |
|
81 <div class="yui-gc"> |
|
82 <div class="yui-u first"> |
|
83 |
|
84 <p>This module contains the following classes:</p> |
|
85 <script> |
|
86 //var YUI_CLASS_LIST = [{"extends": {"superclass": {}, "events": {}, "configs": {}, "properties": {}, "methods": {}}, "description": "The NodeFocusManager class is a plugin for a Node instance. The class is used \nvia the <a href=\"Node.html#method_plug\"><code>plug</code></a> method of Node \nand should not be instantiated directly.", "guessedname": "plugin.NodeFocusManager", "name": "plugin.NodeFocusManager"}]; |
|
87 </script> |
|
88 <div id="splash_classList"> |
|
89 <ul> |
|
90 <li><a href="plugin.NodeFocusManager.html" title="plugin.NodeFocusManager" id="class_0">plugin.NodeFocusManager</a></li> |
|
91 </ul> |
|
92 </div> |
|
93 </div> |
|
94 <div class="yui-u"> |
|
95 |
|
96 </div> |
|
97 </div> |
|
98 |
|
99 </div> |
|
100 </div> |
|
101 <div class="yui-b"> |
|
102 <div class="nav"> |
|
103 |
|
104 <div id="moduleList" class="module"> |
|
105 <h4>Modules</h4> |
|
106 <ul class="content"> |
|
107 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
108 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
109 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
110 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
111 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
112 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
113 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
114 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
115 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
116 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
117 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
118 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
119 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
120 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
121 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
122 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
123 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
124 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
125 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
126 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
127 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
128 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
129 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
130 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
131 <li class="selected"><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
132 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
133 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
134 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
135 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
136 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
137 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
138 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
139 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
140 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
141 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
142 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
143 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
144 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
145 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
146 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
147 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
148 </ul> |
|
149 </div> |
|
150 |
|
151 <div id="classList" class="module"> |
|
152 <h4>Classes</h4> |
|
153 <ul class="content"> |
|
154 <li class=""><a href="plugin.NodeFocusManager.html" title="plugin.NodeFocusManager">plugin.NodeFocusManager</a></li> |
|
155 </ul> |
|
156 </div> |
|
157 |
|
158 <div id="fileList" class="module"> |
|
159 <h4>Files</h4> |
|
160 <ul class="content"> |
|
161 <li class=""><a href="node-focusmanager.js.html" title="node-focusmanager.js">node-focusmanager.js</a></li> |
|
162 </ul> |
|
163 </div> |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 </div> |
|
170 </div> |
|
171 </div> |
|
172 <div id="ft"> |
|
173 <hr /> |
|
174 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
175 </div> |
|
176 </div> |
|
177 <script type="text/javascript"> |
|
178 ALL_YUI_PROPS = [{"access": "", "host": "plugin.NodeFocusManager", "name": "activeDescendant", "url": "plugin.NodeFocusManager.html#config_activeDescendant", "type": "config"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "activeDescendantChange", "url": "plugin.NodeFocusManager.html#event_activeDescendantChange", "type": "event"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_afterActiveDescendantChange", "url": "plugin.NodeFocusManager.html#method__afterActiveDescendantChange", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_attachKeyHandler", "url": "plugin.NodeFocusManager.html#method__attachKeyHandler", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "blur", "url": "plugin.NodeFocusManager.html#method_blur", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "circular", "url": "plugin.NodeFocusManager.html#config_circular", "type": "config"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "circularChange", "url": "plugin.NodeFocusManager.html#event_circularChange", "type": "event"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "descendants", "url": "plugin.NodeFocusManager.html#config_descendants", "type": "config"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "descendantsChange", "url": "plugin.NodeFocusManager.html#event_descendantsChange", "type": "event"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_detachEventHandlers", "url": "plugin.NodeFocusManager.html#method__detachEventHandlers", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_detachKeyHandler", "url": "plugin.NodeFocusManager.html#method__detachKeyHandler", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "focus", "url": "plugin.NodeFocusManager.html#method_focus", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "focusClass", "url": "plugin.NodeFocusManager.html#config_focusClass", "type": "config"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "focusClassChange", "url": "plugin.NodeFocusManager.html#event_focusClassChange", "type": "event"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "focused", "url": "plugin.NodeFocusManager.html#config_focused", "type": "config"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "focusedChange", "url": "plugin.NodeFocusManager.html#event_focusedChange", "type": "event"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_focusNext", "url": "plugin.NodeFocusManager.html#method__focusNext", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_focusPrevious", "url": "plugin.NodeFocusManager.html#method__focusPrevious", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_initDescendants", "url": "plugin.NodeFocusManager.html#method__initDescendants", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_isDescendant", "url": "plugin.NodeFocusManager.html#method__isDescendant", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "keys", "url": "plugin.NodeFocusManager.html#config_keys", "type": "config"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "keysChange", "url": "plugin.NodeFocusManager.html#event_keysChange", "type": "event"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_onDocFocus", "url": "plugin.NodeFocusManager.html#method__onDocFocus", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_onDocMouseDown", "url": "plugin.NodeFocusManager.html#method__onDocMouseDown", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_preventScroll", "url": "plugin.NodeFocusManager.html#method__preventScroll", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "refresh", "url": "plugin.NodeFocusManager.html#method_refresh", "type": "method"}, {"access": "protected", "host": "plugin.NodeFocusManager", "name": "_removeFocusClass", "url": "plugin.NodeFocusManager.html#method__removeFocusClass", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "start", "url": "plugin.NodeFocusManager.html#method_start", "type": "method"}, {"access": "", "host": "plugin.NodeFocusManager", "name": "stop", "url": "plugin.NodeFocusManager.html#method_stop", "type": "method"}]; |
|
179 </script> |
|
180 </body> |
|
181 </html> |