|
1 <!DOCTYPE html> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta charset="utf-8"> |
|
5 <title>ToggleButton - YUI 3</title> |
|
6 <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> |
|
7 <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> |
|
8 <link rel="stylesheet" href="../assets/css/main.css" id="site_styles"> |
|
9 <link rel="shortcut icon" type="image/png" href="../assets/favicon.png"> |
|
10 <script src="http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js"></script> |
|
11 </head> |
|
12 <body class="yui3-skin-sam"> |
|
13 |
|
14 <div id="doc"> |
|
15 <div id="hd" class="yui3-g header"> |
|
16 <div class="yui3-u-3-4"> |
|
17 |
|
18 <h1><img src="../assets/css/logo.png" title="YUI 3"></h1> |
|
19 |
|
20 </div> |
|
21 <div class="yui3-u-1-4 version"> |
|
22 <em>API Docs for: 3.10.3</em> |
|
23 </div> |
|
24 </div> |
|
25 <div id="bd" class="yui3-g"> |
|
26 |
|
27 <div class="yui3-u-1-4"> |
|
28 <div id="docs-sidebar" class="sidebar apidocs"> |
|
29 <div id="api-list"> |
|
30 <h2 class="off-left">APIs</h2> |
|
31 <div id="api-tabview" class="tabview"> |
|
32 <ul class="tabs"> |
|
33 <li><a href="#api-classes">Classes</a></li> |
|
34 <li><a href="#api-modules">Modules</a></li> |
|
35 </ul> |
|
36 |
|
37 <div id="api-tabview-filter"> |
|
38 <input type="search" id="api-filter" placeholder="Type to filter APIs"> |
|
39 </div> |
|
40 |
|
41 <div id="api-tabview-panel"> |
|
42 <ul id="api-classes" class="apis classes"> |
|
43 |
|
44 <li><a href="../classes/Anim.html">Anim</a></li> |
|
45 |
|
46 <li><a href="../classes/App.html">App</a></li> |
|
47 |
|
48 <li><a href="../classes/App.Base.html">App.Base</a></li> |
|
49 |
|
50 <li><a href="../classes/App.Content.html">App.Content</a></li> |
|
51 |
|
52 <li><a href="../classes/App.Transitions.html">App.Transitions</a></li> |
|
53 |
|
54 <li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li> |
|
55 |
|
56 <li><a href="../classes/AreaSeries.html">AreaSeries</a></li> |
|
57 |
|
58 <li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li> |
|
59 |
|
60 <li><a href="../classes/Array.html">Array</a></li> |
|
61 |
|
62 <li><a href="../classes/ArrayList.html">ArrayList</a></li> |
|
63 |
|
64 <li><a href="../classes/ArraySort.html">ArraySort</a></li> |
|
65 |
|
66 <li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li> |
|
67 |
|
68 <li><a href="../classes/Attribute.html">Attribute</a></li> |
|
69 |
|
70 <li><a href="../classes/AttributeCore.html">AttributeCore</a></li> |
|
71 |
|
72 <li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li> |
|
73 |
|
74 <li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li> |
|
75 |
|
76 <li><a href="../classes/AttributeLite.html">AttributeLite</a></li> |
|
77 |
|
78 <li><a href="../classes/AttributeObservable.html">AttributeObservable</a></li> |
|
79 |
|
80 <li><a href="../classes/AutoComplete.html">AutoComplete</a></li> |
|
81 |
|
82 <li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li> |
|
83 |
|
84 <li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li> |
|
85 |
|
86 <li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li> |
|
87 |
|
88 <li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li> |
|
89 |
|
90 <li><a href="../classes/Axis.html">Axis</a></li> |
|
91 |
|
92 <li><a href="../classes/AxisBase.html">AxisBase</a></li> |
|
93 |
|
94 <li><a href="../classes/BarSeries.html">BarSeries</a></li> |
|
95 |
|
96 <li><a href="../classes/Base.html">Base</a></li> |
|
97 |
|
98 <li><a href="../classes/BaseCore.html">BaseCore</a></li> |
|
99 |
|
100 <li><a href="../classes/BaseObservable.html">BaseObservable</a></li> |
|
101 |
|
102 <li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li> |
|
103 |
|
104 <li><a href="../classes/Button.html">Button</a></li> |
|
105 |
|
106 <li><a href="../classes/ButtonCore.html">ButtonCore</a></li> |
|
107 |
|
108 <li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li> |
|
109 |
|
110 <li><a href="../classes/Cache.html">Cache</a></li> |
|
111 |
|
112 <li><a href="../classes/CacheOffline.html">CacheOffline</a></li> |
|
113 |
|
114 <li><a href="../classes/Calendar.html">Calendar</a></li> |
|
115 |
|
116 <li><a href="../classes/CalendarBase.html">CalendarBase</a></li> |
|
117 |
|
118 <li><a href="../classes/CandlestickSeries.html">CandlestickSeries</a></li> |
|
119 |
|
120 <li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li> |
|
121 |
|
122 <li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li> |
|
123 |
|
124 <li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li> |
|
125 |
|
126 <li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li> |
|
127 |
|
128 <li><a href="../classes/CanvasPath.html">CanvasPath</a></li> |
|
129 |
|
130 <li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li> |
|
131 |
|
132 <li><a href="../classes/CanvasRect.html">CanvasRect</a></li> |
|
133 |
|
134 <li><a href="../classes/CanvasShape.html">CanvasShape</a></li> |
|
135 |
|
136 <li><a href="../classes/CartesianChart.html">CartesianChart</a></li> |
|
137 |
|
138 <li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li> |
|
139 |
|
140 <li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li> |
|
141 |
|
142 <li><a href="../classes/CategoryAxisBase.html">CategoryAxisBase</a></li> |
|
143 |
|
144 <li><a href="../classes/CategoryImpl.html">CategoryImpl</a></li> |
|
145 |
|
146 <li><a href="../classes/Chart.html">Chart</a></li> |
|
147 |
|
148 <li><a href="../classes/ChartBase.html">ChartBase</a></li> |
|
149 |
|
150 <li><a href="../classes/ChartLegend.html">ChartLegend</a></li> |
|
151 |
|
152 <li><a href="../classes/Circle.html">Circle</a></li> |
|
153 |
|
154 <li><a href="../classes/CircleGroup.html">CircleGroup</a></li> |
|
155 |
|
156 <li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li> |
|
157 |
|
158 <li><a href="../classes/ClickableRail.html">ClickableRail</a></li> |
|
159 |
|
160 <li><a href="../classes/Color.html">Color</a></li> |
|
161 |
|
162 <li><a href="../classes/Color.Harmony.html">Color.Harmony</a></li> |
|
163 |
|
164 <li><a href="../classes/Color.HSL.html">Color.HSL</a></li> |
|
165 |
|
166 <li><a href="../classes/Color.HSV.html">Color.HSV</a></li> |
|
167 |
|
168 <li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li> |
|
169 |
|
170 <li><a href="../classes/ComboSeries.html">ComboSeries</a></li> |
|
171 |
|
172 <li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li> |
|
173 |
|
174 <li><a href="../classes/config.html">config</a></li> |
|
175 |
|
176 <li><a href="../classes/Console.html">Console</a></li> |
|
177 |
|
178 <li><a href="../classes/Controller.html">Controller</a></li> |
|
179 |
|
180 <li><a href="../classes/Cookie.html">Cookie</a></li> |
|
181 |
|
182 <li><a href="../classes/CurveUtil.html">CurveUtil</a></li> |
|
183 |
|
184 <li><a href="../classes/CustomEvent.html">CustomEvent</a></li> |
|
185 |
|
186 <li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li> |
|
187 |
|
188 <li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li> |
|
189 |
|
190 <li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li> |
|
191 |
|
192 <li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li> |
|
193 |
|
194 <li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li> |
|
195 |
|
196 <li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li> |
|
197 |
|
198 <li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li> |
|
199 |
|
200 <li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li> |
|
201 |
|
202 <li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li> |
|
203 |
|
204 <li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li> |
|
205 |
|
206 <li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li> |
|
207 |
|
208 <li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li> |
|
209 |
|
210 <li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li> |
|
211 |
|
212 <li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li> |
|
213 |
|
214 <li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li> |
|
215 |
|
216 <li><a href="../classes/DataTable.html">DataTable</a></li> |
|
217 |
|
218 <li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li> |
|
219 |
|
220 <li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li> |
|
221 |
|
222 <li><a href="../classes/DataTable.BodyView.Formatters.html">DataTable.BodyView.Formatters</a></li> |
|
223 |
|
224 <li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li> |
|
225 |
|
226 <li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li> |
|
227 |
|
228 <li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li> |
|
229 |
|
230 <li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li> |
|
231 |
|
232 <li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li> |
|
233 |
|
234 <li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li> |
|
235 |
|
236 <li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li> |
|
237 |
|
238 <li><a href="../classes/DataTable.TableView.html">DataTable.TableView</a></li> |
|
239 |
|
240 <li><a href="../classes/Date.html">Date</a></li> |
|
241 |
|
242 <li><a href="../classes/DD.DDM.html">DD.DDM</a></li> |
|
243 |
|
244 <li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li> |
|
245 |
|
246 <li><a href="../classes/DD.Drag.html">DD.Drag</a></li> |
|
247 |
|
248 <li><a href="../classes/DD.Drop.html">DD.Drop</a></li> |
|
249 |
|
250 <li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li> |
|
251 |
|
252 <li><a href="../classes/Dial.html">Dial</a></li> |
|
253 |
|
254 <li><a href="../classes/Do.html">Do</a></li> |
|
255 |
|
256 <li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li> |
|
257 |
|
258 <li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li> |
|
259 |
|
260 <li><a href="../classes/Do.Error.html">Do.Error</a></li> |
|
261 |
|
262 <li><a href="../classes/Do.Halt.html">Do.Halt</a></li> |
|
263 |
|
264 <li><a href="../classes/Do.Method.html">Do.Method</a></li> |
|
265 |
|
266 <li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li> |
|
267 |
|
268 <li><a href="../classes/DOM.html">DOM</a></li> |
|
269 |
|
270 <li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li> |
|
271 |
|
272 <li><a href="../classes/Drawing.html">Drawing</a></li> |
|
273 |
|
274 <li><a href="../classes/Easing.html">Easing</a></li> |
|
275 |
|
276 <li><a href="../classes/EditorBase.html">EditorBase</a></li> |
|
277 |
|
278 <li><a href="../classes/EditorSelection.html">EditorSelection</a></li> |
|
279 |
|
280 <li><a href="../classes/Ellipse.html">Ellipse</a></li> |
|
281 |
|
282 <li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li> |
|
283 |
|
284 <li><a href="../classes/Escape.html">Escape</a></li> |
|
285 |
|
286 <li><a href="../classes/Event.html">Event</a></li> |
|
287 |
|
288 <li><a href="../classes/EventFacade.html">EventFacade</a></li> |
|
289 |
|
290 <li><a href="../classes/EventHandle.html">EventHandle</a></li> |
|
291 |
|
292 <li><a href="../classes/EventTarget.html">EventTarget</a></li> |
|
293 |
|
294 <li><a href="../classes/ExecCommand.html">ExecCommand</a></li> |
|
295 |
|
296 <li><a href="../classes/Features.html">Features</a></li> |
|
297 |
|
298 <li><a href="../classes/File.html">File</a></li> |
|
299 |
|
300 <li><a href="../classes/FileFlash.html">FileFlash</a></li> |
|
301 |
|
302 <li><a href="../classes/FileHTML5.html">FileHTML5</a></li> |
|
303 |
|
304 <li><a href="../classes/Fills.html">Fills</a></li> |
|
305 |
|
306 <li><a href="../classes/Frame.html">Frame</a></li> |
|
307 |
|
308 <li><a href="../classes/Get.html">Get</a></li> |
|
309 |
|
310 <li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li> |
|
311 |
|
312 <li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li> |
|
313 |
|
314 <li><a href="../classes/Graph.html">Graph</a></li> |
|
315 |
|
316 <li><a href="../classes/Graphic.html">Graphic</a></li> |
|
317 |
|
318 <li><a href="../classes/GraphicBase.html">GraphicBase</a></li> |
|
319 |
|
320 <li><a href="../classes/Gridlines.html">Gridlines</a></li> |
|
321 |
|
322 <li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li> |
|
323 |
|
324 <li><a href="../classes/GroupRect.html">GroupRect</a></li> |
|
325 |
|
326 <li><a href="../classes/Handlebars.html">Handlebars</a></li> |
|
327 |
|
328 <li><a href="../classes/Highlight.html">Highlight</a></li> |
|
329 |
|
330 <li><a href="../classes/Histogram.html">Histogram</a></li> |
|
331 |
|
332 <li><a href="../classes/HistoryBase.html">HistoryBase</a></li> |
|
333 |
|
334 <li><a href="../classes/HistoryHash.html">HistoryHash</a></li> |
|
335 |
|
336 <li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li> |
|
337 |
|
338 <li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li> |
|
339 |
|
340 <li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li> |
|
341 |
|
342 <li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li> |
|
343 |
|
344 <li><a href="../classes/Intl.html">Intl</a></li> |
|
345 |
|
346 <li><a href="../classes/IO.html">IO</a></li> |
|
347 |
|
348 <li><a href="../classes/JSON.html">JSON</a></li> |
|
349 |
|
350 <li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li> |
|
351 |
|
352 <li><a href="../classes/Lang.html">Lang</a></li> |
|
353 |
|
354 <li><a href="../classes/LazyModelList.html">LazyModelList</a></li> |
|
355 |
|
356 <li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li> |
|
357 |
|
358 <li><a href="../classes/Lines.html">Lines</a></li> |
|
359 |
|
360 <li><a href="../classes/LineSeries.html">LineSeries</a></li> |
|
361 |
|
362 <li><a href="../classes/Loader.html">Loader</a></li> |
|
363 |
|
364 <li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li> |
|
365 |
|
366 <li><a href="../classes/Matrix.html">Matrix</a></li> |
|
367 |
|
368 <li><a href="../classes/MatrixUtil.html">MatrixUtil</a></li> |
|
369 |
|
370 <li><a href="../classes/Model.html">Model</a></li> |
|
371 |
|
372 <li><a href="../classes/ModelList.html">ModelList</a></li> |
|
373 |
|
374 <li><a href="../classes/ModelSync.REST.html">ModelSync.REST</a></li> |
|
375 |
|
376 <li><a href="../classes/Node.html">Node</a></li> |
|
377 |
|
378 <li><a href="../classes/NodeList.html">NodeList</a></li> |
|
379 |
|
380 <li><a href="../classes/Number.html">Number</a></li> |
|
381 |
|
382 <li><a href="../classes/NumericAxis.html">NumericAxis</a></li> |
|
383 |
|
384 <li><a href="../classes/NumericAxisBase.html">NumericAxisBase</a></li> |
|
385 |
|
386 <li><a href="../classes/NumericImpl.html">NumericImpl</a></li> |
|
387 |
|
388 <li><a href="../classes/Object.html">Object</a></li> |
|
389 |
|
390 <li><a href="../classes/OHLCSeries.html">OHLCSeries</a></li> |
|
391 |
|
392 <li><a href="../classes/Overlay.html">Overlay</a></li> |
|
393 |
|
394 <li><a href="../classes/Panel.html">Panel</a></li> |
|
395 |
|
396 <li><a href="../classes/Parallel.html">Parallel</a></li> |
|
397 |
|
398 <li><a href="../classes/Path.html">Path</a></li> |
|
399 |
|
400 <li><a href="../classes/PieChart.html">PieChart</a></li> |
|
401 |
|
402 <li><a href="../classes/PieSeries.html">PieSeries</a></li> |
|
403 |
|
404 <li><a href="../classes/Pjax.html">Pjax</a></li> |
|
405 |
|
406 <li><a href="../classes/PjaxBase.html">PjaxBase</a></li> |
|
407 |
|
408 <li><a href="../classes/PjaxContent.html">PjaxContent</a></li> |
|
409 |
|
410 <li><a href="../classes/Plots.html">Plots</a></li> |
|
411 |
|
412 <li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li> |
|
413 |
|
414 <li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li> |
|
415 |
|
416 <li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li> |
|
417 |
|
418 <li><a href="../classes/Plugin.Button.html">Plugin.Button</a></li> |
|
419 |
|
420 <li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li> |
|
421 |
|
422 <li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li> |
|
423 |
|
424 <li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li> |
|
425 |
|
426 <li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li> |
|
427 |
|
428 <li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li> |
|
429 |
|
430 <li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li> |
|
431 |
|
432 <li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li> |
|
433 |
|
434 <li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li> |
|
435 |
|
436 <li><a href="../classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</a></li> |
|
437 |
|
438 <li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li> |
|
439 |
|
440 <li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li> |
|
441 |
|
442 <li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li> |
|
443 |
|
444 <li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li> |
|
445 |
|
446 <li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li> |
|
447 |
|
448 <li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li> |
|
449 |
|
450 <li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li> |
|
451 |
|
452 <li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li> |
|
453 |
|
454 <li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li> |
|
455 |
|
456 <li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li> |
|
457 |
|
458 <li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li> |
|
459 |
|
460 <li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li> |
|
461 |
|
462 <li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li> |
|
463 |
|
464 <li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li> |
|
465 |
|
466 <li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li> |
|
467 |
|
468 <li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li> |
|
469 |
|
470 <li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li> |
|
471 |
|
472 <li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li> |
|
473 |
|
474 <li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li> |
|
475 |
|
476 <li><a href="../classes/Plugin.ScrollInfo.html">Plugin.ScrollInfo</a></li> |
|
477 |
|
478 <li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li> |
|
479 |
|
480 <li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li> |
|
481 |
|
482 <li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li> |
|
483 |
|
484 <li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li> |
|
485 |
|
486 <li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li> |
|
487 |
|
488 <li><a href="../classes/Plugin.Tree.Lazy.html">Plugin.Tree.Lazy</a></li> |
|
489 |
|
490 <li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li> |
|
491 |
|
492 <li><a href="../classes/Pollable.html">Pollable</a></li> |
|
493 |
|
494 <li><a href="../classes/Promise.html">Promise</a></li> |
|
495 |
|
496 <li><a href="../classes/Promise.Resolver.html">Promise.Resolver</a></li> |
|
497 |
|
498 <li><a href="../classes/QueryString.html">QueryString</a></li> |
|
499 |
|
500 <li><a href="../classes/Queue.html">Queue</a></li> |
|
501 |
|
502 <li><a href="../classes/RangeSeries.html">RangeSeries</a></li> |
|
503 |
|
504 <li><a href="../classes/Record.html">Record</a></li> |
|
505 |
|
506 <li><a href="../classes/Recordset.html">Recordset</a></li> |
|
507 |
|
508 <li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li> |
|
509 |
|
510 <li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li> |
|
511 |
|
512 <li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li> |
|
513 |
|
514 <li><a href="../classes/Rect.html">Rect</a></li> |
|
515 |
|
516 <li><a href="../classes/Renderer.html">Renderer</a></li> |
|
517 |
|
518 <li><a href="../classes/Resize.html">Resize</a></li> |
|
519 |
|
520 <li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li> |
|
521 |
|
522 <li><a href="../classes/Router.html">Router</a></li> |
|
523 |
|
524 <li><a href="../classes/ScrollView.html">ScrollView</a></li> |
|
525 |
|
526 <li><a href="../classes/Selector.html">Selector</a></li> |
|
527 |
|
528 <li><a href="../classes/SeriesBase.html">SeriesBase</a></li> |
|
529 |
|
530 <li><a href="../classes/Shape.html">Shape</a></li> |
|
531 |
|
532 <li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li> |
|
533 |
|
534 <li><a href="../classes/Slider.html">Slider</a></li> |
|
535 |
|
536 <li><a href="../classes/SliderBase.html">SliderBase</a></li> |
|
537 |
|
538 <li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li> |
|
539 |
|
540 <li><a href="../classes/soon.html">soon</a></li> |
|
541 |
|
542 <li><a href="../classes/Sortable.html">Sortable</a></li> |
|
543 |
|
544 <li><a href="../classes/SplineSeries.html">SplineSeries</a></li> |
|
545 |
|
546 <li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li> |
|
547 |
|
548 <li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li> |
|
549 |
|
550 <li><a href="../classes/StackedAxis.html">StackedAxis</a></li> |
|
551 |
|
552 <li><a href="../classes/StackedAxisBase.html">StackedAxisBase</a></li> |
|
553 |
|
554 <li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li> |
|
555 |
|
556 <li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li> |
|
557 |
|
558 <li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li> |
|
559 |
|
560 <li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li> |
|
561 |
|
562 <li><a href="../classes/StackedImpl.html">StackedImpl</a></li> |
|
563 |
|
564 <li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li> |
|
565 |
|
566 <li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li> |
|
567 |
|
568 <li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li> |
|
569 |
|
570 <li><a href="../classes/StackingUtil.html">StackingUtil</a></li> |
|
571 |
|
572 <li><a href="../classes/State.html">State</a></li> |
|
573 |
|
574 <li><a href="../classes/StyleSheet.html">StyleSheet</a></li> |
|
575 |
|
576 <li><a href="../classes/Subscriber.html">Subscriber</a></li> |
|
577 |
|
578 <li><a href="../classes/SVGCircle.html">SVGCircle</a></li> |
|
579 |
|
580 <li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li> |
|
581 |
|
582 <li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li> |
|
583 |
|
584 <li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li> |
|
585 |
|
586 <li><a href="../classes/SVGPath.html">SVGPath</a></li> |
|
587 |
|
588 <li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li> |
|
589 |
|
590 <li><a href="../classes/SVGRect.html">SVGRect</a></li> |
|
591 |
|
592 <li><a href="../classes/SVGShape.html">SVGShape</a></li> |
|
593 |
|
594 <li><a href="../classes/SWF.html">SWF</a></li> |
|
595 |
|
596 <li><a href="../classes/SWFDetect.html">SWFDetect</a></li> |
|
597 |
|
598 <li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li> |
|
599 |
|
600 <li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li> |
|
601 |
|
602 <li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li> |
|
603 |
|
604 <li><a href="../classes/Tab.html">Tab</a></li> |
|
605 |
|
606 <li><a href="../classes/TabView.html">TabView</a></li> |
|
607 |
|
608 <li><a href="../classes/Template.html">Template</a></li> |
|
609 |
|
610 <li><a href="../classes/Template.Micro.html">Template.Micro</a></li> |
|
611 |
|
612 <li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li> |
|
613 |
|
614 <li><a href="../classes/Test.Assert.html">Test.Assert</a></li> |
|
615 |
|
616 <li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li> |
|
617 |
|
618 <li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li> |
|
619 |
|
620 <li><a href="../classes/Test.Console.html">Test.Console</a></li> |
|
621 |
|
622 <li><a href="../classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li> |
|
623 |
|
624 <li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li> |
|
625 |
|
626 <li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li> |
|
627 |
|
628 <li><a href="../classes/Test.Mock.html">Test.Mock</a></li> |
|
629 |
|
630 <li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li> |
|
631 |
|
632 <li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li> |
|
633 |
|
634 <li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li> |
|
635 |
|
636 <li><a href="../classes/Test.Results.html">Test.Results</a></li> |
|
637 |
|
638 <li><a href="../classes/Test.Runner.html">Test.Runner</a></li> |
|
639 |
|
640 <li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li> |
|
641 |
|
642 <li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li> |
|
643 |
|
644 <li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li> |
|
645 |
|
646 <li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li> |
|
647 |
|
648 <li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li> |
|
649 |
|
650 <li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li> |
|
651 |
|
652 <li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li> |
|
653 |
|
654 <li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li> |
|
655 |
|
656 <li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li> |
|
657 |
|
658 <li><a href="../classes/Test.Wait.html">Test.Wait</a></li> |
|
659 |
|
660 <li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li> |
|
661 |
|
662 <li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li> |
|
663 |
|
664 <li><a href="../classes/TimeAxis.html">TimeAxis</a></li> |
|
665 |
|
666 <li><a href="../classes/TimeAxisBase.html">TimeAxisBase</a></li> |
|
667 |
|
668 <li><a href="../classes/TimeImpl.html">TimeImpl</a></li> |
|
669 |
|
670 <li><a href="../classes/ToggleButton.html">ToggleButton</a></li> |
|
671 |
|
672 <li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li> |
|
673 |
|
674 <li><a href="../classes/Transition.html">Transition</a></li> |
|
675 |
|
676 <li><a href="../classes/Tree.html">Tree</a></li> |
|
677 |
|
678 <li><a href="../classes/Tree.Labelable.html">Tree.Labelable</a></li> |
|
679 |
|
680 <li><a href="../classes/Tree.Node.html">Tree.Node</a></li> |
|
681 |
|
682 <li><a href="../classes/Tree.Node.Labelable.html">Tree.Node.Labelable</a></li> |
|
683 |
|
684 <li><a href="../classes/Tree.Node.Openable.html">Tree.Node.Openable</a></li> |
|
685 |
|
686 <li><a href="../classes/Tree.Node.Selectable.html">Tree.Node.Selectable</a></li> |
|
687 |
|
688 <li><a href="../classes/Tree.Node.Sortable.html">Tree.Node.Sortable</a></li> |
|
689 |
|
690 <li><a href="../classes/Tree.Openable.html">Tree.Openable</a></li> |
|
691 |
|
692 <li><a href="../classes/Tree.Selectable.html">Tree.Selectable</a></li> |
|
693 |
|
694 <li><a href="../classes/Tree.Sortable.html">Tree.Sortable</a></li> |
|
695 |
|
696 <li><a href="../classes/UA.html">UA</a></li> |
|
697 |
|
698 <li><a href="../classes/Uploader.html">Uploader</a></li> |
|
699 |
|
700 <li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li> |
|
701 |
|
702 <li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li> |
|
703 |
|
704 <li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li> |
|
705 |
|
706 <li><a href="../classes/ValueChange.html">ValueChange</a></li> |
|
707 |
|
708 <li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li> |
|
709 |
|
710 <li><a href="../classes/View.html">View</a></li> |
|
711 |
|
712 <li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li> |
|
713 |
|
714 <li><a href="../classes/VMLCircle.html">VMLCircle</a></li> |
|
715 |
|
716 <li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li> |
|
717 |
|
718 <li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li> |
|
719 |
|
720 <li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li> |
|
721 |
|
722 <li><a href="../classes/VMLPath.html">VMLPath</a></li> |
|
723 |
|
724 <li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li> |
|
725 |
|
726 <li><a href="../classes/VMLRect.html">VMLRect</a></li> |
|
727 |
|
728 <li><a href="../classes/VMLShape.html">VMLShape</a></li> |
|
729 |
|
730 <li><a href="../classes/Widget.html">Widget</a></li> |
|
731 |
|
732 <li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li> |
|
733 |
|
734 <li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li> |
|
735 |
|
736 <li><a href="../classes/WidgetChild.html">WidgetChild</a></li> |
|
737 |
|
738 <li><a href="../classes/WidgetModality.html">WidgetModality</a></li> |
|
739 |
|
740 <li><a href="../classes/WidgetParent.html">WidgetParent</a></li> |
|
741 |
|
742 <li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li> |
|
743 |
|
744 <li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li> |
|
745 |
|
746 <li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li> |
|
747 |
|
748 <li><a href="../classes/WidgetStack.html">WidgetStack</a></li> |
|
749 |
|
750 <li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li> |
|
751 |
|
752 <li><a href="../classes/XML.html">XML</a></li> |
|
753 |
|
754 <li><a href="../classes/YQL.html">YQL</a></li> |
|
755 |
|
756 <li><a href="../classes/YQLRequest.html">YQLRequest</a></li> |
|
757 |
|
758 <li><a href="../classes/YUI.html">YUI</a></li> |
|
759 |
|
760 <li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li> |
|
761 |
|
762 </ul> |
|
763 |
|
764 <ul id="api-modules" class="apis modules"> |
|
765 |
|
766 <li><a href="../modules/align-plugin.html">align-plugin</a></li> |
|
767 |
|
768 <li><a href="../modules/anim.html">anim</a></li> |
|
769 |
|
770 <li><a href="../modules/anim-base.html">anim-base</a></li> |
|
771 |
|
772 <li><a href="../modules/anim-color.html">anim-color</a></li> |
|
773 |
|
774 <li><a href="../modules/anim-curve.html">anim-curve</a></li> |
|
775 |
|
776 <li><a href="../modules/anim-easing.html">anim-easing</a></li> |
|
777 |
|
778 <li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li> |
|
779 |
|
780 <li><a href="../modules/anim-scroll.html">anim-scroll</a></li> |
|
781 |
|
782 <li><a href="../modules/anim-shape.html">anim-shape</a></li> |
|
783 |
|
784 <li><a href="../modules/anim-shape-transform.html">anim-shape-transform</a></li> |
|
785 |
|
786 <li><a href="../modules/anim-xy.html">anim-xy</a></li> |
|
787 |
|
788 <li><a href="../modules/app.html">app</a></li> |
|
789 |
|
790 <li><a href="../modules/app-base.html">app-base</a></li> |
|
791 |
|
792 <li><a href="../modules/app-content.html">app-content</a></li> |
|
793 |
|
794 <li><a href="../modules/app-transitions.html">app-transitions</a></li> |
|
795 |
|
796 <li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li> |
|
797 |
|
798 <li><a href="../modules/array-extras.html">array-extras</a></li> |
|
799 |
|
800 <li><a href="../modules/array-invoke.html">array-invoke</a></li> |
|
801 |
|
802 <li><a href="../modules/arraylist.html">arraylist</a></li> |
|
803 |
|
804 <li><a href="../modules/arraylist-add.html">arraylist-add</a></li> |
|
805 |
|
806 <li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li> |
|
807 |
|
808 <li><a href="../modules/arraysort.html">arraysort</a></li> |
|
809 |
|
810 <li><a href="../modules/async-queue.html">async-queue</a></li> |
|
811 |
|
812 <li><a href="../modules/attribute.html">attribute</a></li> |
|
813 |
|
814 <li><a href="../modules/attribute-base.html">attribute-base</a></li> |
|
815 |
|
816 <li><a href="../modules/attribute-complex.html">attribute-complex</a></li> |
|
817 |
|
818 <li><a href="../modules/attribute-core.html">attribute-core</a></li> |
|
819 |
|
820 <li><a href="../modules/attribute-extras.html">attribute-extras</a></li> |
|
821 |
|
822 <li><a href="../modules/attribute-observable.html">attribute-observable</a></li> |
|
823 |
|
824 <li><a href="../modules/autocomplete.html">autocomplete</a></li> |
|
825 |
|
826 <li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li> |
|
827 |
|
828 <li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li> |
|
829 |
|
830 <li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li> |
|
831 |
|
832 <li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li> |
|
833 |
|
834 <li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li> |
|
835 |
|
836 <li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li> |
|
837 |
|
838 <li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li> |
|
839 |
|
840 <li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li> |
|
841 |
|
842 <li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li> |
|
843 |
|
844 <li><a href="../modules/axis.html">axis</a></li> |
|
845 |
|
846 <li><a href="../modules/axis-base.html">axis-base</a></li> |
|
847 |
|
848 <li><a href="../modules/axis-category.html">axis-category</a></li> |
|
849 |
|
850 <li><a href="../modules/axis-category-base.html">axis-category-base</a></li> |
|
851 |
|
852 <li><a href="../modules/axis-numeric.html">axis-numeric</a></li> |
|
853 |
|
854 <li><a href="../modules/axis-numeric-base.html">axis-numeric-base</a></li> |
|
855 |
|
856 <li><a href="../modules/axis-stacked.html">axis-stacked</a></li> |
|
857 |
|
858 <li><a href="../modules/axis-stacked-base.html">axis-stacked-base</a></li> |
|
859 |
|
860 <li><a href="../modules/axis-time.html">axis-time</a></li> |
|
861 |
|
862 <li><a href="../modules/axis-time-base.html">axis-time-base</a></li> |
|
863 |
|
864 <li><a href="../modules/base.html">base</a></li> |
|
865 |
|
866 <li><a href="../modules/base-base.html">base-base</a></li> |
|
867 |
|
868 <li><a href="../modules/base-build.html">base-build</a></li> |
|
869 |
|
870 <li><a href="../modules/base-core.html">base-core</a></li> |
|
871 |
|
872 <li><a href="../modules/base-observable.html">base-observable</a></li> |
|
873 |
|
874 <li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li> |
|
875 |
|
876 <li><a href="../modules/button.html">button</a></li> |
|
877 |
|
878 <li><a href="../modules/button-core.html">button-core</a></li> |
|
879 |
|
880 <li><a href="../modules/button-group.html">button-group</a></li> |
|
881 |
|
882 <li><a href="../modules/button-plugin.html">button-plugin</a></li> |
|
883 |
|
884 <li><a href="../modules/cache.html">cache</a></li> |
|
885 |
|
886 <li><a href="../modules/cache-base.html">cache-base</a></li> |
|
887 |
|
888 <li><a href="../modules/cache-offline.html">cache-offline</a></li> |
|
889 |
|
890 <li><a href="../modules/cache-plugin.html">cache-plugin</a></li> |
|
891 |
|
892 <li><a href="../modules/calendar.html">calendar</a></li> |
|
893 |
|
894 <li><a href="../modules/calendar-base.html">calendar-base</a></li> |
|
895 |
|
896 <li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li> |
|
897 |
|
898 <li><a href="../modules/charts.html">charts</a></li> |
|
899 |
|
900 <li><a href="../modules/charts-base.html">charts-base</a></li> |
|
901 |
|
902 <li><a href="../modules/charts-legend.html">charts-legend</a></li> |
|
903 |
|
904 <li><a href="../modules/classnamemanager.html">classnamemanager</a></li> |
|
905 |
|
906 <li><a href="../modules/clickable-rail.html">clickable-rail</a></li> |
|
907 |
|
908 <li><a href="../modules/collection.html">collection</a></li> |
|
909 |
|
910 <li><a href="../modules/color.html">color</a></li> |
|
911 |
|
912 <li><a href="../modules/color-base.html">color-base</a></li> |
|
913 |
|
914 <li><a href="../modules/color-harmony.html">color-harmony</a></li> |
|
915 |
|
916 <li><a href="../modules/color-hsl.html">color-hsl</a></li> |
|
917 |
|
918 <li><a href="../modules/color-hsv.html">color-hsv</a></li> |
|
919 |
|
920 <li><a href="../modules/console.html">console</a></li> |
|
921 |
|
922 <li><a href="../modules/console-filters.html">console-filters</a></li> |
|
923 |
|
924 <li><a href="../modules/cookie.html">cookie</a></li> |
|
925 |
|
926 <li><a href="../modules/createlink-base.html">createlink-base</a></li> |
|
927 |
|
928 <li><a href="../modules/dataschema.html">dataschema</a></li> |
|
929 |
|
930 <li><a href="../modules/dataschema-array.html">dataschema-array</a></li> |
|
931 |
|
932 <li><a href="../modules/dataschema-base.html">dataschema-base</a></li> |
|
933 |
|
934 <li><a href="../modules/dataschema-json.html">dataschema-json</a></li> |
|
935 |
|
936 <li><a href="../modules/dataschema-text.html">dataschema-text</a></li> |
|
937 |
|
938 <li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li> |
|
939 |
|
940 <li><a href="../modules/datasource.html">datasource</a></li> |
|
941 |
|
942 <li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li> |
|
943 |
|
944 <li><a href="../modules/datasource-cache.html">datasource-cache</a></li> |
|
945 |
|
946 <li><a href="../modules/datasource-function.html">datasource-function</a></li> |
|
947 |
|
948 <li><a href="../modules/datasource-get.html">datasource-get</a></li> |
|
949 |
|
950 <li><a href="../modules/datasource-io.html">datasource-io</a></li> |
|
951 |
|
952 <li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li> |
|
953 |
|
954 <li><a href="../modules/datasource-local.html">datasource-local</a></li> |
|
955 |
|
956 <li><a href="../modules/datasource-polling.html">datasource-polling</a></li> |
|
957 |
|
958 <li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li> |
|
959 |
|
960 <li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li> |
|
961 |
|
962 <li><a href="../modules/datatable.html">datatable</a></li> |
|
963 |
|
964 <li><a href="../modules/datatable-base.html">datatable-base</a></li> |
|
965 |
|
966 <li><a href="../modules/datatable-body.html">datatable-body</a></li> |
|
967 |
|
968 <li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li> |
|
969 |
|
970 <li><a href="../modules/datatable-core.html">datatable-core</a></li> |
|
971 |
|
972 <li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li> |
|
973 |
|
974 <li><a href="../modules/datatable-formatters.html">datatable-formatters</a></li> |
|
975 |
|
976 <li><a href="../modules/datatable-head.html">datatable-head</a></li> |
|
977 |
|
978 <li><a href="../modules/datatable-message.html">datatable-message</a></li> |
|
979 |
|
980 <li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li> |
|
981 |
|
982 <li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li> |
|
983 |
|
984 <li><a href="../modules/datatable-sort.html">datatable-sort</a></li> |
|
985 |
|
986 <li><a href="../modules/datatable-table.html">datatable-table</a></li> |
|
987 |
|
988 <li><a href="../modules/datatype.html">datatype</a></li> |
|
989 |
|
990 <li><a href="../modules/datatype-date.html">datatype-date</a></li> |
|
991 |
|
992 <li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li> |
|
993 |
|
994 <li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li> |
|
995 |
|
996 <li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li> |
|
997 |
|
998 <li><a href="../modules/datatype-number.html">datatype-number</a></li> |
|
999 |
|
1000 <li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li> |
|
1001 |
|
1002 <li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li> |
|
1003 |
|
1004 <li><a href="../modules/datatype-xml.html">datatype-xml</a></li> |
|
1005 |
|
1006 <li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li> |
|
1007 |
|
1008 <li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li> |
|
1009 |
|
1010 <li><a href="../modules/dd.html">dd</a></li> |
|
1011 |
|
1012 <li><a href="../modules/dd-constrain.html">dd-constrain</a></li> |
|
1013 |
|
1014 <li><a href="../modules/dd-ddm.html">dd-ddm</a></li> |
|
1015 |
|
1016 <li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li> |
|
1017 |
|
1018 <li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li> |
|
1019 |
|
1020 <li><a href="../modules/dd-delegate.html">dd-delegate</a></li> |
|
1021 |
|
1022 <li><a href="../modules/dd-drag.html">dd-drag</a></li> |
|
1023 |
|
1024 <li><a href="../modules/dd-drop.html">dd-drop</a></li> |
|
1025 |
|
1026 <li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li> |
|
1027 |
|
1028 <li><a href="../modules/dd-gestures.html">dd-gestures</a></li> |
|
1029 |
|
1030 <li><a href="../modules/dd-plugin.html">dd-plugin</a></li> |
|
1031 |
|
1032 <li><a href="../modules/dd-proxy.html">dd-proxy</a></li> |
|
1033 |
|
1034 <li><a href="../modules/dd-scroll.html">dd-scroll</a></li> |
|
1035 |
|
1036 <li><a href="../modules/dial.html">dial</a></li> |
|
1037 |
|
1038 <li><a href="../modules/dom.html">dom</a></li> |
|
1039 |
|
1040 <li><a href="../modules/dom-base.html">dom-base</a></li> |
|
1041 |
|
1042 <li><a href="../modules/dom-screen.html">dom-screen</a></li> |
|
1043 |
|
1044 <li><a href="../modules/dom-style.html">dom-style</a></li> |
|
1045 |
|
1046 <li><a href="../modules/dump.html">dump</a></li> |
|
1047 |
|
1048 <li><a href="../modules/editor.html">editor</a></li> |
|
1049 |
|
1050 <li><a href="../modules/editor-base.html">editor-base</a></li> |
|
1051 |
|
1052 <li><a href="../modules/editor-bidi.html">editor-bidi</a></li> |
|
1053 |
|
1054 <li><a href="../modules/editor-br.html">editor-br</a></li> |
|
1055 |
|
1056 <li><a href="../modules/editor-lists.html">editor-lists</a></li> |
|
1057 |
|
1058 <li><a href="../modules/editor-para.html">editor-para</a></li> |
|
1059 |
|
1060 <li><a href="../modules/editor-para-base.html">editor-para-base</a></li> |
|
1061 |
|
1062 <li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li> |
|
1063 |
|
1064 <li><a href="../modules/editor-tab.html">editor-tab</a></li> |
|
1065 |
|
1066 <li><a href="../modules/escape.html">escape</a></li> |
|
1067 |
|
1068 <li><a href="../modules/event.html">event</a></li> |
|
1069 |
|
1070 <li><a href="../modules/event-base.html">event-base</a></li> |
|
1071 |
|
1072 <li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li> |
|
1073 |
|
1074 <li><a href="../modules/event-custom.html">event-custom</a></li> |
|
1075 |
|
1076 <li><a href="../modules/event-custom-base.html">event-custom-base</a></li> |
|
1077 |
|
1078 <li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li> |
|
1079 |
|
1080 <li><a href="../modules/event-delegate.html">event-delegate</a></li> |
|
1081 |
|
1082 <li><a href="../modules/event-flick.html">event-flick</a></li> |
|
1083 |
|
1084 <li><a href="../modules/event-focus.html">event-focus</a></li> |
|
1085 |
|
1086 <li><a href="../modules/event-gestures.html">event-gestures</a></li> |
|
1087 |
|
1088 <li><a href="../modules/event-hover.html">event-hover</a></li> |
|
1089 |
|
1090 <li><a href="../modules/event-key.html">event-key</a></li> |
|
1091 |
|
1092 <li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li> |
|
1093 |
|
1094 <li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li> |
|
1095 |
|
1096 <li><a href="../modules/event-move.html">event-move</a></li> |
|
1097 |
|
1098 <li><a href="../modules/event-outside.html">event-outside</a></li> |
|
1099 |
|
1100 <li><a href="../modules/event-resize.html">event-resize</a></li> |
|
1101 |
|
1102 <li><a href="../modules/event-simulate.html">event-simulate</a></li> |
|
1103 |
|
1104 <li><a href="../modules/event-synthetic.html">event-synthetic</a></li> |
|
1105 |
|
1106 <li><a href="../modules/event-tap.html">event-tap</a></li> |
|
1107 |
|
1108 <li><a href="../modules/event-touch.html">event-touch</a></li> |
|
1109 |
|
1110 <li><a href="../modules/event-valuechange.html">event-valuechange</a></li> |
|
1111 |
|
1112 <li><a href="../modules/exec-command.html">exec-command</a></li> |
|
1113 |
|
1114 <li><a href="../modules/features.html">features</a></li> |
|
1115 |
|
1116 <li><a href="../modules/file.html">file</a></li> |
|
1117 |
|
1118 <li><a href="../modules/file-flash.html">file-flash</a></li> |
|
1119 |
|
1120 <li><a href="../modules/file-html5.html">file-html5</a></li> |
|
1121 |
|
1122 <li><a href="../modules/frame.html">frame</a></li> |
|
1123 |
|
1124 <li><a href="../modules/gesture-simulate.html">gesture-simulate</a></li> |
|
1125 |
|
1126 <li><a href="../modules/get.html">get</a></li> |
|
1127 |
|
1128 <li><a href="../modules/get-nodejs.html">get-nodejs</a></li> |
|
1129 |
|
1130 <li><a href="../modules/graphics.html">graphics</a></li> |
|
1131 |
|
1132 <li><a href="../modules/graphics-group.html">graphics-group</a></li> |
|
1133 |
|
1134 <li><a href="../modules/handlebars.html">handlebars</a></li> |
|
1135 |
|
1136 <li><a href="../modules/handlebars-base.html">handlebars-base</a></li> |
|
1137 |
|
1138 <li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li> |
|
1139 |
|
1140 <li><a href="../modules/highlight.html">highlight</a></li> |
|
1141 |
|
1142 <li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li> |
|
1143 |
|
1144 <li><a href="../modules/highlight-base.html">highlight-base</a></li> |
|
1145 |
|
1146 <li><a href="../modules/history.html">history</a></li> |
|
1147 |
|
1148 <li><a href="../modules/history-base.html">history-base</a></li> |
|
1149 |
|
1150 <li><a href="../modules/history-hash.html">history-hash</a></li> |
|
1151 |
|
1152 <li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li> |
|
1153 |
|
1154 <li><a href="../modules/history-html5.html">history-html5</a></li> |
|
1155 |
|
1156 <li><a href="../modules/imageloader.html">imageloader</a></li> |
|
1157 |
|
1158 <li><a href="../modules/intl.html">intl</a></li> |
|
1159 |
|
1160 <li><a href="../modules/io.html">io</a></li> |
|
1161 |
|
1162 <li><a href="../modules/io-base.html">io-base</a></li> |
|
1163 |
|
1164 <li><a href="../modules/io-form.html">io-form</a></li> |
|
1165 |
|
1166 <li><a href="../modules/io-nodejs.html">io-nodejs</a></li> |
|
1167 |
|
1168 <li><a href="../modules/io-queue.html">io-queue</a></li> |
|
1169 |
|
1170 <li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li> |
|
1171 |
|
1172 <li><a href="../modules/io-xdr.html">io-xdr</a></li> |
|
1173 |
|
1174 <li><a href="../modules/json.html">json</a></li> |
|
1175 |
|
1176 <li><a href="../modules/json-parse.html">json-parse</a></li> |
|
1177 |
|
1178 <li><a href="../modules/json-stringify.html">json-stringify</a></li> |
|
1179 |
|
1180 <li><a href="../modules/jsonp.html">jsonp</a></li> |
|
1181 |
|
1182 <li><a href="../modules/jsonp-url.html">jsonp-url</a></li> |
|
1183 |
|
1184 <li><a href="../modules/lazy-model-list.html">lazy-model-list</a></li> |
|
1185 |
|
1186 <li><a href="../modules/loader.html">loader</a></li> |
|
1187 |
|
1188 <li><a href="../modules/loader-base.html">loader-base</a></li> |
|
1189 |
|
1190 <li><a href="../modules/loader-yui3.html">loader-yui3</a></li> |
|
1191 |
|
1192 <li><a href="../modules/matrix.html">matrix</a></li> |
|
1193 |
|
1194 <li><a href="../modules/model.html">model</a></li> |
|
1195 |
|
1196 <li><a href="../modules/model-list.html">model-list</a></li> |
|
1197 |
|
1198 <li><a href="../modules/model-sync-rest.html">model-sync-rest</a></li> |
|
1199 |
|
1200 <li><a href="../modules/node.html">node</a></li> |
|
1201 |
|
1202 <li><a href="../modules/node-base.html">node-base</a></li> |
|
1203 |
|
1204 <li><a href="../modules/node-core.html">node-core</a></li> |
|
1205 |
|
1206 <li><a href="../modules/node-data.html">node-data</a></li> |
|
1207 |
|
1208 <li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li> |
|
1209 |
|
1210 <li><a href="../modules/node-event-html5.html">node-event-html5</a></li> |
|
1211 |
|
1212 <li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li> |
|
1213 |
|
1214 <li><a href="../modules/node-flick.html">node-flick</a></li> |
|
1215 |
|
1216 <li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li> |
|
1217 |
|
1218 <li><a href="../modules/node-load.html">node-load</a></li> |
|
1219 |
|
1220 <li><a href="../modules/node-menunav.html">node-menunav</a></li> |
|
1221 |
|
1222 <li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li> |
|
1223 |
|
1224 <li><a href="../modules/node-screen.html">node-screen</a></li> |
|
1225 |
|
1226 <li><a href="../modules/node-scroll-info.html">node-scroll-info</a></li> |
|
1227 |
|
1228 <li><a href="../modules/node-style.html">node-style</a></li> |
|
1229 |
|
1230 <li><a href="../modules/oop.html">oop</a></li> |
|
1231 |
|
1232 <li><a href="../modules/overlay.html">overlay</a></li> |
|
1233 |
|
1234 <li><a href="../modules/panel.html">panel</a></li> |
|
1235 |
|
1236 <li><a href="../modules/parallel.html">parallel</a></li> |
|
1237 |
|
1238 <li><a href="../modules/pjax.html">pjax</a></li> |
|
1239 |
|
1240 <li><a href="../modules/pjax-base.html">pjax-base</a></li> |
|
1241 |
|
1242 <li><a href="../modules/pjax-content.html">pjax-content</a></li> |
|
1243 |
|
1244 <li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li> |
|
1245 |
|
1246 <li><a href="../modules/plugin.html">plugin</a></li> |
|
1247 |
|
1248 <li><a href="../modules/pluginhost.html">pluginhost</a></li> |
|
1249 |
|
1250 <li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li> |
|
1251 |
|
1252 <li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li> |
|
1253 |
|
1254 <li><a href="../modules/promise.html">promise</a></li> |
|
1255 |
|
1256 <li><a href="../modules/querystring.html">querystring</a></li> |
|
1257 |
|
1258 <li><a href="../modules/querystring-parse.html">querystring-parse</a></li> |
|
1259 |
|
1260 <li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li> |
|
1261 |
|
1262 <li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li> |
|
1263 |
|
1264 <li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li> |
|
1265 |
|
1266 <li><a href="../modules/queue-promote.html">queue-promote</a></li> |
|
1267 |
|
1268 <li><a href="../modules/range-slider.html">range-slider</a></li> |
|
1269 |
|
1270 <li><a href="../modules/recordset.html">recordset</a></li> |
|
1271 |
|
1272 <li><a href="../modules/recordset-base.html">recordset-base</a></li> |
|
1273 |
|
1274 <li><a href="../modules/recordset-filter.html">recordset-filter</a></li> |
|
1275 |
|
1276 <li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li> |
|
1277 |
|
1278 <li><a href="../modules/recordset-sort.html">recordset-sort</a></li> |
|
1279 |
|
1280 <li><a href="../modules/resize.html">resize</a></li> |
|
1281 |
|
1282 <li><a href="../modules/resize-contrain.html">resize-contrain</a></li> |
|
1283 |
|
1284 <li><a href="../modules/resize-plugin.html">resize-plugin</a></li> |
|
1285 |
|
1286 <li><a href="../modules/resize-proxy.html">resize-proxy</a></li> |
|
1287 |
|
1288 <li><a href="../modules/rollup.html">rollup</a></li> |
|
1289 |
|
1290 <li><a href="../modules/router.html">router</a></li> |
|
1291 |
|
1292 <li><a href="../modules/scrollview.html">scrollview</a></li> |
|
1293 |
|
1294 <li><a href="../modules/scrollview-base.html">scrollview-base</a></li> |
|
1295 |
|
1296 <li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li> |
|
1297 |
|
1298 <li><a href="../modules/scrollview-list.html">scrollview-list</a></li> |
|
1299 |
|
1300 <li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li> |
|
1301 |
|
1302 <li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li> |
|
1303 |
|
1304 <li><a href="../modules/selection.html">selection</a></li> |
|
1305 |
|
1306 <li><a href="../modules/selector-css2.html">selector-css2</a></li> |
|
1307 |
|
1308 <li><a href="../modules/selector-css3.html">selector-css3</a></li> |
|
1309 |
|
1310 <li><a href="../modules/selector-native.html">selector-native</a></li> |
|
1311 |
|
1312 <li><a href="../modules/series-area.html">series-area</a></li> |
|
1313 |
|
1314 <li><a href="../modules/series-area-stacked.html">series-area-stacked</a></li> |
|
1315 |
|
1316 <li><a href="../modules/series-areaspline.html">series-areaspline</a></li> |
|
1317 |
|
1318 <li><a href="../modules/series-areaspline-stacked.html">series-areaspline-stacked</a></li> |
|
1319 |
|
1320 <li><a href="../modules/series-bar.html">series-bar</a></li> |
|
1321 |
|
1322 <li><a href="../modules/series-bar-stacked.html">series-bar-stacked</a></li> |
|
1323 |
|
1324 <li><a href="../modules/series-base.html">series-base</a></li> |
|
1325 |
|
1326 <li><a href="../modules/series-candlestick.html">series-candlestick</a></li> |
|
1327 |
|
1328 <li><a href="../modules/series-cartesian.html">series-cartesian</a></li> |
|
1329 |
|
1330 <li><a href="../modules/series-column.html">series-column</a></li> |
|
1331 |
|
1332 <li><a href="../modules/series-column-stacked.html">series-column-stacked</a></li> |
|
1333 |
|
1334 <li><a href="../modules/series-combo.html">series-combo</a></li> |
|
1335 |
|
1336 <li><a href="../modules/series-combo-stacked.html">series-combo-stacked</a></li> |
|
1337 |
|
1338 <li><a href="../modules/series-combospline.html">series-combospline</a></li> |
|
1339 |
|
1340 <li><a href="../modules/series-combospline-stacked.html">series-combospline-stacked</a></li> |
|
1341 |
|
1342 <li><a href="../modules/series-curve-util.html">series-curve-util</a></li> |
|
1343 |
|
1344 <li><a href="../modules/series-fill-util.html">series-fill-util</a></li> |
|
1345 |
|
1346 <li><a href="../modules/series-histogram.html">series-histogram</a></li> |
|
1347 |
|
1348 <li><a href="../modules/series-line.html">series-line</a></li> |
|
1349 |
|
1350 <li><a href="../modules/series-line-stacked.html">series-line-stacked</a></li> |
|
1351 |
|
1352 <li><a href="../modules/series-line-util.html">series-line-util</a></li> |
|
1353 |
|
1354 <li><a href="../modules/series-marker.html">series-marker</a></li> |
|
1355 |
|
1356 <li><a href="../modules/series-marker-stacked.html">series-marker-stacked</a></li> |
|
1357 |
|
1358 <li><a href="../modules/series-ohlc.html">series-ohlc</a></li> |
|
1359 |
|
1360 <li><a href="../modules/series-pie.html">series-pie</a></li> |
|
1361 |
|
1362 <li><a href="../modules/series-plot-util.html">series-plot-util</a></li> |
|
1363 |
|
1364 <li><a href="../modules/series-range.html">series-range</a></li> |
|
1365 |
|
1366 <li><a href="../modules/series-spline.html">series-spline</a></li> |
|
1367 |
|
1368 <li><a href="../modules/series-spline-stacked.html">series-spline-stacked</a></li> |
|
1369 |
|
1370 <li><a href="../modules/series-stacked.html">series-stacked</a></li> |
|
1371 |
|
1372 <li><a href="../modules/shim-plugin.html">shim-plugin</a></li> |
|
1373 |
|
1374 <li><a href="../modules/slider.html">slider</a></li> |
|
1375 |
|
1376 <li><a href="../modules/slider-base.html">slider-base</a></li> |
|
1377 |
|
1378 <li><a href="../modules/slider-value-range.html">slider-value-range</a></li> |
|
1379 |
|
1380 <li><a href="../modules/sortable.html">sortable</a></li> |
|
1381 |
|
1382 <li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li> |
|
1383 |
|
1384 <li><a href="../modules/stylesheet.html">stylesheet</a></li> |
|
1385 |
|
1386 <li><a href="../modules/substitute.html">substitute</a></li> |
|
1387 |
|
1388 <li><a href="../modules/swf.html">swf</a></li> |
|
1389 |
|
1390 <li><a href="../modules/swfdetect.html">swfdetect</a></li> |
|
1391 |
|
1392 <li><a href="../modules/tabview.html">tabview</a></li> |
|
1393 |
|
1394 <li><a href="../modules/template.html">template</a></li> |
|
1395 |
|
1396 <li><a href="../modules/template-base.html">template-base</a></li> |
|
1397 |
|
1398 <li><a href="../modules/template-micro.html">template-micro</a></li> |
|
1399 |
|
1400 <li><a href="../modules/test.html">test</a></li> |
|
1401 |
|
1402 <li><a href="../modules/test-console.html">test-console</a></li> |
|
1403 |
|
1404 <li><a href="../modules/text.html">text</a></li> |
|
1405 |
|
1406 <li><a href="../modules/text-accentfold.html">text-accentfold</a></li> |
|
1407 |
|
1408 <li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li> |
|
1409 |
|
1410 <li><a href="../modules/timers.html">timers</a></li> |
|
1411 |
|
1412 <li><a href="../modules/transition.html">transition</a></li> |
|
1413 |
|
1414 <li><a href="../modules/transition-timer.html">transition-timer</a></li> |
|
1415 |
|
1416 <li><a href="../modules/tree.html">tree</a></li> |
|
1417 |
|
1418 <li><a href="../modules/tree-labelable.html">tree-labelable</a></li> |
|
1419 |
|
1420 <li><a href="../modules/tree-lazy.html">tree-lazy</a></li> |
|
1421 |
|
1422 <li><a href="../modules/tree-node.html">tree-node</a></li> |
|
1423 |
|
1424 <li><a href="../modules/tree-openable.html">tree-openable</a></li> |
|
1425 |
|
1426 <li><a href="../modules/tree-selectable.html">tree-selectable</a></li> |
|
1427 |
|
1428 <li><a href="../modules/tree-sortable.html">tree-sortable</a></li> |
|
1429 |
|
1430 <li><a href="../modules/uploader.html">uploader</a></li> |
|
1431 |
|
1432 <li><a href="../modules/uploader-flash.html">uploader-flash</a></li> |
|
1433 |
|
1434 <li><a href="../modules/uploader-html5.html">uploader-html5</a></li> |
|
1435 |
|
1436 <li><a href="../modules/uploader-queue.html">uploader-queue</a></li> |
|
1437 |
|
1438 <li><a href="../modules/view.html">view</a></li> |
|
1439 |
|
1440 <li><a href="../modules/view-node-map.html">view-node-map</a></li> |
|
1441 |
|
1442 <li><a href="../modules/widget.html">widget</a></li> |
|
1443 |
|
1444 <li><a href="../modules/widget-anim.html">widget-anim</a></li> |
|
1445 |
|
1446 <li><a href="../modules/widget-autohide.html">widget-autohide</a></li> |
|
1447 |
|
1448 <li><a href="../modules/widget-base.html">widget-base</a></li> |
|
1449 |
|
1450 <li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li> |
|
1451 |
|
1452 <li><a href="../modules/widget-buttons.html">widget-buttons</a></li> |
|
1453 |
|
1454 <li><a href="../modules/widget-child.html">widget-child</a></li> |
|
1455 |
|
1456 <li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li> |
|
1457 |
|
1458 <li><a href="../modules/widget-locale.html">widget-locale</a></li> |
|
1459 |
|
1460 <li><a href="../modules/widget-modality.html">widget-modality</a></li> |
|
1461 |
|
1462 <li><a href="../modules/widget-parent.html">widget-parent</a></li> |
|
1463 |
|
1464 <li><a href="../modules/widget-position.html">widget-position</a></li> |
|
1465 |
|
1466 <li><a href="../modules/widget-position-align.html">widget-position-align</a></li> |
|
1467 |
|
1468 <li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li> |
|
1469 |
|
1470 <li><a href="../modules/widget-skin.html">widget-skin</a></li> |
|
1471 |
|
1472 <li><a href="../modules/widget-stack.html">widget-stack</a></li> |
|
1473 |
|
1474 <li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li> |
|
1475 |
|
1476 <li><a href="../modules/widget-uievents.html">widget-uievents</a></li> |
|
1477 |
|
1478 <li><a href="../modules/yql.html">yql</a></li> |
|
1479 |
|
1480 <li><a href="../modules/yql-jsonp.html">yql-jsonp</a></li> |
|
1481 |
|
1482 <li><a href="../modules/yql-nodejs.html">yql-nodejs</a></li> |
|
1483 |
|
1484 <li><a href="../modules/yql-winjs.html">yql-winjs</a></li> |
|
1485 |
|
1486 <li><a href="../modules/yui.html">yui</a></li> |
|
1487 |
|
1488 <li><a href="../modules/yui-base.html">yui-base</a></li> |
|
1489 |
|
1490 <li><a href="../modules/yui-later.html">yui-later</a></li> |
|
1491 |
|
1492 <li><a href="../modules/yui-log.html">yui-log</a></li> |
|
1493 |
|
1494 <li><a href="../modules/yui-throttle.html">yui-throttle</a></li> |
|
1495 |
|
1496 </ul> |
|
1497 </div> |
|
1498 </div> |
|
1499 </div> |
|
1500 |
|
1501 </div> |
|
1502 </div> |
|
1503 <div class="yui3-u-3-4"> |
|
1504 <div id="api-options"> |
|
1505 Show: |
|
1506 <label for="api-show-inherited"> |
|
1507 <input type="checkbox" id="api-show-inherited" checked> |
|
1508 Inherited |
|
1509 </label> |
|
1510 |
|
1511 <label for="api-show-protected"> |
|
1512 <input type="checkbox" id="api-show-protected"> |
|
1513 Protected |
|
1514 </label> |
|
1515 |
|
1516 <label for="api-show-private"> |
|
1517 <input type="checkbox" id="api-show-private"> |
|
1518 Private |
|
1519 </label> |
|
1520 <label for="api-show-deprecated"> |
|
1521 <input type="checkbox" id="api-show-deprecated"> |
|
1522 Deprecated |
|
1523 </label> |
|
1524 |
|
1525 </div> |
|
1526 |
|
1527 |
|
1528 <div class="apidocs"> |
|
1529 <div id="docs-main"> |
|
1530 <div class="content"> |
|
1531 <h1>ToggleButton Class</h1> |
|
1532 <div class="box meta"> |
|
1533 |
|
1534 |
|
1535 |
|
1536 <div class="extends"> |
|
1537 Extends <a href="../classes/Button.html" class="crosslink">Button</a> |
|
1538 </div> |
|
1539 |
|
1540 |
|
1541 |
|
1542 <div class="foundat"> |
|
1543 Defined in: <a href="../files/button_js_button.js.html#l171"><code>button/js/button.js:171</code></a> |
|
1544 </div> |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 Module: <a href="../modules/button.html">button</a> |
|
1550 |
|
1551 |
|
1552 |
|
1553 |
|
1554 </div> |
|
1555 |
|
1556 |
|
1557 |
|
1558 <div class="box intro"> |
|
1559 <p>Creates a ToggleButton</p> |
|
1560 </div> |
|
1561 |
|
1562 |
|
1563 <div class="constructor"> |
|
1564 <h2>Constructor</h2> |
|
1565 <div id="method_ToggleButton" class="method item"> |
|
1566 <h3 class="name"><code>ToggleButton</code></h3> |
|
1567 |
|
1568 |
|
1569 <div class="args"> |
|
1570 <span class="paren">(</span><ul class="args-list inline commas"> |
|
1571 |
|
1572 <li class="arg"> |
|
1573 |
|
1574 <code>config</code> |
|
1575 |
|
1576 </li> |
|
1577 |
|
1578 </ul><span class="paren">)</span> |
|
1579 </div> |
|
1580 |
|
1581 |
|
1582 |
|
1583 |
|
1584 |
|
1585 |
|
1586 |
|
1587 |
|
1588 |
|
1589 |
|
1590 |
|
1591 |
|
1592 |
|
1593 |
|
1594 |
|
1595 |
|
1596 <div class="meta"> |
|
1597 |
|
1598 |
|
1599 |
|
1600 <p> |
|
1601 |
|
1602 Defined in |
|
1603 |
|
1604 |
|
1605 |
|
1606 |
|
1607 <a href="../files/button_js_button.js.html#l171"><code>button/js/button.js:171</code></a> |
|
1608 |
|
1609 </p> |
|
1610 |
|
1611 |
|
1612 |
|
1613 |
|
1614 |
|
1615 </div> |
|
1616 |
|
1617 <div class="description"> |
|
1618 |
|
1619 </div> |
|
1620 |
|
1621 |
|
1622 <div class="params"> |
|
1623 <h4>Parameters:</h4> |
|
1624 |
|
1625 <ul class="params-list"> |
|
1626 |
|
1627 <li class="param"> |
|
1628 |
|
1629 <code class="param-name">config</code> |
|
1630 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
1631 |
|
1632 |
|
1633 |
|
1634 |
|
1635 <div class="param-description"> |
|
1636 <p>Configuration object</p> |
|
1637 </div> |
|
1638 |
|
1639 |
|
1640 </li> |
|
1641 |
|
1642 </ul> |
|
1643 </div> |
|
1644 |
|
1645 |
|
1646 |
|
1647 |
|
1648 |
|
1649 </div> |
|
1650 |
|
1651 </div> |
|
1652 |
|
1653 |
|
1654 <div id="classdocs" class="tabview"> |
|
1655 <ul class="api-class-tabs"> |
|
1656 <li class="api-class-tab index"><a href="#index">Index</a></li> |
|
1657 |
|
1658 |
|
1659 <li class="api-class-tab methods"><a href="#methods">Methods</a></li> |
|
1660 |
|
1661 |
|
1662 <li class="api-class-tab properties"><a href="#properties">Properties</a></li> |
|
1663 |
|
1664 |
|
1665 <li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li> |
|
1666 |
|
1667 |
|
1668 <li class="api-class-tab events"><a href="#events">Events</a></li> |
|
1669 |
|
1670 </ul> |
|
1671 |
|
1672 <div> |
|
1673 <div id="index" class="api-class-tabpanel index"> |
|
1674 <h2 class="off-left">Item Index</h2> |
|
1675 |
|
1676 |
|
1677 <div class="index-section methods"> |
|
1678 <h3>Methods</h3> |
|
1679 |
|
1680 <ul class="index-list methods extends"> |
|
1681 |
|
1682 <li class="index-item method private inherited"> |
|
1683 <a href="#method__addAttrs">_addAttrs</a> |
|
1684 |
|
1685 |
|
1686 |
|
1687 </li> |
|
1688 |
|
1689 <li class="index-item method private inherited"> |
|
1690 <a href="#method__addLazyAttr">_addLazyAttr</a> |
|
1691 |
|
1692 |
|
1693 |
|
1694 </li> |
|
1695 |
|
1696 <li class="index-item method protected inherited"> |
|
1697 <a href="#method__afterChildSelectedChange">_afterChildSelectedChange</a> |
|
1698 |
|
1699 |
|
1700 |
|
1701 </li> |
|
1702 |
|
1703 <li class="index-item method private inherited"> |
|
1704 <a href="#method__afterDisabledChange">_afterDisabledChange</a> |
|
1705 |
|
1706 |
|
1707 |
|
1708 </li> |
|
1709 |
|
1710 <li class="index-item method private inherited"> |
|
1711 <a href="#method__afterLabelChange">_afterLabelChange</a> |
|
1712 |
|
1713 |
|
1714 |
|
1715 </li> |
|
1716 |
|
1717 <li class="index-item method private"> |
|
1718 <a href="#method__afterSelectedChange">_afterSelectedChange</a> |
|
1719 |
|
1720 |
|
1721 |
|
1722 </li> |
|
1723 |
|
1724 <li class="index-item method private inherited"> |
|
1725 <a href="#method__aggregateAttrs">_aggregateAttrs</a> |
|
1726 |
|
1727 |
|
1728 |
|
1729 </li> |
|
1730 |
|
1731 <li class="index-item method protected inherited"> |
|
1732 <a href="#method__applyParsedConfig">_applyParsedConfig</a> |
|
1733 |
|
1734 |
|
1735 |
|
1736 </li> |
|
1737 |
|
1738 <li class="index-item method protected inherited"> |
|
1739 <a href="#method__applyParser">_applyParser</a> |
|
1740 |
|
1741 |
|
1742 |
|
1743 </li> |
|
1744 |
|
1745 <li class="index-item method private inherited"> |
|
1746 <a href="#method__attrCfgHash">_attrCfgHash</a> |
|
1747 |
|
1748 |
|
1749 |
|
1750 </li> |
|
1751 |
|
1752 <li class="index-item method private inherited"> |
|
1753 <a href="#method__baseDestroy">_baseDestroy</a> |
|
1754 |
|
1755 |
|
1756 |
|
1757 </li> |
|
1758 |
|
1759 <li class="index-item method private inherited"> |
|
1760 <a href="#method__baseInit">_baseInit</a> |
|
1761 |
|
1762 |
|
1763 |
|
1764 </li> |
|
1765 |
|
1766 <li class="index-item method private inherited"> |
|
1767 <a href="#method__bindAttrUI">_bindAttrUI</a> |
|
1768 |
|
1769 |
|
1770 |
|
1771 </li> |
|
1772 |
|
1773 <li class="index-item method protected inherited"> |
|
1774 <a href="#method__bindDOM">_bindDOM</a> |
|
1775 |
|
1776 |
|
1777 |
|
1778 </li> |
|
1779 |
|
1780 <li class="index-item method protected inherited"> |
|
1781 <a href="#method__bindUI">_bindUI</a> |
|
1782 |
|
1783 |
|
1784 |
|
1785 </li> |
|
1786 |
|
1787 <li class="index-item method protected inherited"> |
|
1788 <a href="#method__bindUIChild">_bindUIChild</a> |
|
1789 |
|
1790 |
|
1791 |
|
1792 </li> |
|
1793 |
|
1794 <li class="index-item method private inherited"> |
|
1795 <a href="#method__cloneDefaultValue">_cloneDefaultValue</a> |
|
1796 |
|
1797 |
|
1798 |
|
1799 </li> |
|
1800 |
|
1801 <li class="index-item method private inherited"> |
|
1802 <a href="#method__createUIEvent">_createUIEvent</a> |
|
1803 |
|
1804 |
|
1805 |
|
1806 </li> |
|
1807 |
|
1808 <li class="index-item method private inherited"> |
|
1809 <a href="#method__defAttrChangeFn">_defAttrChangeFn</a> |
|
1810 |
|
1811 |
|
1812 |
|
1813 </li> |
|
1814 |
|
1815 <li class="index-item method protected inherited"> |
|
1816 <a href="#method__defaultCB">_defaultCB</a> |
|
1817 |
|
1818 |
|
1819 |
|
1820 </li> |
|
1821 |
|
1822 <li class="index-item method protected inherited"> |
|
1823 <a href="#method__defDestroyFn">_defDestroyFn</a> |
|
1824 |
|
1825 |
|
1826 |
|
1827 </li> |
|
1828 |
|
1829 <li class="index-item method protected inherited"> |
|
1830 <a href="#method__defInitFn">_defInitFn</a> |
|
1831 |
|
1832 |
|
1833 |
|
1834 </li> |
|
1835 |
|
1836 <li class="index-item method protected inherited"> |
|
1837 <a href="#method__defRenderFn">_defRenderFn</a> |
|
1838 |
|
1839 |
|
1840 |
|
1841 </li> |
|
1842 |
|
1843 <li class="index-item method protected inherited"> |
|
1844 <a href="#method__destroyBox">_destroyBox</a> |
|
1845 |
|
1846 |
|
1847 |
|
1848 </li> |
|
1849 |
|
1850 <li class="index-item method private inherited"> |
|
1851 <a href="#method__destroyHierarchy">_destroyHierarchy</a> |
|
1852 |
|
1853 |
|
1854 |
|
1855 </li> |
|
1856 |
|
1857 <li class="index-item method private inherited"> |
|
1858 <a href="#method__destroyUIEvents">_destroyUIEvents</a> |
|
1859 |
|
1860 |
|
1861 |
|
1862 </li> |
|
1863 |
|
1864 <li class="index-item method private inherited"> |
|
1865 <a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a> |
|
1866 |
|
1867 |
|
1868 |
|
1869 </li> |
|
1870 |
|
1871 <li class="index-item method private inherited"> |
|
1872 <a href="#method__filterAttrCfgs">_filterAttrCfgs</a> |
|
1873 |
|
1874 |
|
1875 |
|
1876 </li> |
|
1877 |
|
1878 <li class="index-item method private inherited"> |
|
1879 <a href="#method__filterUIEvent">_filterUIEvent</a> |
|
1880 |
|
1881 |
|
1882 |
|
1883 </li> |
|
1884 |
|
1885 <li class="index-item method private inherited"> |
|
1886 <a href="#method__fireAttrChange">_fireAttrChange</a> |
|
1887 |
|
1888 |
|
1889 |
|
1890 </li> |
|
1891 |
|
1892 <li class="index-item method protected inherited"> |
|
1893 <a href="#method__getAttr">_getAttr</a> |
|
1894 |
|
1895 |
|
1896 |
|
1897 </li> |
|
1898 |
|
1899 <li class="index-item method protected inherited"> |
|
1900 <a href="#method__getAttrCfg">_getAttrCfg</a> |
|
1901 |
|
1902 |
|
1903 |
|
1904 </li> |
|
1905 |
|
1906 <li class="index-item method protected inherited"> |
|
1907 <a href="#method__getAttrCfgs">_getAttrCfgs</a> |
|
1908 |
|
1909 |
|
1910 |
|
1911 </li> |
|
1912 |
|
1913 <li class="index-item method private inherited"> |
|
1914 <a href="#method__getAttrInitVal">_getAttrInitVal</a> |
|
1915 |
|
1916 |
|
1917 |
|
1918 </li> |
|
1919 |
|
1920 <li class="index-item method protected inherited"> |
|
1921 <a href="#method__getAttrs">_getAttrs</a> |
|
1922 |
|
1923 |
|
1924 |
|
1925 </li> |
|
1926 |
|
1927 <li class="index-item method protected inherited"> |
|
1928 <a href="#method__getClasses">_getClasses</a> |
|
1929 |
|
1930 |
|
1931 |
|
1932 </li> |
|
1933 |
|
1934 <li class="index-item method private inherited"> |
|
1935 <a href="#method__getFullType">_getFullType</a> |
|
1936 |
|
1937 |
|
1938 |
|
1939 </li> |
|
1940 |
|
1941 <li class="index-item method private inherited"> |
|
1942 <a href="#method__getHtmlParser">_getHtmlParser</a> |
|
1943 |
|
1944 |
|
1945 |
|
1946 </li> |
|
1947 |
|
1948 <li class="index-item method private inherited"> |
|
1949 <a href="#method__getLabel">_getLabel</a> |
|
1950 |
|
1951 |
|
1952 |
|
1953 </li> |
|
1954 |
|
1955 <li class="index-item method private inherited"> |
|
1956 <a href="#method__getNodeToParse">_getNodeToParse</a> |
|
1957 |
|
1958 |
|
1959 |
|
1960 </li> |
|
1961 |
|
1962 <li class="index-item method protected inherited"> |
|
1963 <a href="#method__getSrcNode">_getSrcNode</a> |
|
1964 |
|
1965 |
|
1966 |
|
1967 </li> |
|
1968 |
|
1969 <li class="index-item method private inherited"> |
|
1970 <a href="#method__getStateVal">_getStateVal</a> |
|
1971 |
|
1972 |
|
1973 |
|
1974 </li> |
|
1975 |
|
1976 <li class="index-item method protected inherited"> |
|
1977 <a href="#method__getStrings">_getStrings</a> |
|
1978 |
|
1979 |
|
1980 |
|
1981 </li> |
|
1982 |
|
1983 <li class="index-item method private inherited"> |
|
1984 <a href="#method__getType">_getType</a> |
|
1985 |
|
1986 |
|
1987 |
|
1988 </li> |
|
1989 |
|
1990 <li class="index-item method protected inherited inherited"> |
|
1991 <a href="#method__getUIEventNode">_getUIEventNode</a> |
|
1992 |
|
1993 |
|
1994 |
|
1995 </li> |
|
1996 |
|
1997 <li class="index-item method protected inherited"> |
|
1998 <a href="#method__guid">_guid</a> |
|
1999 |
|
2000 |
|
2001 |
|
2002 </li> |
|
2003 |
|
2004 <li class="index-item method private inherited"> |
|
2005 <a href="#method__initAttrHost">_initAttrHost</a> |
|
2006 |
|
2007 |
|
2008 |
|
2009 </li> |
|
2010 |
|
2011 <li class="index-item method private inherited inherited"> |
|
2012 <a href="#method__initAttribute">_initAttribute</a> |
|
2013 |
|
2014 |
|
2015 |
|
2016 </li> |
|
2017 |
|
2018 <li class="index-item method private inherited"> |
|
2019 <a href="#method__initAttributes">_initAttributes</a> |
|
2020 |
|
2021 |
|
2022 |
|
2023 </li> |
|
2024 |
|
2025 <li class="index-item method protected inherited"> |
|
2026 <a href="#method__initAttrs">_initAttrs</a> |
|
2027 |
|
2028 |
|
2029 |
|
2030 </li> |
|
2031 |
|
2032 <li class="index-item method private inherited"> |
|
2033 <a href="#method__initBase">_initBase</a> |
|
2034 |
|
2035 |
|
2036 |
|
2037 </li> |
|
2038 |
|
2039 <li class="index-item method private inherited"> |
|
2040 <a href="#method__initHierarchy">_initHierarchy</a> |
|
2041 |
|
2042 |
|
2043 |
|
2044 </li> |
|
2045 |
|
2046 <li class="index-item method private inherited"> |
|
2047 <a href="#method__initHierarchyData">_initHierarchyData</a> |
|
2048 |
|
2049 |
|
2050 |
|
2051 </li> |
|
2052 |
|
2053 <li class="index-item method private inherited"> |
|
2054 <a href="#method__initNode">_initNode</a> |
|
2055 |
|
2056 |
|
2057 |
|
2058 </li> |
|
2059 |
|
2060 <li class="index-item method private inherited"> |
|
2061 <a href="#method__initUIEvent">_initUIEvent</a> |
|
2062 |
|
2063 |
|
2064 |
|
2065 </li> |
|
2066 |
|
2067 <li class="index-item method private inherited"> |
|
2068 <a href="#method__isLazyAttr">_isLazyAttr</a> |
|
2069 |
|
2070 |
|
2071 |
|
2072 </li> |
|
2073 |
|
2074 <li class="index-item method private inherited"> |
|
2075 <a href="#method__isUIEvent">_isUIEvent</a> |
|
2076 |
|
2077 |
|
2078 |
|
2079 </li> |
|
2080 |
|
2081 <li class="index-item method protected inherited"> |
|
2082 <a href="#method__mapInstance">_mapInstance</a> |
|
2083 |
|
2084 |
|
2085 |
|
2086 </li> |
|
2087 |
|
2088 <li class="index-item method private inherited"> |
|
2089 <a href="#method__monitor">_monitor</a> |
|
2090 |
|
2091 |
|
2092 |
|
2093 </li> |
|
2094 |
|
2095 <li class="index-item method private inherited"> |
|
2096 <a href="#method__normAttrVals">_normAttrVals</a> |
|
2097 |
|
2098 |
|
2099 |
|
2100 </li> |
|
2101 |
|
2102 <li class="index-item method protected inherited"> |
|
2103 <a href="#method__onDocFocus">_onDocFocus</a> |
|
2104 |
|
2105 |
|
2106 |
|
2107 </li> |
|
2108 |
|
2109 <li class="index-item method protected inherited"> |
|
2110 <a href="#method__onDocMouseDown">_onDocMouseDown</a> |
|
2111 |
|
2112 |
|
2113 |
|
2114 </li> |
|
2115 |
|
2116 <li class="index-item method private inherited"> |
|
2117 <a href="#method__parseType">_parseType</a> |
|
2118 |
|
2119 |
|
2120 |
|
2121 </li> |
|
2122 |
|
2123 <li class="index-item method private inherited"> |
|
2124 <a href="#method__preInitEventCfg">_preInitEventCfg</a> |
|
2125 |
|
2126 |
|
2127 |
|
2128 </li> |
|
2129 |
|
2130 <li class="index-item method protected deprecated inherited"> |
|
2131 <a href="#method__protectAttrs">_protectAttrs</a> |
|
2132 |
|
2133 |
|
2134 |
|
2135 <span class="flag deprecated">deprecated</span> |
|
2136 |
|
2137 </li> |
|
2138 |
|
2139 <li class="index-item method private inherited"> |
|
2140 <a href="#method__publish">_publish</a> |
|
2141 |
|
2142 |
|
2143 |
|
2144 </li> |
|
2145 |
|
2146 <li class="index-item method protected inherited"> |
|
2147 <a href="#method__removeLoadingClassNames">_removeLoadingClassNames</a> |
|
2148 |
|
2149 |
|
2150 |
|
2151 </li> |
|
2152 |
|
2153 <li class="index-item method private inherited"> |
|
2154 <a href="#method__renderBox">_renderBox</a> |
|
2155 |
|
2156 |
|
2157 |
|
2158 </li> |
|
2159 |
|
2160 <li class="index-item method protected inherited"> |
|
2161 <a href="#method__renderBoxClassNames">_renderBoxClassNames</a> |
|
2162 |
|
2163 |
|
2164 |
|
2165 </li> |
|
2166 |
|
2167 <li class="index-item method protected inherited"> |
|
2168 <a href="#method__renderUI">_renderUI</a> |
|
2169 |
|
2170 |
|
2171 |
|
2172 </li> |
|
2173 |
|
2174 <li class="index-item method protected inherited inherited"> |
|
2175 <a href="#method__set">_set</a> |
|
2176 |
|
2177 |
|
2178 |
|
2179 </li> |
|
2180 |
|
2181 <li class="index-item method protected inherited"> |
|
2182 <a href="#method__setAttr">_setAttr</a> |
|
2183 |
|
2184 |
|
2185 |
|
2186 </li> |
|
2187 |
|
2188 <li class="index-item method protected inherited inherited"> |
|
2189 <a href="#method__setAttrs">_setAttrs</a> |
|
2190 |
|
2191 |
|
2192 |
|
2193 </li> |
|
2194 |
|
2195 <li class="index-item method private inherited"> |
|
2196 <a href="#method__setAttrUI">_setAttrUI</a> |
|
2197 |
|
2198 |
|
2199 |
|
2200 </li> |
|
2201 |
|
2202 <li class="index-item method private inherited"> |
|
2203 <a href="#method__setAttrVal">_setAttrVal</a> |
|
2204 |
|
2205 |
|
2206 |
|
2207 </li> |
|
2208 |
|
2209 <li class="index-item method private inherited"> |
|
2210 <a href="#method__setBB">_setBB</a> |
|
2211 |
|
2212 |
|
2213 |
|
2214 </li> |
|
2215 |
|
2216 <li class="index-item method private inherited"> |
|
2217 <a href="#method__setBox">_setBox</a> |
|
2218 |
|
2219 |
|
2220 |
|
2221 </li> |
|
2222 |
|
2223 <li class="index-item method private inherited"> |
|
2224 <a href="#method__setCB">_setCB</a> |
|
2225 |
|
2226 |
|
2227 |
|
2228 </li> |
|
2229 |
|
2230 <li class="index-item method private inherited"> |
|
2231 <a href="#method__setStateVal">_setStateVal</a> |
|
2232 |
|
2233 |
|
2234 |
|
2235 </li> |
|
2236 |
|
2237 <li class="index-item method protected inherited"> |
|
2238 <a href="#method__setStrings">_setStrings</a> |
|
2239 |
|
2240 |
|
2241 |
|
2242 </li> |
|
2243 |
|
2244 <li class="index-item method protected inherited"> |
|
2245 <a href="#method__strSetter">_strSetter</a> |
|
2246 |
|
2247 |
|
2248 |
|
2249 </li> |
|
2250 |
|
2251 <li class="index-item method private inherited"> |
|
2252 <a href="#method__syncAttrUI">_syncAttrUI</a> |
|
2253 |
|
2254 |
|
2255 |
|
2256 </li> |
|
2257 |
|
2258 <li class="index-item method protected inherited"> |
|
2259 <a href="#method__syncUI">_syncUI</a> |
|
2260 |
|
2261 |
|
2262 |
|
2263 </li> |
|
2264 |
|
2265 <li class="index-item method protected inherited"> |
|
2266 <a href="#method__syncUIChild">_syncUIChild</a> |
|
2267 |
|
2268 |
|
2269 |
|
2270 </li> |
|
2271 |
|
2272 <li class="index-item method protected inherited"> |
|
2273 <a href="#method__uiSetChildSelected">_uiSetChildSelected</a> |
|
2274 |
|
2275 |
|
2276 |
|
2277 </li> |
|
2278 |
|
2279 <li class="index-item method private inherited"> |
|
2280 <a href="#method__uiSetDim">_uiSetDim</a> |
|
2281 |
|
2282 |
|
2283 |
|
2284 </li> |
|
2285 |
|
2286 <li class="index-item method private inherited inherited"> |
|
2287 <a href="#method__uiSetDisabled">_uiSetDisabled</a> |
|
2288 |
|
2289 |
|
2290 |
|
2291 </li> |
|
2292 |
|
2293 <li class="index-item method protected inherited"> |
|
2294 <a href="#method__uiSetFocused">_uiSetFocused</a> |
|
2295 |
|
2296 |
|
2297 |
|
2298 </li> |
|
2299 |
|
2300 <li class="index-item method protected inherited"> |
|
2301 <a href="#method__uiSetHeight">_uiSetHeight</a> |
|
2302 |
|
2303 |
|
2304 |
|
2305 </li> |
|
2306 |
|
2307 <li class="index-item method private inherited"> |
|
2308 <a href="#method__uiSetLabel">_uiSetLabel</a> |
|
2309 |
|
2310 |
|
2311 |
|
2312 </li> |
|
2313 |
|
2314 <li class="index-item method private"> |
|
2315 <a href="#method__uiSetSelected">_uiSetSelected</a> |
|
2316 |
|
2317 |
|
2318 |
|
2319 </li> |
|
2320 |
|
2321 <li class="index-item method protected inherited"> |
|
2322 <a href="#method__uiSetTabIndex">_uiSetTabIndex</a> |
|
2323 |
|
2324 |
|
2325 |
|
2326 </li> |
|
2327 |
|
2328 <li class="index-item method protected inherited"> |
|
2329 <a href="#method__uiSetVisible">_uiSetVisible</a> |
|
2330 |
|
2331 |
|
2332 |
|
2333 </li> |
|
2334 |
|
2335 <li class="index-item method protected inherited"> |
|
2336 <a href="#method__uiSetWidth">_uiSetWidth</a> |
|
2337 |
|
2338 |
|
2339 |
|
2340 </li> |
|
2341 |
|
2342 <li class="index-item method protected inherited"> |
|
2343 <a href="#method__uiSizeCB">_uiSizeCB</a> |
|
2344 |
|
2345 |
|
2346 |
|
2347 </li> |
|
2348 |
|
2349 <li class="index-item method protected inherited"> |
|
2350 <a href="#method__unbindDOM">_unbindDOM</a> |
|
2351 |
|
2352 |
|
2353 |
|
2354 </li> |
|
2355 |
|
2356 <li class="index-item method protected inherited"> |
|
2357 <a href="#method__unbindUI">_unbindUI</a> |
|
2358 |
|
2359 |
|
2360 |
|
2361 </li> |
|
2362 |
|
2363 <li class="index-item method protected inherited"> |
|
2364 <a href="#method__validTabIndex">_validTabIndex</a> |
|
2365 |
|
2366 |
|
2367 |
|
2368 </li> |
|
2369 |
|
2370 <li class="index-item method inherited"> |
|
2371 <a href="#method_addAttr">addAttr</a> |
|
2372 |
|
2373 |
|
2374 |
|
2375 </li> |
|
2376 |
|
2377 <li class="index-item method inherited"> |
|
2378 <a href="#method_addAttrs">addAttrs</a> |
|
2379 |
|
2380 |
|
2381 |
|
2382 </li> |
|
2383 |
|
2384 <li class="index-item method inherited"> |
|
2385 <a href="#method_addTarget">addTarget</a> |
|
2386 |
|
2387 |
|
2388 |
|
2389 </li> |
|
2390 |
|
2391 <li class="index-item method inherited"> |
|
2392 <a href="#method_after">after</a> |
|
2393 |
|
2394 |
|
2395 |
|
2396 </li> |
|
2397 |
|
2398 <li class="index-item method inherited"> |
|
2399 <a href="#method_ancestor">ancestor</a> |
|
2400 |
|
2401 |
|
2402 |
|
2403 </li> |
|
2404 |
|
2405 <li class="index-item method inherited"> |
|
2406 <a href="#method_attrAdded">attrAdded</a> |
|
2407 |
|
2408 |
|
2409 |
|
2410 </li> |
|
2411 |
|
2412 <li class="index-item method inherited"> |
|
2413 <a href="#method_before">before</a> |
|
2414 |
|
2415 |
|
2416 |
|
2417 </li> |
|
2418 |
|
2419 <li class="index-item method inherited"> |
|
2420 <a href="#method_bindUI">bindUI</a> |
|
2421 |
|
2422 |
|
2423 |
|
2424 </li> |
|
2425 |
|
2426 <li class="index-item method inherited"> |
|
2427 <a href="#method_blur">blur</a> |
|
2428 |
|
2429 |
|
2430 |
|
2431 </li> |
|
2432 |
|
2433 <li class="index-item method inherited"> |
|
2434 <a href="#method_bubble">bubble</a> |
|
2435 |
|
2436 |
|
2437 |
|
2438 </li> |
|
2439 |
|
2440 <li class="index-item method inherited inherited"> |
|
2441 <a href="#method_destroy">destroy</a> |
|
2442 |
|
2443 |
|
2444 |
|
2445 </li> |
|
2446 |
|
2447 <li class="index-item method inherited"> |
|
2448 <a href="#method_destructor">destructor</a> |
|
2449 |
|
2450 |
|
2451 |
|
2452 </li> |
|
2453 |
|
2454 <li class="index-item method inherited"> |
|
2455 <a href="#method_detach">detach</a> |
|
2456 |
|
2457 |
|
2458 |
|
2459 </li> |
|
2460 |
|
2461 <li class="index-item method inherited"> |
|
2462 <a href="#method_detachAll">detachAll</a> |
|
2463 |
|
2464 |
|
2465 |
|
2466 </li> |
|
2467 |
|
2468 <li class="index-item method public inherited inherited"> |
|
2469 <a href="#method_disable">disable</a> |
|
2470 |
|
2471 |
|
2472 |
|
2473 </li> |
|
2474 |
|
2475 <li class="index-item method public inherited inherited"> |
|
2476 <a href="#method_enable">enable</a> |
|
2477 |
|
2478 |
|
2479 |
|
2480 </li> |
|
2481 |
|
2482 <li class="index-item method inherited"> |
|
2483 <a href="#method_fire">fire</a> |
|
2484 |
|
2485 |
|
2486 |
|
2487 </li> |
|
2488 |
|
2489 <li class="index-item method inherited"> |
|
2490 <a href="#method_focus">focus</a> |
|
2491 |
|
2492 |
|
2493 |
|
2494 </li> |
|
2495 |
|
2496 <li class="index-item method inherited"> |
|
2497 <a href="#method_get">get</a> |
|
2498 |
|
2499 |
|
2500 |
|
2501 </li> |
|
2502 |
|
2503 <li class="index-item method inherited"> |
|
2504 <a href="#method_getAttrs">getAttrs</a> |
|
2505 |
|
2506 |
|
2507 |
|
2508 </li> |
|
2509 |
|
2510 <li class="index-item method inherited inherited"> |
|
2511 <a href="#method_getClassName">getClassName</a> |
|
2512 |
|
2513 |
|
2514 |
|
2515 </li> |
|
2516 |
|
2517 <li class="index-item method inherited"> |
|
2518 <a href="#method_getDefaultLocale">getDefaultLocale</a> |
|
2519 |
|
2520 |
|
2521 |
|
2522 </li> |
|
2523 |
|
2524 <li class="index-item method inherited"> |
|
2525 <a href="#method_getEvent">getEvent</a> |
|
2526 |
|
2527 |
|
2528 |
|
2529 </li> |
|
2530 |
|
2531 <li class="index-item method public inherited"> |
|
2532 <a href="#method_getNode">getNode</a> |
|
2533 |
|
2534 |
|
2535 |
|
2536 </li> |
|
2537 |
|
2538 <li class="index-item method inherited"> |
|
2539 <a href="#method_getSkinName">getSkinName</a> |
|
2540 |
|
2541 |
|
2542 |
|
2543 </li> |
|
2544 |
|
2545 <li class="index-item method deprecated inherited inherited"> |
|
2546 <a href="#method_getString">getString</a> |
|
2547 |
|
2548 |
|
2549 |
|
2550 <span class="flag deprecated">deprecated</span> |
|
2551 |
|
2552 </li> |
|
2553 |
|
2554 <li class="index-item method deprecated inherited inherited"> |
|
2555 <a href="#method_getStrings">getStrings</a> |
|
2556 |
|
2557 |
|
2558 |
|
2559 <span class="flag deprecated">deprecated</span> |
|
2560 |
|
2561 </li> |
|
2562 |
|
2563 <li class="index-item method inherited"> |
|
2564 <a href="#method_getTargets">getTargets</a> |
|
2565 |
|
2566 |
|
2567 |
|
2568 </li> |
|
2569 |
|
2570 <li class="index-item method inherited"> |
|
2571 <a href="#method_hide">hide</a> |
|
2572 |
|
2573 |
|
2574 |
|
2575 </li> |
|
2576 |
|
2577 <li class="index-item method inherited inherited"> |
|
2578 <a href="#method_init">init</a> |
|
2579 |
|
2580 |
|
2581 |
|
2582 </li> |
|
2583 |
|
2584 <li class="index-item method inherited"> |
|
2585 <a href="#method_initializer">initializer</a> |
|
2586 |
|
2587 |
|
2588 |
|
2589 </li> |
|
2590 |
|
2591 <li class="index-item method inherited"> |
|
2592 <a href="#method_isRoot">isRoot</a> |
|
2593 |
|
2594 |
|
2595 |
|
2596 </li> |
|
2597 |
|
2598 <li class="index-item method inherited"> |
|
2599 <a href="#method_modifyAttr">modifyAttr</a> |
|
2600 |
|
2601 |
|
2602 |
|
2603 </li> |
|
2604 |
|
2605 <li class="index-item method inherited"> |
|
2606 <a href="#method_next">next</a> |
|
2607 |
|
2608 |
|
2609 |
|
2610 </li> |
|
2611 |
|
2612 <li class="index-item method inherited"> |
|
2613 <a href="#method_on">on</a> |
|
2614 |
|
2615 |
|
2616 |
|
2617 </li> |
|
2618 |
|
2619 <li class="index-item method inherited"> |
|
2620 <a href="#method_once">once</a> |
|
2621 |
|
2622 |
|
2623 |
|
2624 </li> |
|
2625 |
|
2626 <li class="index-item method inherited"> |
|
2627 <a href="#method_onceAfter">onceAfter</a> |
|
2628 |
|
2629 |
|
2630 |
|
2631 </li> |
|
2632 |
|
2633 <li class="index-item method inherited"> |
|
2634 <a href="#method_parseType">parseType</a> |
|
2635 |
|
2636 |
|
2637 |
|
2638 </li> |
|
2639 |
|
2640 <li class="index-item method inherited"> |
|
2641 <a href="#method_previous">previous</a> |
|
2642 |
|
2643 |
|
2644 |
|
2645 </li> |
|
2646 |
|
2647 <li class="index-item method inherited"> |
|
2648 <a href="#method_publish">publish</a> |
|
2649 |
|
2650 |
|
2651 |
|
2652 </li> |
|
2653 |
|
2654 <li class="index-item method inherited"> |
|
2655 <a href="#method_removeAttr">removeAttr</a> |
|
2656 |
|
2657 |
|
2658 |
|
2659 </li> |
|
2660 |
|
2661 <li class="index-item method inherited"> |
|
2662 <a href="#method_removeTarget">removeTarget</a> |
|
2663 |
|
2664 |
|
2665 |
|
2666 </li> |
|
2667 |
|
2668 <li class="index-item method inherited"> |
|
2669 <a href="#method_render">render</a> |
|
2670 |
|
2671 |
|
2672 |
|
2673 </li> |
|
2674 |
|
2675 <li class="index-item method protected inherited"> |
|
2676 <a href="#method_renderer">renderer</a> |
|
2677 |
|
2678 |
|
2679 |
|
2680 </li> |
|
2681 |
|
2682 <li class="index-item method private inherited inherited"> |
|
2683 <a href="#method_renderUI">renderUI</a> |
|
2684 |
|
2685 |
|
2686 |
|
2687 </li> |
|
2688 |
|
2689 <li class="index-item method inherited"> |
|
2690 <a href="#method_reset">reset</a> |
|
2691 |
|
2692 |
|
2693 |
|
2694 </li> |
|
2695 |
|
2696 <li class="index-item method inherited inherited"> |
|
2697 <a href="#method_set">set</a> |
|
2698 |
|
2699 |
|
2700 |
|
2701 </li> |
|
2702 |
|
2703 <li class="index-item method inherited inherited"> |
|
2704 <a href="#method_setAttrs">setAttrs</a> |
|
2705 |
|
2706 |
|
2707 |
|
2708 </li> |
|
2709 |
|
2710 <li class="index-item method inherited"> |
|
2711 <a href="#method_show">show</a> |
|
2712 |
|
2713 |
|
2714 |
|
2715 </li> |
|
2716 |
|
2717 <li class="index-item method deprecated inherited"> |
|
2718 <a href="#method_subscribe">subscribe</a> |
|
2719 |
|
2720 |
|
2721 |
|
2722 <span class="flag deprecated">deprecated</span> |
|
2723 |
|
2724 </li> |
|
2725 |
|
2726 <li class="index-item method inherited"> |
|
2727 <a href="#method_syncUI">syncUI</a> |
|
2728 |
|
2729 |
|
2730 |
|
2731 </li> |
|
2732 |
|
2733 <li class="index-item method public"> |
|
2734 <a href="#method_toggle">toggle</a> |
|
2735 |
|
2736 |
|
2737 |
|
2738 </li> |
|
2739 |
|
2740 <li class="index-item method inherited inherited"> |
|
2741 <a href="#method_toString">toString</a> |
|
2742 |
|
2743 |
|
2744 |
|
2745 </li> |
|
2746 |
|
2747 <li class="index-item method deprecated inherited"> |
|
2748 <a href="#method_unsubscribe">unsubscribe</a> |
|
2749 |
|
2750 |
|
2751 |
|
2752 <span class="flag deprecated">deprecated</span> |
|
2753 |
|
2754 </li> |
|
2755 |
|
2756 <li class="index-item method deprecated inherited"> |
|
2757 <a href="#method_unsubscribeAll">unsubscribeAll</a> |
|
2758 |
|
2759 |
|
2760 |
|
2761 <span class="flag deprecated">deprecated</span> |
|
2762 |
|
2763 </li> |
|
2764 |
|
2765 </ul> |
|
2766 </div> |
|
2767 |
|
2768 |
|
2769 |
|
2770 <div class="index-section properties"> |
|
2771 <h3>Properties</h3> |
|
2772 |
|
2773 <ul class="index-list properties extends"> |
|
2774 |
|
2775 <li class="index-item property protected inherited"> |
|
2776 <a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a> |
|
2777 |
|
2778 |
|
2779 |
|
2780 </li> |
|
2781 |
|
2782 <li class="index-item property private inherited"> |
|
2783 <a href="#property__UI_ATTRS">_UI_ATTRS</a> |
|
2784 |
|
2785 |
|
2786 |
|
2787 </li> |
|
2788 |
|
2789 <li class="index-item property protected"> |
|
2790 <a href="#property_ARIA_ROLES">ARIA_ROLES</a> |
|
2791 |
|
2792 |
|
2793 <span class="flag static">static</span> |
|
2794 |
|
2795 |
|
2796 </li> |
|
2797 |
|
2798 <li class="index-item property protected"> |
|
2799 <a href="#property_ARIA_STATES">ARIA_STATES</a> |
|
2800 |
|
2801 |
|
2802 <span class="flag static">static</span> |
|
2803 |
|
2804 |
|
2805 </li> |
|
2806 |
|
2807 <li class="index-item property protected"> |
|
2808 <a href="#property_ATTRS">ATTRS</a> |
|
2809 |
|
2810 |
|
2811 <span class="flag static">static</span> |
|
2812 |
|
2813 |
|
2814 </li> |
|
2815 |
|
2816 <li class="index-item property inherited inherited"> |
|
2817 <a href="#property_BOUNDING_TEMPLATE">BOUNDING_TEMPLATE</a> |
|
2818 |
|
2819 |
|
2820 |
|
2821 </li> |
|
2822 |
|
2823 <li class="index-item property"> |
|
2824 <a href="#property_CLASS_NAMES">CLASS_NAMES</a> |
|
2825 |
|
2826 |
|
2827 <span class="flag static">static</span> |
|
2828 |
|
2829 |
|
2830 </li> |
|
2831 |
|
2832 <li class="index-item property private inherited"> |
|
2833 <a href="#property_constructor">constructor</a> |
|
2834 |
|
2835 |
|
2836 |
|
2837 </li> |
|
2838 |
|
2839 <li class="index-item property inherited inherited"> |
|
2840 <a href="#property_CONTENT_TEMPLATE">CONTENT_TEMPLATE</a> |
|
2841 |
|
2842 |
|
2843 |
|
2844 </li> |
|
2845 |
|
2846 <li class="index-item property inherited"> |
|
2847 <a href="#property_DEF_PARENT_NODE">DEF_PARENT_NODE</a> |
|
2848 |
|
2849 |
|
2850 |
|
2851 </li> |
|
2852 |
|
2853 <li class="index-item property inherited"> |
|
2854 <a href="#property_DEF_UNIT">DEF_UNIT</a> |
|
2855 |
|
2856 |
|
2857 |
|
2858 </li> |
|
2859 |
|
2860 <li class="index-item property protected"> |
|
2861 <a href="#property_HTML_PARSER">HTML_PARSER</a> |
|
2862 |
|
2863 |
|
2864 <span class="flag static">static</span> |
|
2865 |
|
2866 |
|
2867 </li> |
|
2868 |
|
2869 <li class="index-item property protected"> |
|
2870 <a href="#property_NAME">NAME</a> |
|
2871 |
|
2872 |
|
2873 <span class="flag static">static</span> |
|
2874 |
|
2875 |
|
2876 </li> |
|
2877 |
|
2878 <li class="index-item property deprecated inherited"> |
|
2879 <a href="#property_name">name</a> |
|
2880 |
|
2881 |
|
2882 |
|
2883 <span class="flag deprecated">deprecated</span> |
|
2884 |
|
2885 </li> |
|
2886 |
|
2887 <li class="index-item property"> |
|
2888 <a href="#property_selectedAttrName">selectedAttrName</a> |
|
2889 |
|
2890 |
|
2891 |
|
2892 </li> |
|
2893 |
|
2894 <li class="index-item property inherited"> |
|
2895 <a href="#property_TEMPLATE">TEMPLATE</a> |
|
2896 |
|
2897 |
|
2898 |
|
2899 </li> |
|
2900 |
|
2901 <li class="index-item property"> |
|
2902 <a href="#property_trigger">trigger</a> |
|
2903 |
|
2904 |
|
2905 |
|
2906 </li> |
|
2907 |
|
2908 <li class="index-item property inherited"> |
|
2909 <a href="#property_UI_EVENTS">UI_EVENTS</a> |
|
2910 |
|
2911 |
|
2912 |
|
2913 </li> |
|
2914 |
|
2915 </ul> |
|
2916 </div> |
|
2917 |
|
2918 |
|
2919 |
|
2920 <div class="index-section attrs"> |
|
2921 <h3>Attributes</h3> |
|
2922 |
|
2923 <ul class="index-list attrs extends"> |
|
2924 |
|
2925 <li class="index-item attr inherited"> |
|
2926 <a href="#attr_boundingBox">boundingBox</a> |
|
2927 </li> |
|
2928 |
|
2929 <li class="index-item attr inherited"> |
|
2930 <a href="#attr_contentBox">contentBox</a> |
|
2931 </li> |
|
2932 |
|
2933 <li class="index-item attr inherited"> |
|
2934 <a href="#attr_destroyed">destroyed</a> |
|
2935 </li> |
|
2936 |
|
2937 <li class="index-item attr inherited inherited"> |
|
2938 <a href="#attr_disabled">disabled</a> |
|
2939 </li> |
|
2940 |
|
2941 <li class="index-item attr inherited"> |
|
2942 <a href="#attr_focused">focused</a> |
|
2943 </li> |
|
2944 |
|
2945 <li class="index-item attr inherited"> |
|
2946 <a href="#attr_height">height</a> |
|
2947 </li> |
|
2948 |
|
2949 <li class="index-item attr inherited"> |
|
2950 <a href="#attr_id">id</a> |
|
2951 </li> |
|
2952 |
|
2953 <li class="index-item attr inherited"> |
|
2954 <a href="#attr_initialized">initialized</a> |
|
2955 </li> |
|
2956 |
|
2957 <li class="index-item attr inherited inherited"> |
|
2958 <a href="#attr_label">label</a> |
|
2959 </li> |
|
2960 |
|
2961 <li class="index-item attr deprecated inherited"> |
|
2962 <a href="#attr_locale">locale</a> |
|
2963 </li> |
|
2964 |
|
2965 <li class="index-item attr inherited"> |
|
2966 <a href="#attr_render">render</a> |
|
2967 </li> |
|
2968 |
|
2969 <li class="index-item attr inherited"> |
|
2970 <a href="#attr_rendered">rendered</a> |
|
2971 </li> |
|
2972 |
|
2973 <li class="index-item attr inherited"> |
|
2974 <a href="#attr_srcNode">srcNode</a> |
|
2975 </li> |
|
2976 |
|
2977 <li class="index-item attr inherited"> |
|
2978 <a href="#attr_strings">strings</a> |
|
2979 </li> |
|
2980 |
|
2981 <li class="index-item attr inherited"> |
|
2982 <a href="#attr_tabIndex">tabIndex</a> |
|
2983 </li> |
|
2984 |
|
2985 <li class="index-item attr"> |
|
2986 <a href="#attr_type">type</a> |
|
2987 </li> |
|
2988 |
|
2989 <li class="index-item attr inherited"> |
|
2990 <a href="#attr_visible">visible</a> |
|
2991 </li> |
|
2992 |
|
2993 <li class="index-item attr inherited"> |
|
2994 <a href="#attr_width">width</a> |
|
2995 </li> |
|
2996 |
|
2997 </ul> |
|
2998 </div> |
|
2999 |
|
3000 |
|
3001 |
|
3002 <div class="index-section events"> |
|
3003 <h3>Events</h3> |
|
3004 |
|
3005 <ul class="index-list events extends"> |
|
3006 |
|
3007 <li class="index-item event inherited"> |
|
3008 <a href="#event_destroy">destroy</a> |
|
3009 |
|
3010 |
|
3011 |
|
3012 </li> |
|
3013 |
|
3014 <li class="index-item event inherited"> |
|
3015 <a href="#event_init">init</a> |
|
3016 |
|
3017 |
|
3018 |
|
3019 </li> |
|
3020 |
|
3021 <li class="index-item event inherited"> |
|
3022 <a href="#event_render">render</a> |
|
3023 |
|
3024 |
|
3025 |
|
3026 </li> |
|
3027 |
|
3028 <li class="index-item event inherited"> |
|
3029 <a href="#event_widget:contentUpdate">widget:contentUpdate</a> |
|
3030 |
|
3031 |
|
3032 |
|
3033 </li> |
|
3034 |
|
3035 </ul> |
|
3036 </div> |
|
3037 |
|
3038 </div> |
|
3039 |
|
3040 |
|
3041 <div id="methods" class="api-class-tabpanel"> |
|
3042 <h2 class="off-left">Methods</h2> |
|
3043 |
|
3044 |
|
3045 <div id="method__addAttrs" class="method item private inherited"> |
|
3046 <h3 class="name"><code>_addAttrs</code></h3> |
|
3047 |
|
3048 |
|
3049 <div class="args"> |
|
3050 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3051 |
|
3052 <li class="arg"> |
|
3053 |
|
3054 <code>cfgs</code> |
|
3055 |
|
3056 </li> |
|
3057 |
|
3058 <li class="arg"> |
|
3059 |
|
3060 <code>values</code> |
|
3061 |
|
3062 </li> |
|
3063 |
|
3064 <li class="arg"> |
|
3065 |
|
3066 <code>lazy</code> |
|
3067 |
|
3068 </li> |
|
3069 |
|
3070 </ul><span class="paren">)</span> |
|
3071 </div> |
|
3072 |
|
3073 |
|
3074 |
|
3075 |
|
3076 |
|
3077 |
|
3078 |
|
3079 <span class="flag private">private</span> |
|
3080 |
|
3081 |
|
3082 |
|
3083 |
|
3084 |
|
3085 |
|
3086 |
|
3087 |
|
3088 |
|
3089 |
|
3090 <div class="meta"> |
|
3091 |
|
3092 |
|
3093 <p>Inherited from |
|
3094 <a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>: |
|
3095 |
|
3096 |
|
3097 |
|
3098 <a href="../files/attribute_js_AttributeCore.js.html#l836"><code>attribute/js/AttributeCore.js:836</code></a> |
|
3099 |
|
3100 </p> |
|
3101 |
|
3102 |
|
3103 |
|
3104 |
|
3105 |
|
3106 </div> |
|
3107 |
|
3108 <div class="description"> |
|
3109 <p>Implementation behind the public addAttrs method.</p> |
|
3110 |
|
3111 <p>This method is invoked directly by get if it encounters a scenario |
|
3112 in which an attribute's valueFn attempts to obtain the |
|
3113 value an attribute in the same group of attributes, which has not yet |
|
3114 been added (on demand initialization).</p> |
|
3115 </div> |
|
3116 |
|
3117 |
|
3118 <div class="params"> |
|
3119 <h4>Parameters:</h4> |
|
3120 |
|
3121 <ul class="params-list"> |
|
3122 |
|
3123 <li class="param"> |
|
3124 |
|
3125 <code class="param-name">cfgs</code> |
|
3126 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3127 |
|
3128 |
|
3129 |
|
3130 |
|
3131 <div class="param-description"> |
|
3132 <p>An object with attribute name/configuration pairs.</p> |
|
3133 </div> |
|
3134 |
|
3135 |
|
3136 </li> |
|
3137 |
|
3138 <li class="param"> |
|
3139 |
|
3140 <code class="param-name">values</code> |
|
3141 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3142 |
|
3143 |
|
3144 |
|
3145 |
|
3146 <div class="param-description"> |
|
3147 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
3148 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
3149 </div> |
|
3150 |
|
3151 |
|
3152 </li> |
|
3153 |
|
3154 <li class="param"> |
|
3155 |
|
3156 <code class="param-name">lazy</code> |
|
3157 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
3158 |
|
3159 |
|
3160 |
|
3161 |
|
3162 <div class="param-description"> |
|
3163 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
3164 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
3165 See <a href="#method_addAttr">addAttr</a>.</p> |
|
3166 </div> |
|
3167 |
|
3168 |
|
3169 </li> |
|
3170 |
|
3171 </ul> |
|
3172 </div> |
|
3173 |
|
3174 |
|
3175 |
|
3176 |
|
3177 |
|
3178 </div> |
|
3179 |
|
3180 |
|
3181 <div id="method__addLazyAttr" class="method item private inherited"> |
|
3182 <h3 class="name"><code>_addLazyAttr</code></h3> |
|
3183 |
|
3184 |
|
3185 <div class="args"> |
|
3186 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3187 |
|
3188 <li class="arg"> |
|
3189 |
|
3190 <code>name</code> |
|
3191 |
|
3192 </li> |
|
3193 |
|
3194 <li class="arg"> |
|
3195 |
|
3196 <code class="optional">[lazyCfg]</code> |
|
3197 |
|
3198 </li> |
|
3199 |
|
3200 </ul><span class="paren">)</span> |
|
3201 </div> |
|
3202 |
|
3203 |
|
3204 |
|
3205 |
|
3206 |
|
3207 |
|
3208 |
|
3209 <span class="flag private">private</span> |
|
3210 |
|
3211 |
|
3212 |
|
3213 |
|
3214 |
|
3215 |
|
3216 |
|
3217 |
|
3218 |
|
3219 |
|
3220 <div class="meta"> |
|
3221 |
|
3222 |
|
3223 <p>Inherited from |
|
3224 <a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>: |
|
3225 |
|
3226 |
|
3227 |
|
3228 <a href="../files/attribute_js_AttributeCore.js.html#l382"><code>attribute/js/AttributeCore.js:382</code></a> |
|
3229 |
|
3230 </p> |
|
3231 |
|
3232 |
|
3233 |
|
3234 |
|
3235 |
|
3236 </div> |
|
3237 |
|
3238 <div class="description"> |
|
3239 <p>Finishes initializing an attribute which has been lazily added.</p> |
|
3240 </div> |
|
3241 |
|
3242 |
|
3243 <div class="params"> |
|
3244 <h4>Parameters:</h4> |
|
3245 |
|
3246 <ul class="params-list"> |
|
3247 |
|
3248 <li class="param"> |
|
3249 |
|
3250 <code class="param-name">name</code> |
|
3251 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3252 |
|
3253 |
|
3254 |
|
3255 |
|
3256 <div class="param-description"> |
|
3257 <p>The name of the attribute</p> |
|
3258 </div> |
|
3259 |
|
3260 |
|
3261 </li> |
|
3262 |
|
3263 <li class="param"> |
|
3264 |
|
3265 <code class="param-name optional">[lazyCfg]</code> |
|
3266 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3267 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
3268 |
|
3269 |
|
3270 |
|
3271 |
|
3272 <div class="param-description"> |
|
3273 <p>Optional config hash for the attribute. This is added for performance |
|
3274 along the critical path, where the calling method has already obtained lazy config from state.</p> |
|
3275 </div> |
|
3276 |
|
3277 |
|
3278 </li> |
|
3279 |
|
3280 </ul> |
|
3281 </div> |
|
3282 |
|
3283 |
|
3284 |
|
3285 |
|
3286 |
|
3287 </div> |
|
3288 |
|
3289 |
|
3290 <div id="method__afterChildSelectedChange" class="method item protected inherited"> |
|
3291 <h3 class="name"><code>_afterChildSelectedChange</code></h3> |
|
3292 |
|
3293 |
|
3294 <div class="args"> |
|
3295 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3296 |
|
3297 <li class="arg"> |
|
3298 |
|
3299 <code>event</code> |
|
3300 |
|
3301 </li> |
|
3302 |
|
3303 </ul><span class="paren">)</span> |
|
3304 </div> |
|
3305 |
|
3306 |
|
3307 |
|
3308 |
|
3309 |
|
3310 |
|
3311 |
|
3312 <span class="flag protected">protected</span> |
|
3313 |
|
3314 |
|
3315 |
|
3316 |
|
3317 |
|
3318 |
|
3319 |
|
3320 |
|
3321 |
|
3322 |
|
3323 <div class="meta"> |
|
3324 |
|
3325 |
|
3326 <p>Inherited from |
|
3327 <a href="../classes/Widget.html#method__afterChildSelectedChange">Widget</a>: |
|
3328 |
|
3329 |
|
3330 |
|
3331 <a href="../files/widget-child_js_Widget-Child.js.html#l327"><code>widget-child/js/Widget-Child.js:327</code></a> |
|
3332 |
|
3333 </p> |
|
3334 |
|
3335 |
|
3336 |
|
3337 |
|
3338 |
|
3339 </div> |
|
3340 |
|
3341 <div class="description"> |
|
3342 <p>Default attribute change listener for the <code>selected</code> |
|
3343 attribute, responsible for updating the UI, in response to |
|
3344 attribute changes.</p> |
|
3345 </div> |
|
3346 |
|
3347 |
|
3348 <div class="params"> |
|
3349 <h4>Parameters:</h4> |
|
3350 |
|
3351 <ul class="params-list"> |
|
3352 |
|
3353 <li class="param"> |
|
3354 |
|
3355 <code class="param-name">event</code> |
|
3356 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
3357 |
|
3358 |
|
3359 |
|
3360 |
|
3361 <div class="param-description"> |
|
3362 <p>The event facade for the attribute change.</p> |
|
3363 </div> |
|
3364 |
|
3365 |
|
3366 </li> |
|
3367 |
|
3368 </ul> |
|
3369 </div> |
|
3370 |
|
3371 |
|
3372 |
|
3373 |
|
3374 |
|
3375 </div> |
|
3376 |
|
3377 |
|
3378 <div id="method__afterDisabledChange" class="method item private inherited"> |
|
3379 <h3 class="name"><code>_afterDisabledChange</code></h3> |
|
3380 |
|
3381 |
|
3382 <span class="paren">()</span> |
|
3383 |
|
3384 |
|
3385 |
|
3386 |
|
3387 |
|
3388 |
|
3389 |
|
3390 <span class="flag private">private</span> |
|
3391 |
|
3392 |
|
3393 |
|
3394 |
|
3395 |
|
3396 |
|
3397 |
|
3398 |
|
3399 |
|
3400 |
|
3401 <div class="meta"> |
|
3402 |
|
3403 |
|
3404 <p>Inherited from |
|
3405 <a href="../classes/Button.html#method__afterDisabledChange">Button</a>: |
|
3406 |
|
3407 |
|
3408 |
|
3409 <a href="../files/button_js_button.js.html#l93"><code>button/js/button.js:93</code></a> |
|
3410 |
|
3411 </p> |
|
3412 |
|
3413 |
|
3414 |
|
3415 |
|
3416 |
|
3417 </div> |
|
3418 |
|
3419 <div class="description"> |
|
3420 |
|
3421 </div> |
|
3422 |
|
3423 |
|
3424 |
|
3425 |
|
3426 |
|
3427 |
|
3428 </div> |
|
3429 |
|
3430 |
|
3431 <div id="method__afterLabelChange" class="method item private inherited"> |
|
3432 <h3 class="name"><code>_afterLabelChange</code></h3> |
|
3433 |
|
3434 |
|
3435 <span class="paren">()</span> |
|
3436 |
|
3437 |
|
3438 |
|
3439 |
|
3440 |
|
3441 |
|
3442 |
|
3443 <span class="flag private">private</span> |
|
3444 |
|
3445 |
|
3446 |
|
3447 |
|
3448 |
|
3449 |
|
3450 |
|
3451 |
|
3452 |
|
3453 |
|
3454 <div class="meta"> |
|
3455 |
|
3456 |
|
3457 <p>Inherited from |
|
3458 <a href="../classes/Button.html#method__afterLabelChange">Button</a>: |
|
3459 |
|
3460 |
|
3461 |
|
3462 <a href="../files/button_js_button.js.html#l85"><code>button/js/button.js:85</code></a> |
|
3463 |
|
3464 </p> |
|
3465 |
|
3466 |
|
3467 |
|
3468 |
|
3469 |
|
3470 </div> |
|
3471 |
|
3472 <div class="description"> |
|
3473 |
|
3474 </div> |
|
3475 |
|
3476 |
|
3477 |
|
3478 |
|
3479 |
|
3480 |
|
3481 </div> |
|
3482 |
|
3483 |
|
3484 <div id="method__afterSelectedChange" class="method item private"> |
|
3485 <h3 class="name"><code>_afterSelectedChange</code></h3> |
|
3486 |
|
3487 |
|
3488 <span class="paren">()</span> |
|
3489 |
|
3490 |
|
3491 |
|
3492 |
|
3493 |
|
3494 |
|
3495 |
|
3496 <span class="flag private">private</span> |
|
3497 |
|
3498 |
|
3499 |
|
3500 |
|
3501 |
|
3502 |
|
3503 |
|
3504 |
|
3505 |
|
3506 |
|
3507 <div class="meta"> |
|
3508 |
|
3509 |
|
3510 |
|
3511 <p> |
|
3512 |
|
3513 Defined in |
|
3514 |
|
3515 |
|
3516 |
|
3517 |
|
3518 <a href="../files/button_js_button.js.html#l263"><code>button/js/button.js:263</code></a> |
|
3519 |
|
3520 </p> |
|
3521 |
|
3522 |
|
3523 |
|
3524 |
|
3525 |
|
3526 </div> |
|
3527 |
|
3528 <div class="description"> |
|
3529 |
|
3530 </div> |
|
3531 |
|
3532 |
|
3533 |
|
3534 |
|
3535 |
|
3536 |
|
3537 </div> |
|
3538 |
|
3539 |
|
3540 <div id="method__aggregateAttrs" class="method item private inherited"> |
|
3541 <h3 class="name"><code>_aggregateAttrs</code></h3> |
|
3542 |
|
3543 |
|
3544 <div class="args"> |
|
3545 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3546 |
|
3547 <li class="arg"> |
|
3548 |
|
3549 <code>allAttrs</code> |
|
3550 |
|
3551 </li> |
|
3552 |
|
3553 </ul><span class="paren">)</span> |
|
3554 </div> |
|
3555 |
|
3556 |
|
3557 |
|
3558 <span class="returns-inline"> |
|
3559 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3560 </span> |
|
3561 |
|
3562 |
|
3563 |
|
3564 |
|
3565 |
|
3566 <span class="flag private">private</span> |
|
3567 |
|
3568 |
|
3569 |
|
3570 |
|
3571 |
|
3572 |
|
3573 |
|
3574 |
|
3575 |
|
3576 |
|
3577 <div class="meta"> |
|
3578 |
|
3579 |
|
3580 <p>Inherited from |
|
3581 <a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>: |
|
3582 |
|
3583 |
|
3584 |
|
3585 <a href="../files/base_js_BaseCore.js.html#l575"><code>base/js/BaseCore.js:575</code></a> |
|
3586 |
|
3587 </p> |
|
3588 |
|
3589 |
|
3590 |
|
3591 |
|
3592 |
|
3593 </div> |
|
3594 |
|
3595 <div class="description"> |
|
3596 <p>A helper method, used by _initHierarchyData to aggregate |
|
3597 attribute configuration across the instances class hierarchy.</p> |
|
3598 |
|
3599 <p>The method will protect the attribute configuration value to protect the statically defined |
|
3600 default value in ATTRS if required (if the value is an object literal, array or the |
|
3601 attribute configuration has cloneDefaultValue set to shallow or deep).</p> |
|
3602 </div> |
|
3603 |
|
3604 |
|
3605 <div class="params"> |
|
3606 <h4>Parameters:</h4> |
|
3607 |
|
3608 <ul class="params-list"> |
|
3609 |
|
3610 <li class="param"> |
|
3611 |
|
3612 <code class="param-name">allAttrs</code> |
|
3613 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
3614 |
|
3615 |
|
3616 |
|
3617 |
|
3618 <div class="param-description"> |
|
3619 <p>An array of ATTRS definitions across classes in the hierarchy |
|
3620 (subclass first, Base last)</p> |
|
3621 </div> |
|
3622 |
|
3623 |
|
3624 </li> |
|
3625 |
|
3626 </ul> |
|
3627 </div> |
|
3628 |
|
3629 |
|
3630 |
|
3631 <div class="returns"> |
|
3632 <h4>Returns:</h4> |
|
3633 |
|
3634 <div class="returns-description"> |
|
3635 |
|
3636 |
|
3637 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3638 |
|
3639 The aggregate set of ATTRS definitions for the instance |
|
3640 |
|
3641 </div> |
|
3642 </div> |
|
3643 |
|
3644 |
|
3645 |
|
3646 </div> |
|
3647 |
|
3648 |
|
3649 <div id="method__applyParsedConfig" class="method item protected inherited"> |
|
3650 <h3 class="name"><code>_applyParsedConfig</code></h3> |
|
3651 |
|
3652 |
|
3653 <span class="paren">()</span> |
|
3654 |
|
3655 |
|
3656 |
|
3657 <span class="returns-inline"> |
|
3658 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3659 </span> |
|
3660 |
|
3661 |
|
3662 |
|
3663 |
|
3664 |
|
3665 <span class="flag protected">protected</span> |
|
3666 |
|
3667 |
|
3668 |
|
3669 |
|
3670 |
|
3671 |
|
3672 |
|
3673 |
|
3674 |
|
3675 |
|
3676 <div class="meta"> |
|
3677 |
|
3678 |
|
3679 <p>Inherited from |
|
3680 <a href="../classes/Widget.html#method__applyParsedConfig">Widget</a>: |
|
3681 |
|
3682 |
|
3683 |
|
3684 <a href="../files/widget_js_WidgetHTMLParser.js.html#l83"><code>widget/js/WidgetHTMLParser.js:83</code></a> |
|
3685 |
|
3686 </p> |
|
3687 |
|
3688 |
|
3689 |
|
3690 |
|
3691 |
|
3692 </div> |
|
3693 |
|
3694 <div class="description"> |
|
3695 |
|
3696 </div> |
|
3697 |
|
3698 |
|
3699 |
|
3700 |
|
3701 <div class="returns"> |
|
3702 <h4>Returns:</h4> |
|
3703 |
|
3704 <div class="returns-description"> |
|
3705 |
|
3706 |
|
3707 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
3708 |
|
3709 The merged configuration literal |
|
3710 |
|
3711 </div> |
|
3712 </div> |
|
3713 |
|
3714 |
|
3715 |
|
3716 </div> |
|
3717 |
|
3718 |
|
3719 <div id="method__applyParser" class="method item protected inherited"> |
|
3720 <h3 class="name"><code>_applyParser</code></h3> |
|
3721 |
|
3722 |
|
3723 <div class="args"> |
|
3724 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3725 |
|
3726 <li class="arg"> |
|
3727 |
|
3728 <code>config</code> |
|
3729 |
|
3730 </li> |
|
3731 |
|
3732 </ul><span class="paren">)</span> |
|
3733 </div> |
|
3734 |
|
3735 |
|
3736 |
|
3737 |
|
3738 |
|
3739 |
|
3740 |
|
3741 <span class="flag protected">protected</span> |
|
3742 |
|
3743 |
|
3744 |
|
3745 |
|
3746 |
|
3747 |
|
3748 |
|
3749 |
|
3750 |
|
3751 |
|
3752 <div class="meta"> |
|
3753 |
|
3754 |
|
3755 <p>Inherited from |
|
3756 <a href="../classes/Widget.html#method__applyParser">Widget</a>: |
|
3757 |
|
3758 |
|
3759 |
|
3760 <a href="../files/widget_js_WidgetHTMLParser.js.html#l92"><code>widget/js/WidgetHTMLParser.js:92</code></a> |
|
3761 |
|
3762 </p> |
|
3763 |
|
3764 |
|
3765 |
|
3766 |
|
3767 |
|
3768 </div> |
|
3769 |
|
3770 <div class="description"> |
|
3771 <p>Utility method used to apply the <code>HTML_PARSER</code> configuration for the |
|
3772 instance, to retrieve config data values.</p> |
|
3773 </div> |
|
3774 |
|
3775 |
|
3776 <div class="params"> |
|
3777 <h4>Parameters:</h4> |
|
3778 |
|
3779 <ul class="params-list"> |
|
3780 |
|
3781 <li class="param"> |
|
3782 |
|
3783 <code class="param-name">config</code> |
|
3784 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
3785 |
|
3786 |
|
3787 |
|
3788 |
|
3789 <div class="param-description"> |
|
3790 <p>User configuration object (will be populated with values from Node)</p> |
|
3791 </div> |
|
3792 |
|
3793 |
|
3794 </li> |
|
3795 |
|
3796 </ul> |
|
3797 </div> |
|
3798 |
|
3799 |
|
3800 |
|
3801 |
|
3802 |
|
3803 </div> |
|
3804 |
|
3805 |
|
3806 <div id="method__attrCfgHash" class="method item private inherited"> |
|
3807 <h3 class="name"><code>_attrCfgHash</code></h3> |
|
3808 |
|
3809 |
|
3810 <span class="paren">()</span> |
|
3811 |
|
3812 |
|
3813 |
|
3814 |
|
3815 |
|
3816 |
|
3817 |
|
3818 <span class="flag private">private</span> |
|
3819 |
|
3820 |
|
3821 |
|
3822 |
|
3823 |
|
3824 |
|
3825 |
|
3826 |
|
3827 |
|
3828 |
|
3829 <div class="meta"> |
|
3830 |
|
3831 |
|
3832 <p>Inherited from |
|
3833 <a href="../classes/BaseCore.html#method__attrCfgHash">BaseCore</a>: |
|
3834 |
|
3835 |
|
3836 |
|
3837 <a href="../files/base_js_BaseCore.js.html#l538"><code>base/js/BaseCore.js:538</code></a> |
|
3838 |
|
3839 </p> |
|
3840 |
|
3841 |
|
3842 |
|
3843 |
|
3844 |
|
3845 </div> |
|
3846 |
|
3847 <div class="description"> |
|
3848 <p>Utility method to define the attribute hash used to filter/whitelist property mixes for |
|
3849 this class for iteration performance reasons.</p> |
|
3850 </div> |
|
3851 |
|
3852 |
|
3853 |
|
3854 |
|
3855 |
|
3856 |
|
3857 </div> |
|
3858 |
|
3859 |
|
3860 <div id="method__baseDestroy" class="method item private inherited"> |
|
3861 <h3 class="name"><code>_baseDestroy</code></h3> |
|
3862 |
|
3863 |
|
3864 <span class="paren">()</span> |
|
3865 |
|
3866 |
|
3867 |
|
3868 |
|
3869 |
|
3870 |
|
3871 |
|
3872 <span class="flag private">private</span> |
|
3873 |
|
3874 |
|
3875 |
|
3876 |
|
3877 |
|
3878 |
|
3879 |
|
3880 |
|
3881 |
|
3882 |
|
3883 <div class="meta"> |
|
3884 |
|
3885 |
|
3886 <p>Inherited from |
|
3887 <a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>: |
|
3888 |
|
3889 |
|
3890 |
|
3891 <a href="../files/base_js_BaseCore.js.html#l309"><code>base/js/BaseCore.js:309</code></a> |
|
3892 |
|
3893 </p> |
|
3894 |
|
3895 |
|
3896 |
|
3897 |
|
3898 |
|
3899 </div> |
|
3900 |
|
3901 <div class="description"> |
|
3902 <p>Internal destroy implementation for BaseCore</p> |
|
3903 </div> |
|
3904 |
|
3905 |
|
3906 |
|
3907 |
|
3908 |
|
3909 |
|
3910 </div> |
|
3911 |
|
3912 |
|
3913 <div id="method__baseInit" class="method item private inherited"> |
|
3914 <h3 class="name"><code>_baseInit</code></h3> |
|
3915 |
|
3916 |
|
3917 <span class="paren">()</span> |
|
3918 |
|
3919 |
|
3920 |
|
3921 |
|
3922 |
|
3923 |
|
3924 |
|
3925 <span class="flag private">private</span> |
|
3926 |
|
3927 |
|
3928 |
|
3929 |
|
3930 |
|
3931 |
|
3932 |
|
3933 |
|
3934 |
|
3935 |
|
3936 <div class="meta"> |
|
3937 |
|
3938 |
|
3939 <p>Inherited from |
|
3940 <a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>: |
|
3941 |
|
3942 |
|
3943 |
|
3944 <a href="../files/base_js_BaseCore.js.html#l281"><code>base/js/BaseCore.js:281</code></a> |
|
3945 |
|
3946 </p> |
|
3947 |
|
3948 |
|
3949 |
|
3950 |
|
3951 |
|
3952 </div> |
|
3953 |
|
3954 <div class="description"> |
|
3955 <p>Internal initialization implementation for BaseCore</p> |
|
3956 </div> |
|
3957 |
|
3958 |
|
3959 |
|
3960 |
|
3961 |
|
3962 |
|
3963 </div> |
|
3964 |
|
3965 |
|
3966 <div id="method__bindAttrUI" class="method item private inherited"> |
|
3967 <h3 class="name"><code>_bindAttrUI</code></h3> |
|
3968 |
|
3969 |
|
3970 <div class="args"> |
|
3971 <span class="paren">(</span><ul class="args-list inline commas"> |
|
3972 |
|
3973 <li class="arg"> |
|
3974 |
|
3975 <code>attrs</code> |
|
3976 |
|
3977 </li> |
|
3978 |
|
3979 </ul><span class="paren">)</span> |
|
3980 </div> |
|
3981 |
|
3982 |
|
3983 |
|
3984 |
|
3985 |
|
3986 |
|
3987 |
|
3988 <span class="flag private">private</span> |
|
3989 |
|
3990 |
|
3991 |
|
3992 |
|
3993 |
|
3994 |
|
3995 |
|
3996 |
|
3997 |
|
3998 |
|
3999 <div class="meta"> |
|
4000 |
|
4001 |
|
4002 <p>Inherited from |
|
4003 <a href="../classes/Widget.html#method__bindAttrUI">Widget</a>: |
|
4004 |
|
4005 |
|
4006 |
|
4007 <a href="../files/widget_js_Widget.js.html#l1170"><code>widget/js/Widget.js:1170</code></a> |
|
4008 |
|
4009 </p> |
|
4010 |
|
4011 |
|
4012 |
|
4013 |
|
4014 |
|
4015 </div> |
|
4016 |
|
4017 <div class="description"> |
|
4018 <p>Binds after listeners for the list of attributes provided</p> |
|
4019 </div> |
|
4020 |
|
4021 |
|
4022 <div class="params"> |
|
4023 <h4>Parameters:</h4> |
|
4024 |
|
4025 <ul class="params-list"> |
|
4026 |
|
4027 <li class="param"> |
|
4028 |
|
4029 <code class="param-name">attrs</code> |
|
4030 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
4031 |
|
4032 |
|
4033 |
|
4034 |
|
4035 <div class="param-description"> |
|
4036 |
|
4037 </div> |
|
4038 |
|
4039 |
|
4040 </li> |
|
4041 |
|
4042 </ul> |
|
4043 </div> |
|
4044 |
|
4045 |
|
4046 |
|
4047 |
|
4048 |
|
4049 </div> |
|
4050 |
|
4051 |
|
4052 <div id="method__bindDOM" class="method item protected inherited"> |
|
4053 <h3 class="name"><code>_bindDOM</code></h3> |
|
4054 |
|
4055 |
|
4056 <span class="paren">()</span> |
|
4057 |
|
4058 |
|
4059 |
|
4060 |
|
4061 |
|
4062 |
|
4063 |
|
4064 <span class="flag protected">protected</span> |
|
4065 |
|
4066 |
|
4067 |
|
4068 |
|
4069 |
|
4070 |
|
4071 |
|
4072 |
|
4073 |
|
4074 |
|
4075 <div class="meta"> |
|
4076 |
|
4077 |
|
4078 <p>Inherited from |
|
4079 <a href="../classes/Widget.html#method__bindDOM">Widget</a>: |
|
4080 |
|
4081 |
|
4082 |
|
4083 <a href="../files/widget_js_Widget.js.html#l902"><code>widget/js/Widget.js:902</code></a> |
|
4084 |
|
4085 </p> |
|
4086 |
|
4087 |
|
4088 |
|
4089 |
|
4090 |
|
4091 </div> |
|
4092 |
|
4093 <div class="description"> |
|
4094 <p>Sets up DOM listeners, on elements rendered by the widget.</p> |
|
4095 </div> |
|
4096 |
|
4097 |
|
4098 |
|
4099 |
|
4100 |
|
4101 |
|
4102 </div> |
|
4103 |
|
4104 |
|
4105 <div id="method__bindUI" class="method item protected inherited"> |
|
4106 <h3 class="name"><code>_bindUI</code></h3> |
|
4107 |
|
4108 |
|
4109 <span class="paren">()</span> |
|
4110 |
|
4111 |
|
4112 |
|
4113 |
|
4114 |
|
4115 |
|
4116 |
|
4117 <span class="flag protected">protected</span> |
|
4118 |
|
4119 |
|
4120 |
|
4121 |
|
4122 |
|
4123 |
|
4124 |
|
4125 |
|
4126 |
|
4127 |
|
4128 <div class="meta"> |
|
4129 |
|
4130 |
|
4131 <p>Inherited from |
|
4132 <a href="../classes/Widget.html#method__bindUI">Widget</a>: |
|
4133 |
|
4134 |
|
4135 |
|
4136 <a href="../files/widget_js_Widget.js.html#l883"><code>widget/js/Widget.js:883</code></a> |
|
4137 |
|
4138 </p> |
|
4139 |
|
4140 |
|
4141 |
|
4142 |
|
4143 |
|
4144 </div> |
|
4145 |
|
4146 <div class="description"> |
|
4147 <p>Sets up DOM and CustomEvent listeners for the widget.</p> |
|
4148 </div> |
|
4149 |
|
4150 |
|
4151 |
|
4152 |
|
4153 |
|
4154 |
|
4155 </div> |
|
4156 |
|
4157 |
|
4158 <div id="method__bindUIChild" class="method item protected inherited"> |
|
4159 <h3 class="name"><code>_bindUIChild</code></h3> |
|
4160 |
|
4161 |
|
4162 <span class="paren">()</span> |
|
4163 |
|
4164 |
|
4165 |
|
4166 |
|
4167 |
|
4168 |
|
4169 |
|
4170 <span class="flag protected">protected</span> |
|
4171 |
|
4172 |
|
4173 |
|
4174 |
|
4175 |
|
4176 |
|
4177 |
|
4178 |
|
4179 |
|
4180 |
|
4181 <div class="meta"> |
|
4182 |
|
4183 |
|
4184 <p>Inherited from |
|
4185 <a href="../classes/Widget.html#method__bindUIChild">Widget</a>: |
|
4186 |
|
4187 |
|
4188 |
|
4189 <a href="../files/widget-child_js_Widget-Child.js.html#l356"><code>widget-child/js/Widget-Child.js:356</code></a> |
|
4190 |
|
4191 </p> |
|
4192 |
|
4193 |
|
4194 |
|
4195 |
|
4196 |
|
4197 </div> |
|
4198 |
|
4199 <div class="description"> |
|
4200 <p>Binds event listeners responsible for updating the UI state in response |
|
4201 to WidgetChild related state changes.</p> |
|
4202 |
|
4203 <p> |
|
4204 This method is invoked after bindUI is invoked for the Widget class |
|
4205 using YUI's aop infrastructure. |
|
4206 </p> |
|
4207 </div> |
|
4208 |
|
4209 |
|
4210 |
|
4211 |
|
4212 |
|
4213 |
|
4214 </div> |
|
4215 |
|
4216 |
|
4217 <div id="method__cloneDefaultValue" class="method item private inherited"> |
|
4218 <h3 class="name"><code>_cloneDefaultValue</code></h3> |
|
4219 |
|
4220 |
|
4221 <div class="args"> |
|
4222 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4223 |
|
4224 <li class="arg"> |
|
4225 |
|
4226 <code>cfg</code> |
|
4227 |
|
4228 </li> |
|
4229 |
|
4230 </ul><span class="paren">)</span> |
|
4231 </div> |
|
4232 |
|
4233 |
|
4234 |
|
4235 |
|
4236 |
|
4237 |
|
4238 |
|
4239 <span class="flag private">private</span> |
|
4240 |
|
4241 |
|
4242 |
|
4243 |
|
4244 |
|
4245 |
|
4246 |
|
4247 |
|
4248 |
|
4249 |
|
4250 <div class="meta"> |
|
4251 |
|
4252 |
|
4253 <p>Inherited from |
|
4254 <a href="../classes/BaseCore.html#method__cloneDefaultValue">BaseCore</a>: |
|
4255 |
|
4256 |
|
4257 |
|
4258 <a href="../files/base_js_BaseCore.js.html#l549"><code>base/js/BaseCore.js:549</code></a> |
|
4259 |
|
4260 </p> |
|
4261 |
|
4262 |
|
4263 |
|
4264 |
|
4265 |
|
4266 </div> |
|
4267 |
|
4268 <div class="description"> |
|
4269 <p>This method assumes that the value has already been checked to be an object. |
|
4270 Since it's on a critical path, we don't want to re-do the check.</p> |
|
4271 </div> |
|
4272 |
|
4273 |
|
4274 <div class="params"> |
|
4275 <h4>Parameters:</h4> |
|
4276 |
|
4277 <ul class="params-list"> |
|
4278 |
|
4279 <li class="param"> |
|
4280 |
|
4281 <code class="param-name">cfg</code> |
|
4282 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
4283 |
|
4284 |
|
4285 |
|
4286 |
|
4287 <div class="param-description"> |
|
4288 |
|
4289 </div> |
|
4290 |
|
4291 |
|
4292 </li> |
|
4293 |
|
4294 </ul> |
|
4295 </div> |
|
4296 |
|
4297 |
|
4298 |
|
4299 |
|
4300 |
|
4301 </div> |
|
4302 |
|
4303 |
|
4304 <div id="method__createUIEvent" class="method item private inherited"> |
|
4305 <h3 class="name"><code>_createUIEvent</code></h3> |
|
4306 |
|
4307 |
|
4308 <div class="args"> |
|
4309 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4310 |
|
4311 <li class="arg"> |
|
4312 |
|
4313 <code>type</code> |
|
4314 |
|
4315 </li> |
|
4316 |
|
4317 </ul><span class="paren">)</span> |
|
4318 </div> |
|
4319 |
|
4320 |
|
4321 |
|
4322 |
|
4323 |
|
4324 |
|
4325 |
|
4326 <span class="flag private">private</span> |
|
4327 |
|
4328 |
|
4329 |
|
4330 |
|
4331 |
|
4332 |
|
4333 |
|
4334 |
|
4335 |
|
4336 |
|
4337 <div class="meta"> |
|
4338 |
|
4339 |
|
4340 <p>Inherited from |
|
4341 <a href="../classes/Widget.html#method__createUIEvent">Widget</a>: |
|
4342 |
|
4343 |
|
4344 |
|
4345 <a href="../files/widget_js_WidgetUIEvents.js.html#l73"><code>widget/js/WidgetUIEvents.js:73</code></a> |
|
4346 |
|
4347 </p> |
|
4348 |
|
4349 |
|
4350 |
|
4351 |
|
4352 |
|
4353 </div> |
|
4354 |
|
4355 <div class="description"> |
|
4356 <p>Binds a delegated DOM event listener of the specified type to the |
|
4357 Widget's outtermost DOM element to facilitate the firing of a Custom |
|
4358 Event of the same type for the Widget instance.</p> |
|
4359 </div> |
|
4360 |
|
4361 |
|
4362 <div class="params"> |
|
4363 <h4>Parameters:</h4> |
|
4364 |
|
4365 <ul class="params-list"> |
|
4366 |
|
4367 <li class="param"> |
|
4368 |
|
4369 <code class="param-name">type</code> |
|
4370 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
4371 |
|
4372 |
|
4373 |
|
4374 |
|
4375 <div class="param-description"> |
|
4376 <p>String representing the name of the event</p> |
|
4377 </div> |
|
4378 |
|
4379 |
|
4380 </li> |
|
4381 |
|
4382 </ul> |
|
4383 </div> |
|
4384 |
|
4385 |
|
4386 |
|
4387 |
|
4388 |
|
4389 </div> |
|
4390 |
|
4391 |
|
4392 <div id="method__defAttrChangeFn" class="method item private inherited"> |
|
4393 <h3 class="name"><code>_defAttrChangeFn</code></h3> |
|
4394 |
|
4395 |
|
4396 <div class="args"> |
|
4397 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4398 |
|
4399 <li class="arg"> |
|
4400 |
|
4401 <code>e</code> |
|
4402 |
|
4403 </li> |
|
4404 |
|
4405 </ul><span class="paren">)</span> |
|
4406 </div> |
|
4407 |
|
4408 |
|
4409 |
|
4410 |
|
4411 |
|
4412 |
|
4413 |
|
4414 <span class="flag private">private</span> |
|
4415 |
|
4416 |
|
4417 |
|
4418 |
|
4419 |
|
4420 |
|
4421 |
|
4422 |
|
4423 |
|
4424 |
|
4425 <div class="meta"> |
|
4426 |
|
4427 |
|
4428 <p>Inherited from |
|
4429 <a href="../classes/AttributeObservable.html#method__defAttrChangeFn">AttributeObservable</a>: |
|
4430 |
|
4431 |
|
4432 |
|
4433 <a href="../files/attribute_js_AttributeObservable.js.html#l186"><code>attribute/js/AttributeObservable.js:186</code></a> |
|
4434 |
|
4435 </p> |
|
4436 |
|
4437 |
|
4438 |
|
4439 |
|
4440 |
|
4441 </div> |
|
4442 |
|
4443 <div class="description"> |
|
4444 <p>Default function for attribute change events.</p> |
|
4445 </div> |
|
4446 |
|
4447 |
|
4448 <div class="params"> |
|
4449 <h4>Parameters:</h4> |
|
4450 |
|
4451 <ul class="params-list"> |
|
4452 |
|
4453 <li class="param"> |
|
4454 |
|
4455 <code class="param-name">e</code> |
|
4456 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4457 |
|
4458 |
|
4459 |
|
4460 |
|
4461 <div class="param-description"> |
|
4462 <p>The event object for attribute change events.</p> |
|
4463 </div> |
|
4464 |
|
4465 |
|
4466 </li> |
|
4467 |
|
4468 </ul> |
|
4469 </div> |
|
4470 |
|
4471 |
|
4472 |
|
4473 |
|
4474 |
|
4475 </div> |
|
4476 |
|
4477 |
|
4478 <div id="method__defaultCB" class="method item protected inherited"> |
|
4479 <h3 class="name"><code>_defaultCB</code></h3> |
|
4480 |
|
4481 |
|
4482 <span class="paren">()</span> |
|
4483 |
|
4484 |
|
4485 |
|
4486 |
|
4487 |
|
4488 |
|
4489 |
|
4490 <span class="flag protected">protected</span> |
|
4491 |
|
4492 |
|
4493 |
|
4494 |
|
4495 |
|
4496 |
|
4497 |
|
4498 |
|
4499 |
|
4500 |
|
4501 <div class="meta"> |
|
4502 |
|
4503 |
|
4504 <p>Inherited from |
|
4505 <a href="../classes/Widget.html#method__defaultCB">Widget</a>: |
|
4506 |
|
4507 |
|
4508 |
|
4509 <a href="../files/widget_js_Widget.js.html#l780"><code>widget/js/Widget.js:780</code></a> |
|
4510 |
|
4511 </p> |
|
4512 |
|
4513 |
|
4514 |
|
4515 |
|
4516 |
|
4517 </div> |
|
4518 |
|
4519 <div class="description"> |
|
4520 <p>Returns the default value for the contentBox attribute.</p> |
|
4521 |
|
4522 <p>For the Widget class, this will be the srcNode if provided, otherwise null (resulting in |
|
4523 a new contentBox node instance being created)</p> |
|
4524 </div> |
|
4525 |
|
4526 |
|
4527 |
|
4528 |
|
4529 |
|
4530 |
|
4531 </div> |
|
4532 |
|
4533 |
|
4534 <div id="method__defDestroyFn" class="method item protected inherited"> |
|
4535 <h3 class="name"><code>_defDestroyFn</code></h3> |
|
4536 |
|
4537 |
|
4538 <div class="args"> |
|
4539 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4540 |
|
4541 <li class="arg"> |
|
4542 |
|
4543 <code>e</code> |
|
4544 |
|
4545 </li> |
|
4546 |
|
4547 </ul><span class="paren">)</span> |
|
4548 </div> |
|
4549 |
|
4550 |
|
4551 |
|
4552 |
|
4553 |
|
4554 |
|
4555 |
|
4556 <span class="flag protected">protected</span> |
|
4557 |
|
4558 |
|
4559 |
|
4560 |
|
4561 |
|
4562 |
|
4563 |
|
4564 |
|
4565 |
|
4566 |
|
4567 <div class="meta"> |
|
4568 |
|
4569 |
|
4570 <p>Inherited from |
|
4571 <a href="../classes/BaseObservable.html#method__defDestroyFn">BaseObservable</a>: |
|
4572 |
|
4573 |
|
4574 |
|
4575 <a href="../files/base_js_BaseObservable.js.html#l190"><code>base/js/BaseObservable.js:190</code></a> |
|
4576 |
|
4577 </p> |
|
4578 |
|
4579 |
|
4580 |
|
4581 |
|
4582 |
|
4583 </div> |
|
4584 |
|
4585 <div class="description"> |
|
4586 <p>Default destroy event handler</p> |
|
4587 </div> |
|
4588 |
|
4589 |
|
4590 <div class="params"> |
|
4591 <h4>Parameters:</h4> |
|
4592 |
|
4593 <ul class="params-list"> |
|
4594 |
|
4595 <li class="param"> |
|
4596 |
|
4597 <code class="param-name">e</code> |
|
4598 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4599 |
|
4600 |
|
4601 |
|
4602 |
|
4603 <div class="param-description"> |
|
4604 <p>Event object</p> |
|
4605 </div> |
|
4606 |
|
4607 |
|
4608 </li> |
|
4609 |
|
4610 </ul> |
|
4611 </div> |
|
4612 |
|
4613 |
|
4614 |
|
4615 |
|
4616 |
|
4617 </div> |
|
4618 |
|
4619 |
|
4620 <div id="method__defInitFn" class="method item protected inherited"> |
|
4621 <h3 class="name"><code>_defInitFn</code></h3> |
|
4622 |
|
4623 |
|
4624 <div class="args"> |
|
4625 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4626 |
|
4627 <li class="arg"> |
|
4628 |
|
4629 <code>e</code> |
|
4630 |
|
4631 </li> |
|
4632 |
|
4633 </ul><span class="paren">)</span> |
|
4634 </div> |
|
4635 |
|
4636 |
|
4637 |
|
4638 |
|
4639 |
|
4640 |
|
4641 |
|
4642 <span class="flag protected">protected</span> |
|
4643 |
|
4644 |
|
4645 |
|
4646 |
|
4647 |
|
4648 |
|
4649 |
|
4650 |
|
4651 |
|
4652 |
|
4653 <div class="meta"> |
|
4654 |
|
4655 |
|
4656 <p>Inherited from |
|
4657 <a href="../classes/BaseObservable.html#method__defInitFn">BaseObservable</a>: |
|
4658 |
|
4659 |
|
4660 |
|
4661 <a href="../files/base_js_BaseObservable.js.html#l178"><code>base/js/BaseObservable.js:178</code></a> |
|
4662 |
|
4663 </p> |
|
4664 |
|
4665 |
|
4666 |
|
4667 |
|
4668 |
|
4669 </div> |
|
4670 |
|
4671 <div class="description"> |
|
4672 <p>Default init event handler</p> |
|
4673 </div> |
|
4674 |
|
4675 |
|
4676 <div class="params"> |
|
4677 <h4>Parameters:</h4> |
|
4678 |
|
4679 <ul class="params-list"> |
|
4680 |
|
4681 <li class="param"> |
|
4682 |
|
4683 <code class="param-name">e</code> |
|
4684 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4685 |
|
4686 |
|
4687 |
|
4688 |
|
4689 <div class="param-description"> |
|
4690 <p>Event object, with a cfg property which |
|
4691 refers to the configuration object passed to the constructor.</p> |
|
4692 </div> |
|
4693 |
|
4694 |
|
4695 </li> |
|
4696 |
|
4697 </ul> |
|
4698 </div> |
|
4699 |
|
4700 |
|
4701 |
|
4702 |
|
4703 |
|
4704 </div> |
|
4705 |
|
4706 |
|
4707 <div id="method__defRenderFn" class="method item protected inherited"> |
|
4708 <h3 class="name"><code>_defRenderFn</code></h3> |
|
4709 |
|
4710 |
|
4711 <div class="args"> |
|
4712 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4713 |
|
4714 <li class="arg"> |
|
4715 |
|
4716 <code>e</code> |
|
4717 |
|
4718 </li> |
|
4719 |
|
4720 <li class="arg"> |
|
4721 |
|
4722 <code>parentNode</code> |
|
4723 |
|
4724 </li> |
|
4725 |
|
4726 </ul><span class="paren">)</span> |
|
4727 </div> |
|
4728 |
|
4729 |
|
4730 |
|
4731 |
|
4732 |
|
4733 |
|
4734 |
|
4735 <span class="flag protected">protected</span> |
|
4736 |
|
4737 |
|
4738 |
|
4739 |
|
4740 |
|
4741 |
|
4742 |
|
4743 |
|
4744 |
|
4745 |
|
4746 <div class="meta"> |
|
4747 |
|
4748 |
|
4749 <p>Inherited from |
|
4750 <a href="../classes/Widget.html#method__defRenderFn">Widget</a>: |
|
4751 |
|
4752 |
|
4753 |
|
4754 <a href="../files/widget_js_Widget.js.html#l571"><code>widget/js/Widget.js:571</code></a> |
|
4755 |
|
4756 </p> |
|
4757 |
|
4758 |
|
4759 |
|
4760 |
|
4761 |
|
4762 </div> |
|
4763 |
|
4764 <div class="description"> |
|
4765 <p>Default render handler</p> |
|
4766 </div> |
|
4767 |
|
4768 |
|
4769 <div class="params"> |
|
4770 <h4>Parameters:</h4> |
|
4771 |
|
4772 <ul class="params-list"> |
|
4773 |
|
4774 <li class="param"> |
|
4775 |
|
4776 <code class="param-name">e</code> |
|
4777 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
4778 |
|
4779 |
|
4780 |
|
4781 |
|
4782 <div class="param-description"> |
|
4783 <p>The Event object</p> |
|
4784 </div> |
|
4785 |
|
4786 |
|
4787 </li> |
|
4788 |
|
4789 <li class="param"> |
|
4790 |
|
4791 <code class="param-name">parentNode</code> |
|
4792 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
4793 |
|
4794 |
|
4795 |
|
4796 |
|
4797 <div class="param-description"> |
|
4798 <p>The parent node to render to, if passed in to the <code>render</code> method</p> |
|
4799 </div> |
|
4800 |
|
4801 |
|
4802 </li> |
|
4803 |
|
4804 </ul> |
|
4805 </div> |
|
4806 |
|
4807 |
|
4808 |
|
4809 |
|
4810 |
|
4811 </div> |
|
4812 |
|
4813 |
|
4814 <div id="method__destroyBox" class="method item protected inherited"> |
|
4815 <h3 class="name"><code>_destroyBox</code></h3> |
|
4816 |
|
4817 |
|
4818 <span class="paren">()</span> |
|
4819 |
|
4820 |
|
4821 |
|
4822 |
|
4823 |
|
4824 |
|
4825 |
|
4826 <span class="flag protected">protected</span> |
|
4827 |
|
4828 |
|
4829 |
|
4830 |
|
4831 |
|
4832 |
|
4833 |
|
4834 |
|
4835 |
|
4836 |
|
4837 <div class="meta"> |
|
4838 |
|
4839 |
|
4840 <p>Inherited from |
|
4841 <a href="../classes/Widget.html#method__destroyBox">Widget</a>: |
|
4842 |
|
4843 |
|
4844 |
|
4845 <a href="../files/widget_js_Widget.js.html#l476"><code>widget/js/Widget.js:476</code></a> |
|
4846 |
|
4847 </p> |
|
4848 |
|
4849 |
|
4850 |
|
4851 |
|
4852 |
|
4853 </div> |
|
4854 |
|
4855 <div class="description"> |
|
4856 <p>Removes and destroys the widgets rendered boundingBox, contentBox, |
|
4857 and detaches bound UI events.</p> |
|
4858 </div> |
|
4859 |
|
4860 |
|
4861 |
|
4862 |
|
4863 |
|
4864 |
|
4865 </div> |
|
4866 |
|
4867 |
|
4868 <div id="method__destroyHierarchy" class="method item private inherited"> |
|
4869 <h3 class="name"><code>_destroyHierarchy</code></h3> |
|
4870 |
|
4871 |
|
4872 <span class="paren">()</span> |
|
4873 |
|
4874 |
|
4875 |
|
4876 |
|
4877 |
|
4878 |
|
4879 |
|
4880 <span class="flag private">private</span> |
|
4881 |
|
4882 |
|
4883 |
|
4884 |
|
4885 |
|
4886 |
|
4887 |
|
4888 |
|
4889 |
|
4890 |
|
4891 <div class="meta"> |
|
4892 |
|
4893 |
|
4894 <p>Inherited from |
|
4895 <a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>: |
|
4896 |
|
4897 |
|
4898 |
|
4899 <a href="../files/base_js_BaseCore.js.html#l721"><code>base/js/BaseCore.js:721</code></a> |
|
4900 |
|
4901 </p> |
|
4902 |
|
4903 |
|
4904 |
|
4905 |
|
4906 |
|
4907 </div> |
|
4908 |
|
4909 <div class="description"> |
|
4910 <p>Destroys the class hierarchy for this instance by invoking |
|
4911 the destructor method on the prototype of each class in the hierarchy.</p> |
|
4912 </div> |
|
4913 |
|
4914 |
|
4915 |
|
4916 |
|
4917 |
|
4918 |
|
4919 </div> |
|
4920 |
|
4921 |
|
4922 <div id="method__destroyUIEvents" class="method item private inherited"> |
|
4923 <h3 class="name"><code>_destroyUIEvents</code></h3> |
|
4924 |
|
4925 |
|
4926 <span class="paren">()</span> |
|
4927 |
|
4928 |
|
4929 |
|
4930 |
|
4931 |
|
4932 |
|
4933 |
|
4934 <span class="flag private">private</span> |
|
4935 |
|
4936 |
|
4937 |
|
4938 |
|
4939 |
|
4940 |
|
4941 |
|
4942 |
|
4943 |
|
4944 |
|
4945 <div class="meta"> |
|
4946 |
|
4947 |
|
4948 <p>Inherited from |
|
4949 <a href="../classes/Widget.html#method__destroyUIEvents">Widget</a>: |
|
4950 |
|
4951 |
|
4952 |
|
4953 <a href="../files/widget_js_WidgetUIEvents.js.html#l20"><code>widget/js/WidgetUIEvents.js:20</code></a> |
|
4954 |
|
4955 </p> |
|
4956 |
|
4957 |
|
4958 |
|
4959 |
|
4960 |
|
4961 </div> |
|
4962 |
|
4963 <div class="description"> |
|
4964 <p>Destructor logic for UI event infrastructure, |
|
4965 invoked during Widget destruction.</p> |
|
4966 </div> |
|
4967 |
|
4968 |
|
4969 |
|
4970 |
|
4971 |
|
4972 |
|
4973 </div> |
|
4974 |
|
4975 |
|
4976 <div id="method__filterAdHocAttrs" class="method item private inherited"> |
|
4977 <h3 class="name"><code>_filterAdHocAttrs</code></h3> |
|
4978 |
|
4979 |
|
4980 <div class="args"> |
|
4981 <span class="paren">(</span><ul class="args-list inline commas"> |
|
4982 |
|
4983 <li class="arg"> |
|
4984 |
|
4985 <code>allAttrs</code> |
|
4986 |
|
4987 </li> |
|
4988 |
|
4989 <li class="arg"> |
|
4990 |
|
4991 <code>userVals</code> |
|
4992 |
|
4993 </li> |
|
4994 |
|
4995 </ul><span class="paren">)</span> |
|
4996 </div> |
|
4997 |
|
4998 |
|
4999 |
|
5000 <span class="returns-inline"> |
|
5001 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5002 </span> |
|
5003 |
|
5004 |
|
5005 |
|
5006 |
|
5007 |
|
5008 <span class="flag private">private</span> |
|
5009 |
|
5010 |
|
5011 |
|
5012 |
|
5013 |
|
5014 |
|
5015 |
|
5016 |
|
5017 |
|
5018 |
|
5019 <div class="meta"> |
|
5020 |
|
5021 |
|
5022 <p>Inherited from |
|
5023 <a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>: |
|
5024 |
|
5025 |
|
5026 |
|
5027 <a href="../files/base_js_BaseCore.js.html#l427"><code>base/js/BaseCore.js:427</code></a> |
|
5028 |
|
5029 </p> |
|
5030 |
|
5031 |
|
5032 |
|
5033 |
|
5034 |
|
5035 </div> |
|
5036 |
|
5037 <div class="description"> |
|
5038 |
|
5039 </div> |
|
5040 |
|
5041 |
|
5042 <div class="params"> |
|
5043 <h4>Parameters:</h4> |
|
5044 |
|
5045 <ul class="params-list"> |
|
5046 |
|
5047 <li class="param"> |
|
5048 |
|
5049 <code class="param-name">allAttrs</code> |
|
5050 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5051 |
|
5052 |
|
5053 |
|
5054 |
|
5055 <div class="param-description"> |
|
5056 <p>The set of all attribute configurations for this instance. |
|
5057 Attributes will be removed from this set, if they belong to the filtered class, so |
|
5058 that by the time all classes are processed, allCfgs will be empty.</p> |
|
5059 </div> |
|
5060 |
|
5061 |
|
5062 </li> |
|
5063 |
|
5064 <li class="param"> |
|
5065 |
|
5066 <code class="param-name">userVals</code> |
|
5067 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5068 |
|
5069 |
|
5070 |
|
5071 |
|
5072 <div class="param-description"> |
|
5073 <p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p> |
|
5074 </div> |
|
5075 |
|
5076 |
|
5077 </li> |
|
5078 |
|
5079 </ul> |
|
5080 </div> |
|
5081 |
|
5082 |
|
5083 |
|
5084 <div class="returns"> |
|
5085 <h4>Returns:</h4> |
|
5086 |
|
5087 <div class="returns-description"> |
|
5088 |
|
5089 |
|
5090 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5091 |
|
5092 The set of adhoc attributes passed in, in the form |
|
5093 of an object with attribute name/configuration pairs. |
|
5094 |
|
5095 </div> |
|
5096 </div> |
|
5097 |
|
5098 |
|
5099 |
|
5100 </div> |
|
5101 |
|
5102 |
|
5103 <div id="method__filterAttrCfgs" class="method item private inherited"> |
|
5104 <h3 class="name"><code>_filterAttrCfgs</code></h3> |
|
5105 |
|
5106 |
|
5107 <div class="args"> |
|
5108 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5109 |
|
5110 <li class="arg"> |
|
5111 |
|
5112 <code>clazz</code> |
|
5113 |
|
5114 </li> |
|
5115 |
|
5116 <li class="arg"> |
|
5117 |
|
5118 <code>allCfgs</code> |
|
5119 |
|
5120 </li> |
|
5121 |
|
5122 </ul><span class="paren">)</span> |
|
5123 </div> |
|
5124 |
|
5125 |
|
5126 |
|
5127 <span class="returns-inline"> |
|
5128 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5129 </span> |
|
5130 |
|
5131 |
|
5132 |
|
5133 |
|
5134 |
|
5135 <span class="flag private">private</span> |
|
5136 |
|
5137 |
|
5138 |
|
5139 |
|
5140 |
|
5141 |
|
5142 |
|
5143 |
|
5144 |
|
5145 |
|
5146 <div class="meta"> |
|
5147 |
|
5148 |
|
5149 <p>Inherited from |
|
5150 <a href="../classes/BaseCore.html#method__filterAttrCfgs">BaseCore</a>: |
|
5151 |
|
5152 |
|
5153 |
|
5154 <a href="../files/base_js_BaseCore.js.html#l356"><code>base/js/BaseCore.js:356</code></a> |
|
5155 |
|
5156 </p> |
|
5157 |
|
5158 |
|
5159 |
|
5160 |
|
5161 |
|
5162 </div> |
|
5163 |
|
5164 <div class="description"> |
|
5165 <p>A helper method used when processing ATTRS across the class hierarchy during |
|
5166 initialization. Returns a disposable object with the attributes defined for |
|
5167 the provided class, extracted from the set of all attributes passed in.</p> |
|
5168 </div> |
|
5169 |
|
5170 |
|
5171 <div class="params"> |
|
5172 <h4>Parameters:</h4> |
|
5173 |
|
5174 <ul class="params-list"> |
|
5175 |
|
5176 <li class="param"> |
|
5177 |
|
5178 <code class="param-name">clazz</code> |
|
5179 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
5180 |
|
5181 |
|
5182 |
|
5183 |
|
5184 <div class="param-description"> |
|
5185 <p>The class for which the desired attributes are required.</p> |
|
5186 </div> |
|
5187 |
|
5188 |
|
5189 </li> |
|
5190 |
|
5191 <li class="param"> |
|
5192 |
|
5193 <code class="param-name">allCfgs</code> |
|
5194 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5195 |
|
5196 |
|
5197 |
|
5198 |
|
5199 <div class="param-description"> |
|
5200 <p>The set of all attribute configurations for this instance. |
|
5201 Attributes will be removed from this set, if they belong to the filtered class, so |
|
5202 that by the time all classes are processed, allCfgs will be empty.</p> |
|
5203 </div> |
|
5204 |
|
5205 |
|
5206 </li> |
|
5207 |
|
5208 </ul> |
|
5209 </div> |
|
5210 |
|
5211 |
|
5212 |
|
5213 <div class="returns"> |
|
5214 <h4>Returns:</h4> |
|
5215 |
|
5216 <div class="returns-description"> |
|
5217 |
|
5218 |
|
5219 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5220 |
|
5221 The set of attributes belonging to the class passed in, in the form |
|
5222 of an object with attribute name/configuration pairs. |
|
5223 |
|
5224 </div> |
|
5225 </div> |
|
5226 |
|
5227 |
|
5228 |
|
5229 </div> |
|
5230 |
|
5231 |
|
5232 <div id="method__filterUIEvent" class="method item private inherited"> |
|
5233 <h3 class="name"><code>_filterUIEvent</code></h3> |
|
5234 |
|
5235 |
|
5236 <div class="args"> |
|
5237 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5238 |
|
5239 <li class="arg"> |
|
5240 |
|
5241 <code>evt</code> |
|
5242 |
|
5243 </li> |
|
5244 |
|
5245 </ul><span class="paren">)</span> |
|
5246 </div> |
|
5247 |
|
5248 |
|
5249 |
|
5250 <span class="returns-inline"> |
|
5251 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
5252 </span> |
|
5253 |
|
5254 |
|
5255 |
|
5256 |
|
5257 |
|
5258 <span class="flag private">private</span> |
|
5259 |
|
5260 |
|
5261 |
|
5262 |
|
5263 |
|
5264 |
|
5265 |
|
5266 |
|
5267 |
|
5268 |
|
5269 <div class="meta"> |
|
5270 |
|
5271 |
|
5272 <p>Inherited from |
|
5273 <a href="../classes/Widget.html#method__filterUIEvent">Widget</a>: |
|
5274 |
|
5275 |
|
5276 |
|
5277 <a href="../files/widget_js_WidgetUIEvents.js.html#l117"><code>widget/js/WidgetUIEvents.js:117</code></a> |
|
5278 |
|
5279 </p> |
|
5280 |
|
5281 |
|
5282 |
|
5283 |
|
5284 |
|
5285 </div> |
|
5286 |
|
5287 <div class="description"> |
|
5288 <p>This method is used to determine if we should fire |
|
5289 the UI Event or not. The default implementation makes sure |
|
5290 that for nested delegates (nested unrelated widgets), we don't |
|
5291 fire the UI event listener more than once at each level.</p> |
|
5292 |
|
5293 <p>For example, without the additional filter, if you have nested |
|
5294 widgets, each widget will have a delegate listener. If you |
|
5295 click on the inner widget, the inner delegate listener's |
|
5296 filter will match once, but the outer will match twice |
|
5297 (based on delegate's design) - once for the inner widget, |
|
5298 and once for the outer.</p> |
|
5299 </div> |
|
5300 |
|
5301 |
|
5302 <div class="params"> |
|
5303 <h4>Parameters:</h4> |
|
5304 |
|
5305 <ul class="params-list"> |
|
5306 |
|
5307 <li class="param"> |
|
5308 |
|
5309 <code class="param-name">evt</code> |
|
5310 <span class="type"><a href="../classes/DOMEventFacade.html" class="crosslink">DOMEventFacade</a></span> |
|
5311 |
|
5312 |
|
5313 |
|
5314 |
|
5315 <div class="param-description"> |
|
5316 |
|
5317 </div> |
|
5318 |
|
5319 |
|
5320 </li> |
|
5321 |
|
5322 </ul> |
|
5323 </div> |
|
5324 |
|
5325 |
|
5326 |
|
5327 <div class="returns"> |
|
5328 <h4>Returns:</h4> |
|
5329 |
|
5330 <div class="returns-description"> |
|
5331 |
|
5332 |
|
5333 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
5334 |
|
5335 true if it's OK to fire the custom UI event, false if not. |
|
5336 |
|
5337 </div> |
|
5338 </div> |
|
5339 |
|
5340 |
|
5341 |
|
5342 </div> |
|
5343 |
|
5344 |
|
5345 <div id="method__fireAttrChange" class="method item private inherited"> |
|
5346 <h3 class="name"><code>_fireAttrChange</code></h3> |
|
5347 |
|
5348 |
|
5349 <div class="args"> |
|
5350 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5351 |
|
5352 <li class="arg"> |
|
5353 |
|
5354 <code>attrName</code> |
|
5355 |
|
5356 </li> |
|
5357 |
|
5358 <li class="arg"> |
|
5359 |
|
5360 <code>subAttrName</code> |
|
5361 |
|
5362 </li> |
|
5363 |
|
5364 <li class="arg"> |
|
5365 |
|
5366 <code>currVal</code> |
|
5367 |
|
5368 </li> |
|
5369 |
|
5370 <li class="arg"> |
|
5371 |
|
5372 <code>newVal</code> |
|
5373 |
|
5374 </li> |
|
5375 |
|
5376 <li class="arg"> |
|
5377 |
|
5378 <code>opts</code> |
|
5379 |
|
5380 </li> |
|
5381 |
|
5382 <li class="arg"> |
|
5383 |
|
5384 <code class="optional">[cfg]</code> |
|
5385 |
|
5386 </li> |
|
5387 |
|
5388 </ul><span class="paren">)</span> |
|
5389 </div> |
|
5390 |
|
5391 |
|
5392 |
|
5393 |
|
5394 |
|
5395 |
|
5396 |
|
5397 <span class="flag private">private</span> |
|
5398 |
|
5399 |
|
5400 |
|
5401 |
|
5402 |
|
5403 |
|
5404 |
|
5405 |
|
5406 |
|
5407 |
|
5408 <div class="meta"> |
|
5409 |
|
5410 |
|
5411 <p>Inherited from |
|
5412 <a href="../classes/AttributeObservable.html#method__fireAttrChange">AttributeObservable</a>: |
|
5413 |
|
5414 |
|
5415 |
|
5416 <a href="../files/attribute_js_AttributeObservable.js.html#l120"><code>attribute/js/AttributeObservable.js:120</code></a> |
|
5417 |
|
5418 </p> |
|
5419 |
|
5420 |
|
5421 |
|
5422 |
|
5423 |
|
5424 </div> |
|
5425 |
|
5426 <div class="description"> |
|
5427 <p>Utility method to help setup the event payload and fire the attribute change event.</p> |
|
5428 </div> |
|
5429 |
|
5430 |
|
5431 <div class="params"> |
|
5432 <h4>Parameters:</h4> |
|
5433 |
|
5434 <ul class="params-list"> |
|
5435 |
|
5436 <li class="param"> |
|
5437 |
|
5438 <code class="param-name">attrName</code> |
|
5439 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5440 |
|
5441 |
|
5442 |
|
5443 |
|
5444 <div class="param-description"> |
|
5445 <p>The name of the attribute</p> |
|
5446 </div> |
|
5447 |
|
5448 |
|
5449 </li> |
|
5450 |
|
5451 <li class="param"> |
|
5452 |
|
5453 <code class="param-name">subAttrName</code> |
|
5454 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5455 |
|
5456 |
|
5457 |
|
5458 |
|
5459 <div class="param-description"> |
|
5460 <p>The full path of the property being changed, |
|
5461 if this is a sub-attribute value being change. Otherwise null.</p> |
|
5462 </div> |
|
5463 |
|
5464 |
|
5465 </li> |
|
5466 |
|
5467 <li class="param"> |
|
5468 |
|
5469 <code class="param-name">currVal</code> |
|
5470 <span class="type">Any</span> |
|
5471 |
|
5472 |
|
5473 |
|
5474 |
|
5475 <div class="param-description"> |
|
5476 <p>The current value of the attribute</p> |
|
5477 </div> |
|
5478 |
|
5479 |
|
5480 </li> |
|
5481 |
|
5482 <li class="param"> |
|
5483 |
|
5484 <code class="param-name">newVal</code> |
|
5485 <span class="type">Any</span> |
|
5486 |
|
5487 |
|
5488 |
|
5489 |
|
5490 <div class="param-description"> |
|
5491 <p>The new value of the attribute</p> |
|
5492 </div> |
|
5493 |
|
5494 |
|
5495 </li> |
|
5496 |
|
5497 <li class="param"> |
|
5498 |
|
5499 <code class="param-name">opts</code> |
|
5500 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5501 |
|
5502 |
|
5503 |
|
5504 |
|
5505 <div class="param-description"> |
|
5506 <p>Any additional event data to mix into the attribute change event's event facade.</p> |
|
5507 </div> |
|
5508 |
|
5509 |
|
5510 </li> |
|
5511 |
|
5512 <li class="param"> |
|
5513 |
|
5514 <code class="param-name optional">[cfg]</code> |
|
5515 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5516 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
5517 |
|
5518 |
|
5519 |
|
5520 |
|
5521 <div class="param-description"> |
|
5522 <p>The attribute config stored in State, if already available.</p> |
|
5523 </div> |
|
5524 |
|
5525 |
|
5526 </li> |
|
5527 |
|
5528 </ul> |
|
5529 </div> |
|
5530 |
|
5531 |
|
5532 |
|
5533 |
|
5534 |
|
5535 </div> |
|
5536 |
|
5537 |
|
5538 <div id="method__getAttr" class="method item protected inherited"> |
|
5539 <h3 class="name"><code>_getAttr</code></h3> |
|
5540 |
|
5541 |
|
5542 <div class="args"> |
|
5543 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5544 |
|
5545 <li class="arg"> |
|
5546 |
|
5547 <code>name</code> |
|
5548 |
|
5549 </li> |
|
5550 |
|
5551 </ul><span class="paren">)</span> |
|
5552 </div> |
|
5553 |
|
5554 |
|
5555 |
|
5556 <span class="returns-inline"> |
|
5557 <span class="type">Any</span> |
|
5558 </span> |
|
5559 |
|
5560 |
|
5561 |
|
5562 |
|
5563 |
|
5564 <span class="flag protected">protected</span> |
|
5565 |
|
5566 |
|
5567 |
|
5568 |
|
5569 |
|
5570 |
|
5571 |
|
5572 <span class="flag chainable">chainable</span> |
|
5573 |
|
5574 |
|
5575 |
|
5576 |
|
5577 <div class="meta"> |
|
5578 |
|
5579 |
|
5580 <p>Inherited from |
|
5581 <a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>: |
|
5582 |
|
5583 |
|
5584 |
|
5585 <a href="../files/attribute_js_AttributeCore.js.html#l543"><code>attribute/js/AttributeCore.js:543</code></a> |
|
5586 |
|
5587 </p> |
|
5588 |
|
5589 |
|
5590 |
|
5591 |
|
5592 |
|
5593 </div> |
|
5594 |
|
5595 <div class="description"> |
|
5596 <p>Provides the common implementation for the public get method, |
|
5597 allowing Attribute hosts to over-ride either method.</p> |
|
5598 |
|
5599 <p>See <a href="#method_get">get</a> for argument details.</p> |
|
5600 </div> |
|
5601 |
|
5602 |
|
5603 <div class="params"> |
|
5604 <h4>Parameters:</h4> |
|
5605 |
|
5606 <ul class="params-list"> |
|
5607 |
|
5608 <li class="param"> |
|
5609 |
|
5610 <code class="param-name">name</code> |
|
5611 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5612 |
|
5613 |
|
5614 |
|
5615 |
|
5616 <div class="param-description"> |
|
5617 <p>The name of the attribute.</p> |
|
5618 </div> |
|
5619 |
|
5620 |
|
5621 </li> |
|
5622 |
|
5623 </ul> |
|
5624 </div> |
|
5625 |
|
5626 |
|
5627 |
|
5628 <div class="returns"> |
|
5629 <h4>Returns:</h4> |
|
5630 |
|
5631 <div class="returns-description"> |
|
5632 |
|
5633 |
|
5634 <span class="type">Any</span>: |
|
5635 |
|
5636 The value of the attribute. |
|
5637 |
|
5638 </div> |
|
5639 </div> |
|
5640 |
|
5641 |
|
5642 |
|
5643 </div> |
|
5644 |
|
5645 |
|
5646 <div id="method__getAttrCfg" class="method item protected inherited"> |
|
5647 <h3 class="name"><code>_getAttrCfg</code></h3> |
|
5648 |
|
5649 |
|
5650 <div class="args"> |
|
5651 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5652 |
|
5653 <li class="arg"> |
|
5654 |
|
5655 <code>name</code> |
|
5656 |
|
5657 </li> |
|
5658 |
|
5659 </ul><span class="paren">)</span> |
|
5660 </div> |
|
5661 |
|
5662 |
|
5663 |
|
5664 <span class="returns-inline"> |
|
5665 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5666 </span> |
|
5667 |
|
5668 |
|
5669 |
|
5670 |
|
5671 |
|
5672 <span class="flag protected">protected</span> |
|
5673 |
|
5674 |
|
5675 |
|
5676 |
|
5677 |
|
5678 |
|
5679 |
|
5680 |
|
5681 |
|
5682 |
|
5683 <div class="meta"> |
|
5684 |
|
5685 |
|
5686 <p>Inherited from |
|
5687 <a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>: |
|
5688 |
|
5689 |
|
5690 |
|
5691 <a href="../files/attribute_js_AttributeExtras.js.html#l114"><code>attribute/js/AttributeExtras.js:114</code></a> |
|
5692 |
|
5693 </p> |
|
5694 |
|
5695 |
|
5696 |
|
5697 |
|
5698 |
|
5699 </div> |
|
5700 |
|
5701 <div class="description"> |
|
5702 <p>Returns an object with the configuration properties (and value) |
|
5703 for the given attribute. If attrName is not provided, returns the |
|
5704 configuration properties for all attributes.</p> |
|
5705 </div> |
|
5706 |
|
5707 |
|
5708 <div class="params"> |
|
5709 <h4>Parameters:</h4> |
|
5710 |
|
5711 <ul class="params-list"> |
|
5712 |
|
5713 <li class="param"> |
|
5714 |
|
5715 <code class="param-name">name</code> |
|
5716 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5717 |
|
5718 |
|
5719 |
|
5720 |
|
5721 <div class="param-description"> |
|
5722 <p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p> |
|
5723 </div> |
|
5724 |
|
5725 |
|
5726 </li> |
|
5727 |
|
5728 </ul> |
|
5729 </div> |
|
5730 |
|
5731 |
|
5732 |
|
5733 <div class="returns"> |
|
5734 <h4>Returns:</h4> |
|
5735 |
|
5736 <div class="returns-description"> |
|
5737 |
|
5738 |
|
5739 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5740 |
|
5741 The configuration properties for the given attribute, or all attributes. |
|
5742 |
|
5743 </div> |
|
5744 </div> |
|
5745 |
|
5746 |
|
5747 |
|
5748 </div> |
|
5749 |
|
5750 |
|
5751 <div id="method__getAttrCfgs" class="method item protected inherited"> |
|
5752 <h3 class="name"><code>_getAttrCfgs</code></h3> |
|
5753 |
|
5754 |
|
5755 <span class="paren">()</span> |
|
5756 |
|
5757 |
|
5758 |
|
5759 <span class="returns-inline"> |
|
5760 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5761 </span> |
|
5762 |
|
5763 |
|
5764 |
|
5765 |
|
5766 |
|
5767 <span class="flag protected">protected</span> |
|
5768 |
|
5769 |
|
5770 |
|
5771 |
|
5772 |
|
5773 |
|
5774 |
|
5775 |
|
5776 |
|
5777 |
|
5778 <div class="meta"> |
|
5779 |
|
5780 |
|
5781 <p>Inherited from |
|
5782 <a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>: |
|
5783 |
|
5784 |
|
5785 |
|
5786 <a href="../files/base_js_BaseCore.js.html#l339"><code>base/js/BaseCore.js:339</code></a> |
|
5787 |
|
5788 </p> |
|
5789 |
|
5790 |
|
5791 |
|
5792 |
|
5793 |
|
5794 </div> |
|
5795 |
|
5796 <div class="description"> |
|
5797 <p>Returns an aggregated set of attribute configurations, by traversing |
|
5798 the class hierarchy.</p> |
|
5799 </div> |
|
5800 |
|
5801 |
|
5802 |
|
5803 |
|
5804 <div class="returns"> |
|
5805 <h4>Returns:</h4> |
|
5806 |
|
5807 <div class="returns-description"> |
|
5808 |
|
5809 |
|
5810 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
5811 |
|
5812 The hash of attribute configurations, aggregated across classes in the hierarchy |
|
5813 This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return |
|
5814 the cached value. |
|
5815 |
|
5816 </div> |
|
5817 </div> |
|
5818 |
|
5819 |
|
5820 |
|
5821 </div> |
|
5822 |
|
5823 |
|
5824 <div id="method__getAttrInitVal" class="method item private inherited"> |
|
5825 <h3 class="name"><code>_getAttrInitVal</code></h3> |
|
5826 |
|
5827 |
|
5828 <div class="args"> |
|
5829 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5830 |
|
5831 <li class="arg"> |
|
5832 |
|
5833 <code>attr</code> |
|
5834 |
|
5835 </li> |
|
5836 |
|
5837 <li class="arg"> |
|
5838 |
|
5839 <code>cfg</code> |
|
5840 |
|
5841 </li> |
|
5842 |
|
5843 <li class="arg"> |
|
5844 |
|
5845 <code>initValues</code> |
|
5846 |
|
5847 </li> |
|
5848 |
|
5849 </ul><span class="paren">)</span> |
|
5850 </div> |
|
5851 |
|
5852 |
|
5853 |
|
5854 <span class="returns-inline"> |
|
5855 <span class="type">Any</span> |
|
5856 </span> |
|
5857 |
|
5858 |
|
5859 |
|
5860 |
|
5861 |
|
5862 <span class="flag private">private</span> |
|
5863 |
|
5864 |
|
5865 |
|
5866 |
|
5867 |
|
5868 |
|
5869 |
|
5870 |
|
5871 |
|
5872 |
|
5873 <div class="meta"> |
|
5874 |
|
5875 |
|
5876 <p>Inherited from |
|
5877 <a href="../classes/AttributeCore.html#method__getAttrInitVal">AttributeCore</a>: |
|
5878 |
|
5879 |
|
5880 |
|
5881 <a href="../files/attribute_js_AttributeCore.js.html#l945"><code>attribute/js/AttributeCore.js:945</code></a> |
|
5882 |
|
5883 </p> |
|
5884 |
|
5885 |
|
5886 |
|
5887 |
|
5888 |
|
5889 </div> |
|
5890 |
|
5891 <div class="description"> |
|
5892 <p>Returns the initial value of the given attribute from |
|
5893 either the default configuration provided, or the |
|
5894 over-ridden value if it exists in the set of initValues |
|
5895 provided and the attribute is not read-only.</p> |
|
5896 </div> |
|
5897 |
|
5898 |
|
5899 <div class="params"> |
|
5900 <h4>Parameters:</h4> |
|
5901 |
|
5902 <ul class="params-list"> |
|
5903 |
|
5904 <li class="param"> |
|
5905 |
|
5906 <code class="param-name">attr</code> |
|
5907 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
5908 |
|
5909 |
|
5910 |
|
5911 |
|
5912 <div class="param-description"> |
|
5913 <p>The name of the attribute</p> |
|
5914 </div> |
|
5915 |
|
5916 |
|
5917 </li> |
|
5918 |
|
5919 <li class="param"> |
|
5920 |
|
5921 <code class="param-name">cfg</code> |
|
5922 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5923 |
|
5924 |
|
5925 |
|
5926 |
|
5927 <div class="param-description"> |
|
5928 <p>The attribute configuration object</p> |
|
5929 </div> |
|
5930 |
|
5931 |
|
5932 </li> |
|
5933 |
|
5934 <li class="param"> |
|
5935 |
|
5936 <code class="param-name">initValues</code> |
|
5937 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5938 |
|
5939 |
|
5940 |
|
5941 |
|
5942 <div class="param-description"> |
|
5943 <p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p> |
|
5944 </div> |
|
5945 |
|
5946 |
|
5947 </li> |
|
5948 |
|
5949 </ul> |
|
5950 </div> |
|
5951 |
|
5952 |
|
5953 |
|
5954 <div class="returns"> |
|
5955 <h4>Returns:</h4> |
|
5956 |
|
5957 <div class="returns-description"> |
|
5958 |
|
5959 |
|
5960 <span class="type">Any</span>: |
|
5961 |
|
5962 The initial value of the attribute. |
|
5963 |
|
5964 </div> |
|
5965 </div> |
|
5966 |
|
5967 |
|
5968 |
|
5969 </div> |
|
5970 |
|
5971 |
|
5972 <div id="method__getAttrs" class="method item protected inherited"> |
|
5973 <h3 class="name"><code>_getAttrs</code></h3> |
|
5974 |
|
5975 |
|
5976 <div class="args"> |
|
5977 <span class="paren">(</span><ul class="args-list inline commas"> |
|
5978 |
|
5979 <li class="arg"> |
|
5980 |
|
5981 <code>attrs</code> |
|
5982 |
|
5983 </li> |
|
5984 |
|
5985 </ul><span class="paren">)</span> |
|
5986 </div> |
|
5987 |
|
5988 |
|
5989 |
|
5990 <span class="returns-inline"> |
|
5991 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
5992 </span> |
|
5993 |
|
5994 |
|
5995 |
|
5996 |
|
5997 |
|
5998 <span class="flag protected">protected</span> |
|
5999 |
|
6000 |
|
6001 |
|
6002 |
|
6003 |
|
6004 |
|
6005 |
|
6006 |
|
6007 |
|
6008 |
|
6009 <div class="meta"> |
|
6010 |
|
6011 |
|
6012 <p>Inherited from |
|
6013 <a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>: |
|
6014 |
|
6015 |
|
6016 |
|
6017 <a href="../files/attribute_js_AttributeCore.js.html#l774"><code>attribute/js/AttributeCore.js:774</code></a> |
|
6018 |
|
6019 </p> |
|
6020 |
|
6021 |
|
6022 |
|
6023 |
|
6024 |
|
6025 </div> |
|
6026 |
|
6027 <div class="description"> |
|
6028 <p>Implementation behind the public getAttrs method, to get multiple attribute values.</p> |
|
6029 </div> |
|
6030 |
|
6031 |
|
6032 <div class="params"> |
|
6033 <h4>Parameters:</h4> |
|
6034 |
|
6035 <ul class="params-list"> |
|
6036 |
|
6037 <li class="param"> |
|
6038 |
|
6039 <code class="param-name">attrs</code> |
|
6040 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
6041 |
|
6042 |
|
6043 |
|
6044 |
|
6045 <div class="param-description"> |
|
6046 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
6047 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
6048 </div> |
|
6049 |
|
6050 |
|
6051 </li> |
|
6052 |
|
6053 </ul> |
|
6054 </div> |
|
6055 |
|
6056 |
|
6057 |
|
6058 <div class="returns"> |
|
6059 <h4>Returns:</h4> |
|
6060 |
|
6061 <div class="returns-description"> |
|
6062 |
|
6063 |
|
6064 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6065 |
|
6066 An object with attribute name/value pairs. |
|
6067 |
|
6068 </div> |
|
6069 </div> |
|
6070 |
|
6071 |
|
6072 |
|
6073 </div> |
|
6074 |
|
6075 |
|
6076 <div id="method__getClasses" class="method item protected inherited"> |
|
6077 <h3 class="name"><code>_getClasses</code></h3> |
|
6078 |
|
6079 |
|
6080 <span class="paren">()</span> |
|
6081 |
|
6082 |
|
6083 |
|
6084 <span class="returns-inline"> |
|
6085 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span> |
|
6086 </span> |
|
6087 |
|
6088 |
|
6089 |
|
6090 |
|
6091 |
|
6092 <span class="flag protected">protected</span> |
|
6093 |
|
6094 |
|
6095 |
|
6096 |
|
6097 |
|
6098 |
|
6099 |
|
6100 |
|
6101 |
|
6102 |
|
6103 <div class="meta"> |
|
6104 |
|
6105 |
|
6106 <p>Inherited from |
|
6107 <a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>: |
|
6108 |
|
6109 |
|
6110 |
|
6111 <a href="../files/base_js_BaseCore.js.html#l323"><code>base/js/BaseCore.js:323</code></a> |
|
6112 |
|
6113 </p> |
|
6114 |
|
6115 |
|
6116 |
|
6117 |
|
6118 |
|
6119 </div> |
|
6120 |
|
6121 <div class="description"> |
|
6122 <p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p> |
|
6123 </div> |
|
6124 |
|
6125 |
|
6126 |
|
6127 |
|
6128 <div class="returns"> |
|
6129 <h4>Returns:</h4> |
|
6130 |
|
6131 <div class="returns-description"> |
|
6132 |
|
6133 |
|
6134 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>: |
|
6135 |
|
6136 An array of classes (constructor functions), making up the class hierarchy for this object. |
|
6137 This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the |
|
6138 cached value. |
|
6139 |
|
6140 </div> |
|
6141 </div> |
|
6142 |
|
6143 |
|
6144 |
|
6145 </div> |
|
6146 |
|
6147 |
|
6148 <div id="method__getFullType" class="method item private inherited"> |
|
6149 <h3 class="name"><code>_getFullType</code></h3> |
|
6150 |
|
6151 |
|
6152 <div class="args"> |
|
6153 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6154 |
|
6155 <li class="arg"> |
|
6156 |
|
6157 <code>type</code> |
|
6158 |
|
6159 </li> |
|
6160 |
|
6161 </ul><span class="paren">)</span> |
|
6162 </div> |
|
6163 |
|
6164 |
|
6165 |
|
6166 <span class="returns-inline"> |
|
6167 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6168 </span> |
|
6169 |
|
6170 |
|
6171 |
|
6172 |
|
6173 |
|
6174 <span class="flag private">private</span> |
|
6175 |
|
6176 |
|
6177 |
|
6178 |
|
6179 |
|
6180 |
|
6181 |
|
6182 |
|
6183 |
|
6184 |
|
6185 <div class="meta"> |
|
6186 |
|
6187 |
|
6188 <p>Inherited from |
|
6189 <a href="../classes/EventTarget.html#method__getFullType">EventTarget</a>: |
|
6190 |
|
6191 |
|
6192 |
|
6193 <a href="../files/event-custom_js_event-target.js.html#l586"><code>event-custom/js/event-target.js:586</code></a> |
|
6194 |
|
6195 </p> |
|
6196 |
|
6197 |
|
6198 |
|
6199 |
|
6200 |
|
6201 </div> |
|
6202 |
|
6203 <div class="description"> |
|
6204 <p>Returns the fully qualified type, given a short type string. |
|
6205 That is, returns "foo:bar" when given "bar" if "foo" is the configured prefix.</p> |
|
6206 |
|
6207 <p>NOTE: This method, unlike _getType, does no checking of the value passed in, and |
|
6208 is designed to be used with the low level _publish() method, for critical path |
|
6209 implementations which need to fast-track publish for performance reasons.</p> |
|
6210 </div> |
|
6211 |
|
6212 |
|
6213 <div class="params"> |
|
6214 <h4>Parameters:</h4> |
|
6215 |
|
6216 <ul class="params-list"> |
|
6217 |
|
6218 <li class="param"> |
|
6219 |
|
6220 <code class="param-name">type</code> |
|
6221 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6222 |
|
6223 |
|
6224 |
|
6225 |
|
6226 <div class="param-description"> |
|
6227 <p>The short type to prefix</p> |
|
6228 </div> |
|
6229 |
|
6230 |
|
6231 </li> |
|
6232 |
|
6233 </ul> |
|
6234 </div> |
|
6235 |
|
6236 |
|
6237 |
|
6238 <div class="returns"> |
|
6239 <h4>Returns:</h4> |
|
6240 |
|
6241 <div class="returns-description"> |
|
6242 |
|
6243 |
|
6244 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
6245 |
|
6246 The prefixed type, if a prefix is set, otherwise the type passed in |
|
6247 |
|
6248 </div> |
|
6249 </div> |
|
6250 |
|
6251 |
|
6252 |
|
6253 </div> |
|
6254 |
|
6255 |
|
6256 <div id="method__getHtmlParser" class="method item private inherited"> |
|
6257 <h3 class="name"><code>_getHtmlParser</code></h3> |
|
6258 |
|
6259 |
|
6260 <span class="paren">()</span> |
|
6261 |
|
6262 |
|
6263 |
|
6264 <span class="returns-inline"> |
|
6265 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6266 </span> |
|
6267 |
|
6268 |
|
6269 |
|
6270 |
|
6271 |
|
6272 <span class="flag private">private</span> |
|
6273 |
|
6274 |
|
6275 |
|
6276 |
|
6277 |
|
6278 |
|
6279 |
|
6280 |
|
6281 |
|
6282 |
|
6283 <div class="meta"> |
|
6284 |
|
6285 |
|
6286 <p>Inherited from |
|
6287 <a href="../classes/Widget.html#method__getHtmlParser">Widget</a>: |
|
6288 |
|
6289 |
|
6290 |
|
6291 <a href="../files/widget_js_WidgetHTMLParser.js.html#l149"><code>widget/js/WidgetHTMLParser.js:149</code></a> |
|
6292 |
|
6293 </p> |
|
6294 |
|
6295 |
|
6296 |
|
6297 |
|
6298 |
|
6299 </div> |
|
6300 |
|
6301 <div class="description"> |
|
6302 <p>Gets the HTML<em>PARSER definition for this instance, by merging HTML</em>PARSER |
|
6303 definitions across the class hierarchy.</p> |
|
6304 </div> |
|
6305 |
|
6306 |
|
6307 |
|
6308 |
|
6309 <div class="returns"> |
|
6310 <h4>Returns:</h4> |
|
6311 |
|
6312 <div class="returns-description"> |
|
6313 |
|
6314 |
|
6315 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
6316 |
|
6317 HTML_PARSER definition for this instance |
|
6318 |
|
6319 </div> |
|
6320 </div> |
|
6321 |
|
6322 |
|
6323 |
|
6324 </div> |
|
6325 |
|
6326 |
|
6327 <div id="method__getLabel" class="method item private inherited"> |
|
6328 <h3 class="name"><code>_getLabel</code></h3> |
|
6329 |
|
6330 |
|
6331 <span class="paren">()</span> |
|
6332 |
|
6333 |
|
6334 |
|
6335 |
|
6336 |
|
6337 |
|
6338 |
|
6339 <span class="flag private">private</span> |
|
6340 |
|
6341 |
|
6342 |
|
6343 |
|
6344 |
|
6345 |
|
6346 |
|
6347 |
|
6348 |
|
6349 |
|
6350 <div class="meta"> |
|
6351 |
|
6352 |
|
6353 <p>Inherited from |
|
6354 <a href="../classes/ButtonCore.html#method__getLabel">ButtonCore</a>: |
|
6355 |
|
6356 |
|
6357 |
|
6358 <a href="../files/button_js_core.js.html#l125"><code>button/js/core.js:125</code></a> |
|
6359 |
|
6360 </p> |
|
6361 |
|
6362 |
|
6363 |
|
6364 |
|
6365 |
|
6366 </div> |
|
6367 |
|
6368 <div class="description"> |
|
6369 <p>Getter for a button's 'label' ATTR</p> |
|
6370 </div> |
|
6371 |
|
6372 |
|
6373 |
|
6374 |
|
6375 |
|
6376 |
|
6377 </div> |
|
6378 |
|
6379 |
|
6380 <div id="method__getNodeToParse" class="method item private inherited"> |
|
6381 <h3 class="name"><code>_getNodeToParse</code></h3> |
|
6382 |
|
6383 |
|
6384 <span class="paren">()</span> |
|
6385 |
|
6386 |
|
6387 |
|
6388 <span class="returns-inline"> |
|
6389 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
6390 </span> |
|
6391 |
|
6392 |
|
6393 |
|
6394 |
|
6395 |
|
6396 <span class="flag private">private</span> |
|
6397 |
|
6398 |
|
6399 |
|
6400 |
|
6401 |
|
6402 |
|
6403 |
|
6404 |
|
6405 |
|
6406 |
|
6407 <div class="meta"> |
|
6408 |
|
6409 |
|
6410 <p>Inherited from |
|
6411 <a href="../classes/Widget.html#method__getNodeToParse">Widget</a>: |
|
6412 |
|
6413 |
|
6414 |
|
6415 <a href="../files/widget_js_WidgetHTMLParser.js.html#l134"><code>widget/js/WidgetHTMLParser.js:134</code></a> |
|
6416 |
|
6417 </p> |
|
6418 |
|
6419 |
|
6420 |
|
6421 |
|
6422 |
|
6423 </div> |
|
6424 |
|
6425 <div class="description"> |
|
6426 <p>Determines whether we have a node reference which we should try and parse.</p> |
|
6427 |
|
6428 <p>The current implementation does not parse nodes generated from CONTENT_TEMPLATE, |
|
6429 only explicitly set srcNode, or contentBox attributes.</p> |
|
6430 </div> |
|
6431 |
|
6432 |
|
6433 |
|
6434 |
|
6435 <div class="returns"> |
|
6436 <h4>Returns:</h4> |
|
6437 |
|
6438 <div class="returns-description"> |
|
6439 |
|
6440 |
|
6441 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
6442 |
|
6443 The node reference to apply HTML_PARSER to. |
|
6444 |
|
6445 </div> |
|
6446 </div> |
|
6447 |
|
6448 |
|
6449 |
|
6450 </div> |
|
6451 |
|
6452 |
|
6453 <div id="method__getSrcNode" class="method item protected inherited"> |
|
6454 <h3 class="name"><code>_getSrcNode</code></h3> |
|
6455 |
|
6456 |
|
6457 <span class="paren">()</span> |
|
6458 |
|
6459 |
|
6460 |
|
6461 <span class="returns-inline"> |
|
6462 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
6463 </span> |
|
6464 |
|
6465 |
|
6466 |
|
6467 |
|
6468 |
|
6469 <span class="flag protected">protected</span> |
|
6470 |
|
6471 |
|
6472 |
|
6473 |
|
6474 |
|
6475 |
|
6476 |
|
6477 |
|
6478 |
|
6479 |
|
6480 <div class="meta"> |
|
6481 |
|
6482 |
|
6483 <p>Inherited from |
|
6484 <a href="../classes/Widget.html#method__getSrcNode">Widget</a>: |
|
6485 |
|
6486 |
|
6487 |
|
6488 <a href="../files/widget_js_WidgetHTMLParser.js.html#l74"><code>widget/js/WidgetHTMLParser.js:74</code></a> |
|
6489 |
|
6490 </p> |
|
6491 |
|
6492 |
|
6493 |
|
6494 |
|
6495 |
|
6496 </div> |
|
6497 |
|
6498 <div class="description"> |
|
6499 |
|
6500 </div> |
|
6501 |
|
6502 |
|
6503 |
|
6504 |
|
6505 <div class="returns"> |
|
6506 <h4>Returns:</h4> |
|
6507 |
|
6508 <div class="returns-description"> |
|
6509 |
|
6510 |
|
6511 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
6512 |
|
6513 The Node to apply HTML_PARSER to |
|
6514 |
|
6515 </div> |
|
6516 </div> |
|
6517 |
|
6518 |
|
6519 |
|
6520 </div> |
|
6521 |
|
6522 |
|
6523 <div id="method__getStateVal" class="method item private inherited"> |
|
6524 <h3 class="name"><code>_getStateVal</code></h3> |
|
6525 |
|
6526 |
|
6527 <div class="args"> |
|
6528 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6529 |
|
6530 <li class="arg"> |
|
6531 |
|
6532 <code>name</code> |
|
6533 |
|
6534 </li> |
|
6535 |
|
6536 <li class="arg"> |
|
6537 |
|
6538 <code class="optional">[cfg]</code> |
|
6539 |
|
6540 </li> |
|
6541 |
|
6542 </ul><span class="paren">)</span> |
|
6543 </div> |
|
6544 |
|
6545 |
|
6546 |
|
6547 <span class="returns-inline"> |
|
6548 <span class="type">Any</span> |
|
6549 </span> |
|
6550 |
|
6551 |
|
6552 |
|
6553 |
|
6554 |
|
6555 <span class="flag private">private</span> |
|
6556 |
|
6557 |
|
6558 |
|
6559 |
|
6560 |
|
6561 |
|
6562 |
|
6563 |
|
6564 |
|
6565 |
|
6566 <div class="meta"> |
|
6567 |
|
6568 |
|
6569 <p>Inherited from |
|
6570 <a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>: |
|
6571 |
|
6572 |
|
6573 |
|
6574 <a href="../files/attribute_js_AttributeCore.js.html#l600"><code>attribute/js/AttributeCore.js:600</code></a> |
|
6575 |
|
6576 </p> |
|
6577 |
|
6578 |
|
6579 |
|
6580 |
|
6581 |
|
6582 </div> |
|
6583 |
|
6584 <div class="description"> |
|
6585 <p>Gets the stored value for the attribute, from either the |
|
6586 internal state object, or the state proxy if it exits</p> |
|
6587 </div> |
|
6588 |
|
6589 |
|
6590 <div class="params"> |
|
6591 <h4>Parameters:</h4> |
|
6592 |
|
6593 <ul class="params-list"> |
|
6594 |
|
6595 <li class="param"> |
|
6596 |
|
6597 <code class="param-name">name</code> |
|
6598 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
6599 |
|
6600 |
|
6601 |
|
6602 |
|
6603 <div class="param-description"> |
|
6604 <p>The name of the attribute</p> |
|
6605 </div> |
|
6606 |
|
6607 |
|
6608 </li> |
|
6609 |
|
6610 <li class="param"> |
|
6611 |
|
6612 <code class="param-name optional">[cfg]</code> |
|
6613 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6614 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
6615 |
|
6616 |
|
6617 |
|
6618 |
|
6619 <div class="param-description"> |
|
6620 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
6621 where the calling method has already obtained the config from state.</p> |
|
6622 </div> |
|
6623 |
|
6624 |
|
6625 </li> |
|
6626 |
|
6627 </ul> |
|
6628 </div> |
|
6629 |
|
6630 |
|
6631 |
|
6632 <div class="returns"> |
|
6633 <h4>Returns:</h4> |
|
6634 |
|
6635 <div class="returns-description"> |
|
6636 |
|
6637 |
|
6638 <span class="type">Any</span>: |
|
6639 |
|
6640 The stored value of the attribute |
|
6641 |
|
6642 </div> |
|
6643 </div> |
|
6644 |
|
6645 |
|
6646 |
|
6647 </div> |
|
6648 |
|
6649 |
|
6650 <div id="method__getStrings" class="method item protected inherited"> |
|
6651 <h3 class="name"><code>_getStrings</code></h3> |
|
6652 |
|
6653 |
|
6654 <div class="args"> |
|
6655 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6656 |
|
6657 <li class="arg"> |
|
6658 |
|
6659 <code>locale</code> |
|
6660 |
|
6661 </li> |
|
6662 |
|
6663 </ul><span class="paren">)</span> |
|
6664 </div> |
|
6665 |
|
6666 |
|
6667 |
|
6668 |
|
6669 |
|
6670 |
|
6671 |
|
6672 <span class="flag protected">protected</span> |
|
6673 |
|
6674 |
|
6675 |
|
6676 |
|
6677 |
|
6678 |
|
6679 |
|
6680 |
|
6681 |
|
6682 |
|
6683 <div class="meta"> |
|
6684 |
|
6685 |
|
6686 <p>Inherited from |
|
6687 <a href="../classes/Widget.html#method__getStrings">Widget</a>: |
|
6688 |
|
6689 |
|
6690 |
|
6691 <a href="../files/widget_js_WidgetLocale.js.html#l56"><code>widget/js/WidgetLocale.js:56</code></a> |
|
6692 |
|
6693 </p> |
|
6694 |
|
6695 |
|
6696 |
|
6697 |
|
6698 |
|
6699 </div> |
|
6700 |
|
6701 <div class="description"> |
|
6702 <p>Returns the strings key/value hash for a paricular locale, without locale lookup applied.</p> |
|
6703 </div> |
|
6704 |
|
6705 |
|
6706 <div class="params"> |
|
6707 <h4>Parameters:</h4> |
|
6708 |
|
6709 <ul class="params-list"> |
|
6710 |
|
6711 <li class="param"> |
|
6712 |
|
6713 <code class="param-name">locale</code> |
|
6714 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6715 |
|
6716 |
|
6717 |
|
6718 |
|
6719 <div class="param-description"> |
|
6720 |
|
6721 </div> |
|
6722 |
|
6723 |
|
6724 </li> |
|
6725 |
|
6726 </ul> |
|
6727 </div> |
|
6728 |
|
6729 |
|
6730 |
|
6731 |
|
6732 |
|
6733 </div> |
|
6734 |
|
6735 |
|
6736 <div id="method__getType" class="method item private inherited"> |
|
6737 <h3 class="name"><code>_getType</code></h3> |
|
6738 |
|
6739 |
|
6740 <span class="paren">()</span> |
|
6741 |
|
6742 |
|
6743 |
|
6744 |
|
6745 |
|
6746 |
|
6747 |
|
6748 <span class="flag private">private</span> |
|
6749 |
|
6750 |
|
6751 |
|
6752 |
|
6753 |
|
6754 |
|
6755 |
|
6756 |
|
6757 |
|
6758 |
|
6759 <div class="meta"> |
|
6760 |
|
6761 |
|
6762 <p>Inherited from |
|
6763 <a href="../classes/EventTarget.html#method__getType">EventTarget</a>: |
|
6764 |
|
6765 |
|
6766 |
|
6767 <a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a> |
|
6768 |
|
6769 </p> |
|
6770 |
|
6771 |
|
6772 |
|
6773 |
|
6774 |
|
6775 </div> |
|
6776 |
|
6777 <div class="description"> |
|
6778 <p>If the instance has a prefix attribute and the |
|
6779 event type is not prefixed, the instance prefix is |
|
6780 applied to the supplied type.</p> |
|
6781 </div> |
|
6782 |
|
6783 |
|
6784 |
|
6785 |
|
6786 |
|
6787 |
|
6788 </div> |
|
6789 |
|
6790 |
|
6791 <div id="method__getUIEventNode" class="method item protected inherited"> |
|
6792 <h3 class="name"><code>_getUIEventNode</code></h3> |
|
6793 |
|
6794 |
|
6795 <span class="paren">()</span> |
|
6796 |
|
6797 |
|
6798 |
|
6799 |
|
6800 |
|
6801 |
|
6802 |
|
6803 <span class="flag protected">protected</span> |
|
6804 |
|
6805 |
|
6806 |
|
6807 |
|
6808 |
|
6809 |
|
6810 |
|
6811 |
|
6812 |
|
6813 |
|
6814 <div class="meta"> |
|
6815 |
|
6816 <p>Inherited from |
|
6817 <a href="../classes/Widget.html#method__getUIEventNode"> |
|
6818 Widget |
|
6819 </a> |
|
6820 |
|
6821 but overwritten in |
|
6822 |
|
6823 |
|
6824 |
|
6825 <a href="../files/widget-child_js_Widget-Child.js.html#l167"><code>widget-child/js/Widget-Child.js:167</code></a> |
|
6826 |
|
6827 </p> |
|
6828 |
|
6829 |
|
6830 |
|
6831 |
|
6832 |
|
6833 </div> |
|
6834 |
|
6835 <div class="description"> |
|
6836 <p>Returns the node on which to bind delegate listeners.</p> |
|
6837 |
|
6838 <p>Override of Widget's implementation of _getUIEventNode() to ensure that |
|
6839 all event listeners are bound to the Widget's topmost DOM element. |
|
6840 This ensures that the firing of each type of Widget UI event (click, |
|
6841 mousedown, etc.) is facilitated by a single, top-level, delegated DOM |
|
6842 event listener.</p> |
|
6843 </div> |
|
6844 |
|
6845 |
|
6846 |
|
6847 |
|
6848 |
|
6849 |
|
6850 </div> |
|
6851 |
|
6852 |
|
6853 <div id="method__guid" class="method item protected inherited"> |
|
6854 <h3 class="name"><code>_guid</code></h3> |
|
6855 |
|
6856 |
|
6857 <span class="paren">()</span> |
|
6858 |
|
6859 |
|
6860 |
|
6861 |
|
6862 |
|
6863 |
|
6864 |
|
6865 <span class="flag protected">protected</span> |
|
6866 |
|
6867 |
|
6868 |
|
6869 |
|
6870 |
|
6871 |
|
6872 |
|
6873 |
|
6874 |
|
6875 |
|
6876 <div class="meta"> |
|
6877 |
|
6878 |
|
6879 <p>Inherited from |
|
6880 <a href="../classes/Widget.html#method__guid">Widget</a>: |
|
6881 |
|
6882 |
|
6883 |
|
6884 <a href="../files/widget_js_Widget.js.html#l1153"><code>widget/js/Widget.js:1153</code></a> |
|
6885 |
|
6886 </p> |
|
6887 |
|
6888 |
|
6889 |
|
6890 |
|
6891 |
|
6892 </div> |
|
6893 |
|
6894 <div class="description"> |
|
6895 |
|
6896 </div> |
|
6897 |
|
6898 |
|
6899 |
|
6900 |
|
6901 |
|
6902 |
|
6903 </div> |
|
6904 |
|
6905 |
|
6906 <div id="method__initAttrHost" class="method item private inherited"> |
|
6907 <h3 class="name"><code>_initAttrHost</code></h3> |
|
6908 |
|
6909 |
|
6910 <div class="args"> |
|
6911 <span class="paren">(</span><ul class="args-list inline commas"> |
|
6912 |
|
6913 <li class="arg"> |
|
6914 |
|
6915 <code>attrs</code> |
|
6916 |
|
6917 </li> |
|
6918 |
|
6919 <li class="arg"> |
|
6920 |
|
6921 <code>values</code> |
|
6922 |
|
6923 </li> |
|
6924 |
|
6925 <li class="arg"> |
|
6926 |
|
6927 <code>lazy</code> |
|
6928 |
|
6929 </li> |
|
6930 |
|
6931 </ul><span class="paren">)</span> |
|
6932 </div> |
|
6933 |
|
6934 |
|
6935 |
|
6936 |
|
6937 |
|
6938 |
|
6939 |
|
6940 <span class="flag private">private</span> |
|
6941 |
|
6942 |
|
6943 |
|
6944 |
|
6945 |
|
6946 |
|
6947 |
|
6948 |
|
6949 |
|
6950 |
|
6951 <div class="meta"> |
|
6952 |
|
6953 |
|
6954 <p>Inherited from |
|
6955 <a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>: |
|
6956 |
|
6957 |
|
6958 |
|
6959 <a href="../files/attribute_js_AttributeCore.js.html#l140"><code>attribute/js/AttributeCore.js:140</code></a> |
|
6960 |
|
6961 </p> |
|
6962 |
|
6963 |
|
6964 |
|
6965 |
|
6966 |
|
6967 </div> |
|
6968 |
|
6969 <div class="description"> |
|
6970 <p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the |
|
6971 constructor.</p> |
|
6972 </div> |
|
6973 |
|
6974 |
|
6975 <div class="params"> |
|
6976 <h4>Parameters:</h4> |
|
6977 |
|
6978 <ul class="params-list"> |
|
6979 |
|
6980 <li class="param"> |
|
6981 |
|
6982 <code class="param-name">attrs</code> |
|
6983 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
6984 |
|
6985 |
|
6986 |
|
6987 |
|
6988 <div class="param-description"> |
|
6989 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
6990 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
6991 </div> |
|
6992 |
|
6993 |
|
6994 </li> |
|
6995 |
|
6996 <li class="param"> |
|
6997 |
|
6998 <code class="param-name">values</code> |
|
6999 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7000 |
|
7001 |
|
7002 |
|
7003 |
|
7004 <div class="param-description"> |
|
7005 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
7006 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
7007 </div> |
|
7008 |
|
7009 |
|
7010 </li> |
|
7011 |
|
7012 <li class="param"> |
|
7013 |
|
7014 <code class="param-name">lazy</code> |
|
7015 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7016 |
|
7017 |
|
7018 |
|
7019 |
|
7020 <div class="param-description"> |
|
7021 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
7022 </div> |
|
7023 |
|
7024 |
|
7025 </li> |
|
7026 |
|
7027 </ul> |
|
7028 </div> |
|
7029 |
|
7030 |
|
7031 |
|
7032 |
|
7033 |
|
7034 </div> |
|
7035 |
|
7036 |
|
7037 <div id="method__initAttribute" class="method item private inherited"> |
|
7038 <h3 class="name"><code>_initAttribute</code></h3> |
|
7039 |
|
7040 |
|
7041 <span class="paren">()</span> |
|
7042 |
|
7043 |
|
7044 |
|
7045 |
|
7046 |
|
7047 |
|
7048 |
|
7049 <span class="flag private">private</span> |
|
7050 |
|
7051 |
|
7052 |
|
7053 |
|
7054 |
|
7055 |
|
7056 |
|
7057 |
|
7058 |
|
7059 |
|
7060 <div class="meta"> |
|
7061 |
|
7062 <p>Inherited from |
|
7063 <a href="../classes/BaseObservable.html#method__initAttribute"> |
|
7064 BaseObservable |
|
7065 </a> |
|
7066 |
|
7067 but overwritten in |
|
7068 |
|
7069 |
|
7070 |
|
7071 <a href="../files/base_js_BaseCore.js.html#l254"><code>base/js/BaseCore.js:254</code></a> |
|
7072 |
|
7073 </p> |
|
7074 |
|
7075 |
|
7076 |
|
7077 |
|
7078 |
|
7079 </div> |
|
7080 |
|
7081 <div class="description"> |
|
7082 <p>Initializes AttributeCore</p> |
|
7083 </div> |
|
7084 |
|
7085 |
|
7086 |
|
7087 |
|
7088 |
|
7089 |
|
7090 </div> |
|
7091 |
|
7092 |
|
7093 <div id="method__initAttributes" class="method item private inherited"> |
|
7094 <h3 class="name"><code>_initAttributes</code></h3> |
|
7095 |
|
7096 |
|
7097 <div class="args"> |
|
7098 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7099 |
|
7100 <li class="arg"> |
|
7101 |
|
7102 <code>config</code> |
|
7103 |
|
7104 </li> |
|
7105 |
|
7106 </ul><span class="paren">)</span> |
|
7107 </div> |
|
7108 |
|
7109 |
|
7110 |
|
7111 |
|
7112 |
|
7113 |
|
7114 |
|
7115 <span class="flag private">private</span> |
|
7116 |
|
7117 |
|
7118 |
|
7119 |
|
7120 |
|
7121 |
|
7122 |
|
7123 |
|
7124 |
|
7125 |
|
7126 <div class="meta"> |
|
7127 |
|
7128 |
|
7129 <p>Inherited from |
|
7130 <a href="../classes/ButtonCore.html#method__initAttributes">ButtonCore</a>: |
|
7131 |
|
7132 |
|
7133 |
|
7134 <a href="../files/button_js_core.js.html#l66"><code>button/js/core.js:66</code></a> |
|
7135 |
|
7136 </p> |
|
7137 |
|
7138 |
|
7139 |
|
7140 |
|
7141 |
|
7142 </div> |
|
7143 |
|
7144 <div class="description"> |
|
7145 <p>Attribute initializer</p> |
|
7146 </div> |
|
7147 |
|
7148 |
|
7149 <div class="params"> |
|
7150 <h4>Parameters:</h4> |
|
7151 |
|
7152 <ul class="params-list"> |
|
7153 |
|
7154 <li class="param"> |
|
7155 |
|
7156 <code class="param-name">config</code> |
|
7157 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7158 |
|
7159 |
|
7160 |
|
7161 |
|
7162 <div class="param-description"> |
|
7163 <p>Config object.</p> |
|
7164 </div> |
|
7165 |
|
7166 |
|
7167 </li> |
|
7168 |
|
7169 </ul> |
|
7170 </div> |
|
7171 |
|
7172 |
|
7173 |
|
7174 |
|
7175 |
|
7176 </div> |
|
7177 |
|
7178 |
|
7179 <div id="method__initAttrs" class="method item protected inherited"> |
|
7180 <h3 class="name"><code>_initAttrs</code></h3> |
|
7181 |
|
7182 |
|
7183 <div class="args"> |
|
7184 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7185 |
|
7186 <li class="arg"> |
|
7187 |
|
7188 <code>attrs</code> |
|
7189 |
|
7190 </li> |
|
7191 |
|
7192 <li class="arg"> |
|
7193 |
|
7194 <code>values</code> |
|
7195 |
|
7196 </li> |
|
7197 |
|
7198 <li class="arg"> |
|
7199 |
|
7200 <code>lazy</code> |
|
7201 |
|
7202 </li> |
|
7203 |
|
7204 </ul><span class="paren">)</span> |
|
7205 </div> |
|
7206 |
|
7207 |
|
7208 |
|
7209 |
|
7210 |
|
7211 |
|
7212 |
|
7213 <span class="flag protected">protected</span> |
|
7214 |
|
7215 |
|
7216 |
|
7217 |
|
7218 |
|
7219 |
|
7220 |
|
7221 |
|
7222 |
|
7223 |
|
7224 <div class="meta"> |
|
7225 |
|
7226 |
|
7227 <p>Inherited from |
|
7228 <a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>: |
|
7229 |
|
7230 |
|
7231 |
|
7232 <a href="../files/attribute_js_AttributeCore.js.html#l1011"><code>attribute/js/AttributeCore.js:1011</code></a> |
|
7233 |
|
7234 </p> |
|
7235 |
|
7236 |
|
7237 |
|
7238 |
|
7239 |
|
7240 </div> |
|
7241 |
|
7242 <div class="description"> |
|
7243 <p>Utility method to set up initial attributes defined during construction, |
|
7244 either through the constructor.ATTRS property, or explicitly passed in.</p> |
|
7245 </div> |
|
7246 |
|
7247 |
|
7248 <div class="params"> |
|
7249 <h4>Parameters:</h4> |
|
7250 |
|
7251 <ul class="params-list"> |
|
7252 |
|
7253 <li class="param"> |
|
7254 |
|
7255 <code class="param-name">attrs</code> |
|
7256 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7257 |
|
7258 |
|
7259 |
|
7260 |
|
7261 <div class="param-description"> |
|
7262 <p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
7263 These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p> |
|
7264 </div> |
|
7265 |
|
7266 |
|
7267 </li> |
|
7268 |
|
7269 <li class="param"> |
|
7270 |
|
7271 <code class="param-name">values</code> |
|
7272 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7273 |
|
7274 |
|
7275 |
|
7276 |
|
7277 <div class="param-description"> |
|
7278 <p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). |
|
7279 These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p> |
|
7280 </div> |
|
7281 |
|
7282 |
|
7283 </li> |
|
7284 |
|
7285 <li class="param"> |
|
7286 |
|
7287 <code class="param-name">lazy</code> |
|
7288 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7289 |
|
7290 |
|
7291 |
|
7292 |
|
7293 <div class="param-description"> |
|
7294 <p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p> |
|
7295 </div> |
|
7296 |
|
7297 |
|
7298 </li> |
|
7299 |
|
7300 </ul> |
|
7301 </div> |
|
7302 |
|
7303 |
|
7304 |
|
7305 |
|
7306 |
|
7307 </div> |
|
7308 |
|
7309 |
|
7310 <div id="method__initBase" class="method item private inherited"> |
|
7311 <h3 class="name"><code>_initBase</code></h3> |
|
7312 |
|
7313 |
|
7314 <div class="args"> |
|
7315 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7316 |
|
7317 <li class="arg"> |
|
7318 |
|
7319 <code>config</code> |
|
7320 |
|
7321 </li> |
|
7322 |
|
7323 </ul><span class="paren">)</span> |
|
7324 </div> |
|
7325 |
|
7326 |
|
7327 |
|
7328 |
|
7329 |
|
7330 |
|
7331 |
|
7332 <span class="flag private">private</span> |
|
7333 |
|
7334 |
|
7335 |
|
7336 |
|
7337 |
|
7338 |
|
7339 |
|
7340 |
|
7341 |
|
7342 |
|
7343 <div class="meta"> |
|
7344 |
|
7345 |
|
7346 <p>Inherited from |
|
7347 <a href="../classes/BaseCore.html#method__initBase">BaseCore</a>: |
|
7348 |
|
7349 |
|
7350 |
|
7351 <a href="../files/base_js_BaseCore.js.html#l219"><code>base/js/BaseCore.js:219</code></a> |
|
7352 |
|
7353 </p> |
|
7354 |
|
7355 |
|
7356 |
|
7357 |
|
7358 |
|
7359 </div> |
|
7360 |
|
7361 <div class="description"> |
|
7362 <p>Internal construction logic for BaseCore.</p> |
|
7363 </div> |
|
7364 |
|
7365 |
|
7366 <div class="params"> |
|
7367 <h4>Parameters:</h4> |
|
7368 |
|
7369 <ul class="params-list"> |
|
7370 |
|
7371 <li class="param"> |
|
7372 |
|
7373 <code class="param-name">config</code> |
|
7374 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7375 |
|
7376 |
|
7377 |
|
7378 |
|
7379 <div class="param-description"> |
|
7380 <p>The constructor configuration object</p> |
|
7381 </div> |
|
7382 |
|
7383 |
|
7384 </li> |
|
7385 |
|
7386 </ul> |
|
7387 </div> |
|
7388 |
|
7389 |
|
7390 |
|
7391 |
|
7392 |
|
7393 </div> |
|
7394 |
|
7395 |
|
7396 <div id="method__initHierarchy" class="method item private inherited"> |
|
7397 <h3 class="name"><code>_initHierarchy</code></h3> |
|
7398 |
|
7399 |
|
7400 <div class="args"> |
|
7401 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7402 |
|
7403 <li class="arg"> |
|
7404 |
|
7405 <code>userVals</code> |
|
7406 |
|
7407 </li> |
|
7408 |
|
7409 </ul><span class="paren">)</span> |
|
7410 </div> |
|
7411 |
|
7412 |
|
7413 |
|
7414 |
|
7415 |
|
7416 |
|
7417 |
|
7418 <span class="flag private">private</span> |
|
7419 |
|
7420 |
|
7421 |
|
7422 |
|
7423 |
|
7424 |
|
7425 |
|
7426 |
|
7427 |
|
7428 |
|
7429 <div class="meta"> |
|
7430 |
|
7431 |
|
7432 <p>Inherited from |
|
7433 <a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>: |
|
7434 |
|
7435 |
|
7436 |
|
7437 <a href="../files/base_js_BaseCore.js.html#l659"><code>base/js/BaseCore.js:659</code></a> |
|
7438 |
|
7439 </p> |
|
7440 |
|
7441 |
|
7442 |
|
7443 |
|
7444 |
|
7445 </div> |
|
7446 |
|
7447 <div class="description"> |
|
7448 <p>Initializes the class hierarchy for the instance, which includes |
|
7449 initializing attributes for each class defined in the class's |
|
7450 static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and |
|
7451 invoking the initializer method on the prototype of each class in the hierarchy.</p> |
|
7452 </div> |
|
7453 |
|
7454 |
|
7455 <div class="params"> |
|
7456 <h4>Parameters:</h4> |
|
7457 |
|
7458 <ul class="params-list"> |
|
7459 |
|
7460 <li class="param"> |
|
7461 |
|
7462 <code class="param-name">userVals</code> |
|
7463 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7464 |
|
7465 |
|
7466 |
|
7467 |
|
7468 <div class="param-description"> |
|
7469 <p>Object with configuration property name/value pairs</p> |
|
7470 </div> |
|
7471 |
|
7472 |
|
7473 </li> |
|
7474 |
|
7475 </ul> |
|
7476 </div> |
|
7477 |
|
7478 |
|
7479 |
|
7480 |
|
7481 |
|
7482 </div> |
|
7483 |
|
7484 |
|
7485 <div id="method__initHierarchyData" class="method item private inherited"> |
|
7486 <h3 class="name"><code>_initHierarchyData</code></h3> |
|
7487 |
|
7488 |
|
7489 <span class="paren">()</span> |
|
7490 |
|
7491 |
|
7492 |
|
7493 |
|
7494 |
|
7495 |
|
7496 |
|
7497 <span class="flag private">private</span> |
|
7498 |
|
7499 |
|
7500 |
|
7501 |
|
7502 |
|
7503 |
|
7504 |
|
7505 |
|
7506 |
|
7507 |
|
7508 <div class="meta"> |
|
7509 |
|
7510 |
|
7511 <p>Inherited from |
|
7512 <a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>: |
|
7513 |
|
7514 |
|
7515 |
|
7516 <a href="../files/base_js_BaseCore.js.html#l457"><code>base/js/BaseCore.js:457</code></a> |
|
7517 |
|
7518 </p> |
|
7519 |
|
7520 |
|
7521 |
|
7522 |
|
7523 |
|
7524 </div> |
|
7525 |
|
7526 <div class="description"> |
|
7527 <p>A helper method used by _getClasses and _getAttrCfgs, which determines both |
|
7528 the array of classes and aggregate set of attribute configurations |
|
7529 across the class hierarchy for the instance.</p> |
|
7530 </div> |
|
7531 |
|
7532 |
|
7533 |
|
7534 |
|
7535 |
|
7536 |
|
7537 </div> |
|
7538 |
|
7539 |
|
7540 <div id="method__initNode" class="method item private inherited"> |
|
7541 <h3 class="name"><code>_initNode</code></h3> |
|
7542 |
|
7543 |
|
7544 <div class="args"> |
|
7545 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7546 |
|
7547 <li class="arg"> |
|
7548 |
|
7549 <code>config</code> |
|
7550 |
|
7551 </li> |
|
7552 |
|
7553 </ul><span class="paren">)</span> |
|
7554 </div> |
|
7555 |
|
7556 |
|
7557 |
|
7558 |
|
7559 |
|
7560 |
|
7561 |
|
7562 <span class="flag private">private</span> |
|
7563 |
|
7564 |
|
7565 |
|
7566 |
|
7567 |
|
7568 |
|
7569 |
|
7570 |
|
7571 |
|
7572 |
|
7573 <div class="meta"> |
|
7574 |
|
7575 |
|
7576 <p>Inherited from |
|
7577 <a href="../classes/ButtonCore.html#method__initNode">ButtonCore</a>: |
|
7578 |
|
7579 |
|
7580 |
|
7581 <a href="../files/button_js_core.js.html#l52"><code>button/js/core.js:52</code></a> |
|
7582 |
|
7583 </p> |
|
7584 |
|
7585 |
|
7586 |
|
7587 |
|
7588 |
|
7589 </div> |
|
7590 |
|
7591 <div class="description"> |
|
7592 <p>Node initializer</p> |
|
7593 </div> |
|
7594 |
|
7595 |
|
7596 <div class="params"> |
|
7597 <h4>Parameters:</h4> |
|
7598 |
|
7599 <ul class="params-list"> |
|
7600 |
|
7601 <li class="param"> |
|
7602 |
|
7603 <code class="param-name">config</code> |
|
7604 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
7605 |
|
7606 |
|
7607 |
|
7608 |
|
7609 <div class="param-description"> |
|
7610 <p>Config object.</p> |
|
7611 </div> |
|
7612 |
|
7613 |
|
7614 </li> |
|
7615 |
|
7616 </ul> |
|
7617 </div> |
|
7618 |
|
7619 |
|
7620 |
|
7621 |
|
7622 |
|
7623 </div> |
|
7624 |
|
7625 |
|
7626 <div id="method__initUIEvent" class="method item private inherited"> |
|
7627 <h3 class="name"><code>_initUIEvent</code></h3> |
|
7628 |
|
7629 |
|
7630 <div class="args"> |
|
7631 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7632 |
|
7633 <li class="arg"> |
|
7634 |
|
7635 <code>type</code> |
|
7636 |
|
7637 </li> |
|
7638 |
|
7639 </ul><span class="paren">)</span> |
|
7640 </div> |
|
7641 |
|
7642 |
|
7643 |
|
7644 <span class="returns-inline"> |
|
7645 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7646 </span> |
|
7647 |
|
7648 |
|
7649 |
|
7650 |
|
7651 |
|
7652 <span class="flag private">private</span> |
|
7653 |
|
7654 |
|
7655 |
|
7656 |
|
7657 |
|
7658 |
|
7659 |
|
7660 |
|
7661 |
|
7662 |
|
7663 <div class="meta"> |
|
7664 |
|
7665 |
|
7666 <p>Inherited from |
|
7667 <a href="../classes/Widget.html#method__initUIEvent">Widget</a>: |
|
7668 |
|
7669 |
|
7670 |
|
7671 <a href="../files/widget_js_WidgetUIEvents.js.html#l176"><code>widget/js/WidgetUIEvents.js:176</code></a> |
|
7672 |
|
7673 </p> |
|
7674 |
|
7675 |
|
7676 |
|
7677 |
|
7678 |
|
7679 </div> |
|
7680 |
|
7681 <div class="description"> |
|
7682 <p>Sets up infrastructure required to fire a UI event.</p> |
|
7683 </div> |
|
7684 |
|
7685 |
|
7686 <div class="params"> |
|
7687 <h4>Parameters:</h4> |
|
7688 |
|
7689 <ul class="params-list"> |
|
7690 |
|
7691 <li class="param"> |
|
7692 |
|
7693 <code class="param-name">type</code> |
|
7694 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7695 |
|
7696 |
|
7697 |
|
7698 |
|
7699 <div class="param-description"> |
|
7700 <p>String representing the name of the event</p> |
|
7701 </div> |
|
7702 |
|
7703 |
|
7704 </li> |
|
7705 |
|
7706 </ul> |
|
7707 </div> |
|
7708 |
|
7709 |
|
7710 |
|
7711 <div class="returns"> |
|
7712 <h4>Returns:</h4> |
|
7713 |
|
7714 <div class="returns-description"> |
|
7715 |
|
7716 |
|
7717 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
7718 |
|
7719 |
|
7720 </div> |
|
7721 </div> |
|
7722 |
|
7723 |
|
7724 |
|
7725 </div> |
|
7726 |
|
7727 |
|
7728 <div id="method__isLazyAttr" class="method item private inherited"> |
|
7729 <h3 class="name"><code>_isLazyAttr</code></h3> |
|
7730 |
|
7731 |
|
7732 <div class="args"> |
|
7733 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7734 |
|
7735 <li class="arg"> |
|
7736 |
|
7737 <code>name</code> |
|
7738 |
|
7739 </li> |
|
7740 |
|
7741 </ul><span class="paren">)</span> |
|
7742 </div> |
|
7743 |
|
7744 |
|
7745 |
|
7746 <span class="returns-inline"> |
|
7747 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
7748 </span> |
|
7749 |
|
7750 |
|
7751 |
|
7752 |
|
7753 |
|
7754 <span class="flag private">private</span> |
|
7755 |
|
7756 |
|
7757 |
|
7758 |
|
7759 |
|
7760 |
|
7761 |
|
7762 |
|
7763 |
|
7764 |
|
7765 <div class="meta"> |
|
7766 |
|
7767 |
|
7768 <p>Inherited from |
|
7769 <a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>: |
|
7770 |
|
7771 |
|
7772 |
|
7773 <a href="../files/attribute_js_AttributeCore.js.html#l369"><code>attribute/js/AttributeCore.js:369</code></a> |
|
7774 |
|
7775 </p> |
|
7776 |
|
7777 |
|
7778 |
|
7779 |
|
7780 |
|
7781 </div> |
|
7782 |
|
7783 <div class="description"> |
|
7784 <p>Checks whether or not the attribute is one which has been |
|
7785 added lazily and still requires initialization.</p> |
|
7786 </div> |
|
7787 |
|
7788 |
|
7789 <div class="params"> |
|
7790 <h4>Parameters:</h4> |
|
7791 |
|
7792 <ul class="params-list"> |
|
7793 |
|
7794 <li class="param"> |
|
7795 |
|
7796 <code class="param-name">name</code> |
|
7797 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7798 |
|
7799 |
|
7800 |
|
7801 |
|
7802 <div class="param-description"> |
|
7803 <p>The name of the attribute</p> |
|
7804 </div> |
|
7805 |
|
7806 |
|
7807 </li> |
|
7808 |
|
7809 </ul> |
|
7810 </div> |
|
7811 |
|
7812 |
|
7813 |
|
7814 <div class="returns"> |
|
7815 <h4>Returns:</h4> |
|
7816 |
|
7817 <div class="returns-description"> |
|
7818 |
|
7819 |
|
7820 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
7821 |
|
7822 true if it's a lazily added attribute, false otherwise. |
|
7823 |
|
7824 </div> |
|
7825 </div> |
|
7826 |
|
7827 |
|
7828 |
|
7829 </div> |
|
7830 |
|
7831 |
|
7832 <div id="method__isUIEvent" class="method item private inherited"> |
|
7833 <h3 class="name"><code>_isUIEvent</code></h3> |
|
7834 |
|
7835 |
|
7836 <div class="args"> |
|
7837 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7838 |
|
7839 <li class="arg"> |
|
7840 |
|
7841 <code>type</code> |
|
7842 |
|
7843 </li> |
|
7844 |
|
7845 </ul><span class="paren">)</span> |
|
7846 </div> |
|
7847 |
|
7848 |
|
7849 |
|
7850 <span class="returns-inline"> |
|
7851 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7852 </span> |
|
7853 |
|
7854 |
|
7855 |
|
7856 |
|
7857 |
|
7858 <span class="flag private">private</span> |
|
7859 |
|
7860 |
|
7861 |
|
7862 |
|
7863 |
|
7864 |
|
7865 |
|
7866 |
|
7867 |
|
7868 |
|
7869 <div class="meta"> |
|
7870 |
|
7871 |
|
7872 <p>Inherited from |
|
7873 <a href="../classes/Widget.html#method__isUIEvent">Widget</a>: |
|
7874 |
|
7875 |
|
7876 |
|
7877 <a href="../files/widget_js_WidgetUIEvents.js.html#l143"><code>widget/js/WidgetUIEvents.js:143</code></a> |
|
7878 |
|
7879 </p> |
|
7880 |
|
7881 |
|
7882 |
|
7883 |
|
7884 |
|
7885 </div> |
|
7886 |
|
7887 <div class="description"> |
|
7888 <p>Determines if the specified event is a UI event.</p> |
|
7889 </div> |
|
7890 |
|
7891 |
|
7892 <div class="params"> |
|
7893 <h4>Parameters:</h4> |
|
7894 |
|
7895 <ul class="params-list"> |
|
7896 |
|
7897 <li class="param"> |
|
7898 |
|
7899 <code class="param-name">type</code> |
|
7900 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
7901 |
|
7902 |
|
7903 |
|
7904 |
|
7905 <div class="param-description"> |
|
7906 <p>String representing the name of the event</p> |
|
7907 </div> |
|
7908 |
|
7909 |
|
7910 </li> |
|
7911 |
|
7912 </ul> |
|
7913 </div> |
|
7914 |
|
7915 |
|
7916 |
|
7917 <div class="returns"> |
|
7918 <h4>Returns:</h4> |
|
7919 |
|
7920 <div class="returns-description"> |
|
7921 |
|
7922 |
|
7923 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
7924 |
|
7925 Event Returns the name of the UI Event, otherwise |
|
7926 undefined. |
|
7927 |
|
7928 </div> |
|
7929 </div> |
|
7930 |
|
7931 |
|
7932 |
|
7933 </div> |
|
7934 |
|
7935 |
|
7936 <div id="method__mapInstance" class="method item protected inherited"> |
|
7937 <h3 class="name"><code>_mapInstance</code></h3> |
|
7938 |
|
7939 |
|
7940 <div class="args"> |
|
7941 <span class="paren">(</span><ul class="args-list inline commas"> |
|
7942 |
|
7943 <li class="arg"> |
|
7944 |
|
7945 <code>The</code> |
|
7946 |
|
7947 </li> |
|
7948 |
|
7949 </ul><span class="paren">)</span> |
|
7950 </div> |
|
7951 |
|
7952 |
|
7953 |
|
7954 |
|
7955 |
|
7956 |
|
7957 |
|
7958 <span class="flag protected">protected</span> |
|
7959 |
|
7960 |
|
7961 |
|
7962 |
|
7963 |
|
7964 |
|
7965 |
|
7966 |
|
7967 |
|
7968 |
|
7969 <div class="meta"> |
|
7970 |
|
7971 |
|
7972 <p>Inherited from |
|
7973 <a href="../classes/Widget.html#method__mapInstance">Widget</a>: |
|
7974 |
|
7975 |
|
7976 |
|
7977 <a href="../files/widget_js_Widget.js.html#l414"><code>widget/js/Widget.js:414</code></a> |
|
7978 |
|
7979 </p> |
|
7980 |
|
7981 |
|
7982 |
|
7983 |
|
7984 |
|
7985 </div> |
|
7986 |
|
7987 <div class="description"> |
|
7988 <p>Utility method used to add an entry to the boundingBox id to instance map.</p> |
|
7989 |
|
7990 <p>This method can be used to populate the instance with lazily created boundingBox Node references.</p> |
|
7991 </div> |
|
7992 |
|
7993 |
|
7994 <div class="params"> |
|
7995 <h4>Parameters:</h4> |
|
7996 |
|
7997 <ul class="params-list"> |
|
7998 |
|
7999 <li class="param"> |
|
8000 |
|
8001 <code class="param-name">The</code> |
|
8002 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8003 |
|
8004 |
|
8005 |
|
8006 |
|
8007 <div class="param-description"> |
|
8008 <p>boundingBox id</p> |
|
8009 </div> |
|
8010 |
|
8011 |
|
8012 </li> |
|
8013 |
|
8014 </ul> |
|
8015 </div> |
|
8016 |
|
8017 |
|
8018 |
|
8019 |
|
8020 |
|
8021 </div> |
|
8022 |
|
8023 |
|
8024 <div id="method__monitor" class="method item private inherited"> |
|
8025 <h3 class="name"><code>_monitor</code></h3> |
|
8026 |
|
8027 |
|
8028 <div class="args"> |
|
8029 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8030 |
|
8031 <li class="arg"> |
|
8032 |
|
8033 <code>what</code> |
|
8034 |
|
8035 </li> |
|
8036 |
|
8037 <li class="arg"> |
|
8038 |
|
8039 <code>eventType</code> |
|
8040 |
|
8041 </li> |
|
8042 |
|
8043 <li class="arg"> |
|
8044 |
|
8045 <code>o</code> |
|
8046 |
|
8047 </li> |
|
8048 |
|
8049 </ul><span class="paren">)</span> |
|
8050 </div> |
|
8051 |
|
8052 |
|
8053 |
|
8054 |
|
8055 |
|
8056 |
|
8057 |
|
8058 <span class="flag private">private</span> |
|
8059 |
|
8060 |
|
8061 |
|
8062 |
|
8063 |
|
8064 |
|
8065 |
|
8066 |
|
8067 |
|
8068 |
|
8069 <div class="meta"> |
|
8070 |
|
8071 |
|
8072 <p>Inherited from |
|
8073 <a href="../classes/EventTarget.html#method__monitor">EventTarget</a>: |
|
8074 |
|
8075 |
|
8076 |
|
8077 <a href="../files/event-custom_js_event-target.js.html#l658"><code>event-custom/js/event-target.js:658</code></a> |
|
8078 |
|
8079 </p> |
|
8080 |
|
8081 |
|
8082 |
|
8083 |
|
8084 |
|
8085 </div> |
|
8086 |
|
8087 <div class="description"> |
|
8088 <p>This is the entry point for the event monitoring system. |
|
8089 You can monitor 'attach', 'detach', 'fire', and 'publish'. |
|
8090 When configured, these events generate an event. click -> |
|
8091 click<em>attach, click</em>detach, click_publish -- these can |
|
8092 be subscribed to like other events to monitor the event |
|
8093 system. Inividual published events can have monitoring |
|
8094 turned on or off (publish can't be turned off before it |
|
8095 it published) by setting the events 'monitor' config.</p> |
|
8096 </div> |
|
8097 |
|
8098 |
|
8099 <div class="params"> |
|
8100 <h4>Parameters:</h4> |
|
8101 |
|
8102 <ul class="params-list"> |
|
8103 |
|
8104 <li class="param"> |
|
8105 |
|
8106 <code class="param-name">what</code> |
|
8107 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8108 |
|
8109 |
|
8110 |
|
8111 |
|
8112 <div class="param-description"> |
|
8113 <p>'attach', 'detach', 'fire', or 'publish'</p> |
|
8114 </div> |
|
8115 |
|
8116 |
|
8117 </li> |
|
8118 |
|
8119 <li class="param"> |
|
8120 |
|
8121 <code class="param-name">eventType</code> |
|
8122 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
8123 |
|
8124 |
|
8125 |
|
8126 |
|
8127 <div class="param-description"> |
|
8128 <p>The prefixed name of the event being monitored, or the CustomEvent object.</p> |
|
8129 </div> |
|
8130 |
|
8131 |
|
8132 </li> |
|
8133 |
|
8134 <li class="param"> |
|
8135 |
|
8136 <code class="param-name">o</code> |
|
8137 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8138 |
|
8139 |
|
8140 |
|
8141 |
|
8142 <div class="param-description"> |
|
8143 <p>Information about the event interaction, such as |
|
8144 fire() args, subscription category, publish config</p> |
|
8145 </div> |
|
8146 |
|
8147 |
|
8148 </li> |
|
8149 |
|
8150 </ul> |
|
8151 </div> |
|
8152 |
|
8153 |
|
8154 |
|
8155 |
|
8156 |
|
8157 </div> |
|
8158 |
|
8159 |
|
8160 <div id="method__normAttrVals" class="method item private inherited"> |
|
8161 <h3 class="name"><code>_normAttrVals</code></h3> |
|
8162 |
|
8163 |
|
8164 <div class="args"> |
|
8165 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8166 |
|
8167 <li class="arg"> |
|
8168 |
|
8169 <code>valueHash</code> |
|
8170 |
|
8171 </li> |
|
8172 |
|
8173 </ul><span class="paren">)</span> |
|
8174 </div> |
|
8175 |
|
8176 |
|
8177 |
|
8178 <span class="returns-inline"> |
|
8179 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8180 </span> |
|
8181 |
|
8182 |
|
8183 |
|
8184 |
|
8185 |
|
8186 <span class="flag private">private</span> |
|
8187 |
|
8188 |
|
8189 |
|
8190 |
|
8191 |
|
8192 |
|
8193 |
|
8194 |
|
8195 |
|
8196 |
|
8197 <div class="meta"> |
|
8198 |
|
8199 |
|
8200 <p>Inherited from |
|
8201 <a href="../classes/AttributeCore.html#method__normAttrVals">AttributeCore</a>: |
|
8202 |
|
8203 |
|
8204 |
|
8205 <a href="../files/attribute_js_AttributeCore.js.html#l897"><code>attribute/js/AttributeCore.js:897</code></a> |
|
8206 |
|
8207 </p> |
|
8208 |
|
8209 |
|
8210 |
|
8211 |
|
8212 |
|
8213 </div> |
|
8214 |
|
8215 <div class="description"> |
|
8216 <p>Utility method to normalize attribute values. The base implementation |
|
8217 simply merges the hash to protect the original.</p> |
|
8218 </div> |
|
8219 |
|
8220 |
|
8221 <div class="params"> |
|
8222 <h4>Parameters:</h4> |
|
8223 |
|
8224 <ul class="params-list"> |
|
8225 |
|
8226 <li class="param"> |
|
8227 |
|
8228 <code class="param-name">valueHash</code> |
|
8229 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8230 |
|
8231 |
|
8232 |
|
8233 |
|
8234 <div class="param-description"> |
|
8235 <p>An object with attribute name/value pairs</p> |
|
8236 </div> |
|
8237 |
|
8238 |
|
8239 </li> |
|
8240 |
|
8241 </ul> |
|
8242 </div> |
|
8243 |
|
8244 |
|
8245 |
|
8246 <div class="returns"> |
|
8247 <h4>Returns:</h4> |
|
8248 |
|
8249 <div class="returns-description"> |
|
8250 |
|
8251 |
|
8252 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8253 |
|
8254 An object literal with 2 properties - "simple" and "complex", |
|
8255 containing simple and complex attribute values respectively keyed |
|
8256 by the top level attribute name, or null, if valueHash is falsey. |
|
8257 |
|
8258 </div> |
|
8259 </div> |
|
8260 |
|
8261 |
|
8262 |
|
8263 </div> |
|
8264 |
|
8265 |
|
8266 <div id="method__onDocFocus" class="method item protected inherited"> |
|
8267 <h3 class="name"><code>_onDocFocus</code></h3> |
|
8268 |
|
8269 |
|
8270 <div class="args"> |
|
8271 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8272 |
|
8273 <li class="arg"> |
|
8274 |
|
8275 <code>evt</code> |
|
8276 |
|
8277 </li> |
|
8278 |
|
8279 </ul><span class="paren">)</span> |
|
8280 </div> |
|
8281 |
|
8282 |
|
8283 |
|
8284 |
|
8285 |
|
8286 |
|
8287 |
|
8288 <span class="flag protected">protected</span> |
|
8289 |
|
8290 |
|
8291 |
|
8292 |
|
8293 |
|
8294 |
|
8295 |
|
8296 |
|
8297 |
|
8298 |
|
8299 <div class="meta"> |
|
8300 |
|
8301 |
|
8302 <p>Inherited from |
|
8303 <a href="../classes/Widget.html#method__onDocFocus">Widget</a>: |
|
8304 |
|
8305 |
|
8306 |
|
8307 <a href="../files/widget_js_Widget.js.html#l1081"><code>widget/js/Widget.js:1081</code></a> |
|
8308 |
|
8309 </p> |
|
8310 |
|
8311 |
|
8312 |
|
8313 |
|
8314 |
|
8315 </div> |
|
8316 |
|
8317 <div class="description"> |
|
8318 <p>DOM focus event handler, used to sync the state of the Widget with the DOM</p> |
|
8319 </div> |
|
8320 |
|
8321 |
|
8322 <div class="params"> |
|
8323 <h4>Parameters:</h4> |
|
8324 |
|
8325 <ul class="params-list"> |
|
8326 |
|
8327 <li class="param"> |
|
8328 |
|
8329 <code class="param-name">evt</code> |
|
8330 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
8331 |
|
8332 |
|
8333 |
|
8334 |
|
8335 <div class="param-description"> |
|
8336 <p>The event facade for the DOM focus event</p> |
|
8337 </div> |
|
8338 |
|
8339 |
|
8340 </li> |
|
8341 |
|
8342 </ul> |
|
8343 </div> |
|
8344 |
|
8345 |
|
8346 |
|
8347 |
|
8348 |
|
8349 </div> |
|
8350 |
|
8351 |
|
8352 <div id="method__onDocMouseDown" class="method item protected inherited"> |
|
8353 <h3 class="name"><code>_onDocMouseDown</code></h3> |
|
8354 |
|
8355 |
|
8356 <div class="args"> |
|
8357 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8358 |
|
8359 <li class="arg"> |
|
8360 |
|
8361 <code>evt</code> |
|
8362 |
|
8363 </li> |
|
8364 |
|
8365 </ul><span class="paren">)</span> |
|
8366 </div> |
|
8367 |
|
8368 |
|
8369 |
|
8370 |
|
8371 |
|
8372 |
|
8373 |
|
8374 <span class="flag protected">protected</span> |
|
8375 |
|
8376 |
|
8377 |
|
8378 |
|
8379 |
|
8380 |
|
8381 |
|
8382 |
|
8383 |
|
8384 |
|
8385 <div class="meta"> |
|
8386 |
|
8387 |
|
8388 <p>Inherited from |
|
8389 <a href="../classes/Widget.html#method__onDocMouseDown">Widget</a>: |
|
8390 |
|
8391 |
|
8392 |
|
8393 <a href="../files/widget_js_Widget.js.html#l1068"><code>widget/js/Widget.js:1068</code></a> |
|
8394 |
|
8395 </p> |
|
8396 |
|
8397 |
|
8398 |
|
8399 |
|
8400 |
|
8401 </div> |
|
8402 |
|
8403 <div class="description"> |
|
8404 <p>"mousedown" event handler for the owner document of the |
|
8405 widget's bounding box.</p> |
|
8406 </div> |
|
8407 |
|
8408 |
|
8409 <div class="params"> |
|
8410 <h4>Parameters:</h4> |
|
8411 |
|
8412 <ul class="params-list"> |
|
8413 |
|
8414 <li class="param"> |
|
8415 |
|
8416 <code class="param-name">evt</code> |
|
8417 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
8418 |
|
8419 |
|
8420 |
|
8421 |
|
8422 <div class="param-description"> |
|
8423 <p>The event facade for the DOM focus event</p> |
|
8424 </div> |
|
8425 |
|
8426 |
|
8427 </li> |
|
8428 |
|
8429 </ul> |
|
8430 </div> |
|
8431 |
|
8432 |
|
8433 |
|
8434 |
|
8435 |
|
8436 </div> |
|
8437 |
|
8438 |
|
8439 <div id="method__parseType" class="method item private inherited"> |
|
8440 <h3 class="name"><code>_parseType</code></h3> |
|
8441 |
|
8442 |
|
8443 <span class="paren">()</span> |
|
8444 |
|
8445 |
|
8446 |
|
8447 |
|
8448 |
|
8449 |
|
8450 |
|
8451 <span class="flag private">private</span> |
|
8452 |
|
8453 |
|
8454 |
|
8455 |
|
8456 |
|
8457 |
|
8458 |
|
8459 |
|
8460 |
|
8461 |
|
8462 <div class="meta"> |
|
8463 |
|
8464 |
|
8465 <p>Inherited from |
|
8466 <a href="../classes/EventTarget.html#method__parseType">EventTarget</a>: |
|
8467 |
|
8468 |
|
8469 |
|
8470 <a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a> |
|
8471 |
|
8472 </p> |
|
8473 |
|
8474 |
|
8475 |
|
8476 |
|
8477 |
|
8478 </div> |
|
8479 |
|
8480 <div class="description"> |
|
8481 <p>Returns an array with the detach key (if provided), |
|
8482 and the prefixed event name from _getType |
|
8483 Y.on('detachcategory| menu:click', fn)</p> |
|
8484 </div> |
|
8485 |
|
8486 |
|
8487 |
|
8488 |
|
8489 |
|
8490 |
|
8491 </div> |
|
8492 |
|
8493 |
|
8494 <div id="method__preInitEventCfg" class="method item private inherited"> |
|
8495 <h3 class="name"><code>_preInitEventCfg</code></h3> |
|
8496 |
|
8497 |
|
8498 <div class="args"> |
|
8499 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8500 |
|
8501 <li class="arg"> |
|
8502 |
|
8503 <code>config</code> |
|
8504 |
|
8505 </li> |
|
8506 |
|
8507 </ul><span class="paren">)</span> |
|
8508 </div> |
|
8509 |
|
8510 |
|
8511 |
|
8512 |
|
8513 |
|
8514 |
|
8515 |
|
8516 <span class="flag private">private</span> |
|
8517 |
|
8518 |
|
8519 |
|
8520 |
|
8521 |
|
8522 |
|
8523 |
|
8524 |
|
8525 |
|
8526 |
|
8527 <div class="meta"> |
|
8528 |
|
8529 |
|
8530 <p>Inherited from |
|
8531 <a href="../classes/BaseObservable.html#method__preInitEventCfg">BaseObservable</a>: |
|
8532 |
|
8533 |
|
8534 |
|
8535 <a href="../files/base_js_BaseObservable.js.html#l98"><code>base/js/BaseObservable.js:98</code></a> |
|
8536 |
|
8537 </p> |
|
8538 |
|
8539 |
|
8540 |
|
8541 |
|
8542 |
|
8543 </div> |
|
8544 |
|
8545 <div class="description"> |
|
8546 <p>Handles the special on, after and target properties which allow the user to |
|
8547 easily configure on and after listeners as well as bubble targets during |
|
8548 construction, prior to init.</p> |
|
8549 </div> |
|
8550 |
|
8551 |
|
8552 <div class="params"> |
|
8553 <h4>Parameters:</h4> |
|
8554 |
|
8555 <ul class="params-list"> |
|
8556 |
|
8557 <li class="param"> |
|
8558 |
|
8559 <code class="param-name">config</code> |
|
8560 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8561 |
|
8562 |
|
8563 |
|
8564 |
|
8565 <div class="param-description"> |
|
8566 <p>The user configuration object</p> |
|
8567 </div> |
|
8568 |
|
8569 |
|
8570 </li> |
|
8571 |
|
8572 </ul> |
|
8573 </div> |
|
8574 |
|
8575 |
|
8576 |
|
8577 |
|
8578 |
|
8579 </div> |
|
8580 |
|
8581 |
|
8582 <div id="method__protectAttrs" class="method item protected deprecated inherited"> |
|
8583 <h3 class="name"><code>_protectAttrs</code></h3> |
|
8584 |
|
8585 |
|
8586 <div class="args"> |
|
8587 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8588 |
|
8589 <li class="arg"> |
|
8590 |
|
8591 <code>attrs</code> |
|
8592 |
|
8593 </li> |
|
8594 |
|
8595 </ul><span class="paren">)</span> |
|
8596 </div> |
|
8597 |
|
8598 |
|
8599 |
|
8600 <span class="returns-inline"> |
|
8601 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8602 </span> |
|
8603 |
|
8604 |
|
8605 |
|
8606 <span class="flag deprecated" title="Use `AttributeCore.protectAttrs()` or |
|
8607 `Attribute.protectAttrs()` which are the same static utility method.">deprecated</span> |
|
8608 |
|
8609 |
|
8610 |
|
8611 <span class="flag protected">protected</span> |
|
8612 |
|
8613 |
|
8614 |
|
8615 |
|
8616 |
|
8617 |
|
8618 |
|
8619 |
|
8620 |
|
8621 |
|
8622 <div class="meta"> |
|
8623 |
|
8624 |
|
8625 <p>Inherited from |
|
8626 <a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>: |
|
8627 |
|
8628 |
|
8629 |
|
8630 <a href="../files/attribute_js_AttributeCore.js.html#l883"><code>attribute/js/AttributeCore.js:883</code></a> |
|
8631 |
|
8632 </p> |
|
8633 |
|
8634 |
|
8635 |
|
8636 <p>Deprecated: Use `AttributeCore.protectAttrs()` or |
|
8637 `Attribute.protectAttrs()` which are the same static utility method.</p> |
|
8638 |
|
8639 |
|
8640 |
|
8641 </div> |
|
8642 |
|
8643 <div class="description"> |
|
8644 <p>Utility method to protect an attribute configuration |
|
8645 hash, by merging the entire object and the individual |
|
8646 attr config objects.</p> |
|
8647 </div> |
|
8648 |
|
8649 |
|
8650 <div class="params"> |
|
8651 <h4>Parameters:</h4> |
|
8652 |
|
8653 <ul class="params-list"> |
|
8654 |
|
8655 <li class="param"> |
|
8656 |
|
8657 <code class="param-name">attrs</code> |
|
8658 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8659 |
|
8660 |
|
8661 |
|
8662 |
|
8663 <div class="param-description"> |
|
8664 <p>A hash of attribute to configuration object pairs.</p> |
|
8665 </div> |
|
8666 |
|
8667 |
|
8668 </li> |
|
8669 |
|
8670 </ul> |
|
8671 </div> |
|
8672 |
|
8673 |
|
8674 |
|
8675 <div class="returns"> |
|
8676 <h4>Returns:</h4> |
|
8677 |
|
8678 <div class="returns-description"> |
|
8679 |
|
8680 |
|
8681 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
8682 |
|
8683 A protected version of the attrs argument. |
|
8684 |
|
8685 </div> |
|
8686 </div> |
|
8687 |
|
8688 |
|
8689 |
|
8690 </div> |
|
8691 |
|
8692 |
|
8693 <div id="method__publish" class="method item private inherited"> |
|
8694 <h3 class="name"><code>_publish</code></h3> |
|
8695 |
|
8696 |
|
8697 <div class="args"> |
|
8698 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8699 |
|
8700 <li class="arg"> |
|
8701 |
|
8702 <code>fullType</code> |
|
8703 |
|
8704 </li> |
|
8705 |
|
8706 <li class="arg"> |
|
8707 |
|
8708 <code>etOpts</code> |
|
8709 |
|
8710 </li> |
|
8711 |
|
8712 <li class="arg"> |
|
8713 |
|
8714 <code>ceOpts</code> |
|
8715 |
|
8716 </li> |
|
8717 |
|
8718 </ul><span class="paren">)</span> |
|
8719 </div> |
|
8720 |
|
8721 |
|
8722 |
|
8723 <span class="returns-inline"> |
|
8724 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
8725 </span> |
|
8726 |
|
8727 |
|
8728 |
|
8729 |
|
8730 |
|
8731 <span class="flag private">private</span> |
|
8732 |
|
8733 |
|
8734 |
|
8735 |
|
8736 |
|
8737 |
|
8738 |
|
8739 |
|
8740 |
|
8741 |
|
8742 <div class="meta"> |
|
8743 |
|
8744 |
|
8745 <p>Inherited from |
|
8746 <a href="../classes/EventTarget.html#method__publish">EventTarget</a>: |
|
8747 |
|
8748 |
|
8749 |
|
8750 <a href="../files/event-custom_js_event-target.js.html#l610"><code>event-custom/js/event-target.js:610</code></a> |
|
8751 |
|
8752 </p> |
|
8753 |
|
8754 |
|
8755 |
|
8756 |
|
8757 |
|
8758 </div> |
|
8759 |
|
8760 <div class="description"> |
|
8761 <p>The low level event publish implementation. It expects all the massaging to have been done |
|
8762 outside of this method. e.g. the <code>type</code> to <code>fullType</code> conversion. It's designed to be a fast |
|
8763 path publish, which can be used by critical code paths to improve performance.</p> |
|
8764 </div> |
|
8765 |
|
8766 |
|
8767 <div class="params"> |
|
8768 <h4>Parameters:</h4> |
|
8769 |
|
8770 <ul class="params-list"> |
|
8771 |
|
8772 <li class="param"> |
|
8773 |
|
8774 <code class="param-name">fullType</code> |
|
8775 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
8776 |
|
8777 |
|
8778 |
|
8779 |
|
8780 <div class="param-description"> |
|
8781 <p>The prefixed type of the event to publish.</p> |
|
8782 </div> |
|
8783 |
|
8784 |
|
8785 </li> |
|
8786 |
|
8787 <li class="param"> |
|
8788 |
|
8789 <code class="param-name">etOpts</code> |
|
8790 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8791 |
|
8792 |
|
8793 |
|
8794 |
|
8795 <div class="param-description"> |
|
8796 <p>The EventTarget specific configuration to mix into the published event.</p> |
|
8797 </div> |
|
8798 |
|
8799 |
|
8800 </li> |
|
8801 |
|
8802 <li class="param"> |
|
8803 |
|
8804 <code class="param-name">ceOpts</code> |
|
8805 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
8806 |
|
8807 |
|
8808 |
|
8809 |
|
8810 <div class="param-description"> |
|
8811 <p>The publish specific configuration to mix into the published event.</p> |
|
8812 </div> |
|
8813 |
|
8814 |
|
8815 </li> |
|
8816 |
|
8817 </ul> |
|
8818 </div> |
|
8819 |
|
8820 |
|
8821 |
|
8822 <div class="returns"> |
|
8823 <h4>Returns:</h4> |
|
8824 |
|
8825 <div class="returns-description"> |
|
8826 |
|
8827 |
|
8828 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
8829 |
|
8830 The published event. If called without <code>etOpts</code> or <code>ceOpts</code>, this will |
|
8831 be the default <code>CustomEvent</code> instance, and can be configured independently. |
|
8832 |
|
8833 </div> |
|
8834 </div> |
|
8835 |
|
8836 |
|
8837 |
|
8838 </div> |
|
8839 |
|
8840 |
|
8841 <div id="method__removeLoadingClassNames" class="method item protected inherited"> |
|
8842 <h3 class="name"><code>_removeLoadingClassNames</code></h3> |
|
8843 |
|
8844 |
|
8845 <span class="paren">()</span> |
|
8846 |
|
8847 |
|
8848 |
|
8849 |
|
8850 |
|
8851 |
|
8852 |
|
8853 <span class="flag protected">protected</span> |
|
8854 |
|
8855 |
|
8856 |
|
8857 |
|
8858 |
|
8859 |
|
8860 |
|
8861 |
|
8862 |
|
8863 |
|
8864 <div class="meta"> |
|
8865 |
|
8866 |
|
8867 <p>Inherited from |
|
8868 <a href="../classes/Widget.html#method__removeLoadingClassNames">Widget</a>: |
|
8869 |
|
8870 |
|
8871 |
|
8872 <a href="../files/widget_js_Widget.js.html#l862"><code>widget/js/Widget.js:862</code></a> |
|
8873 |
|
8874 </p> |
|
8875 |
|
8876 |
|
8877 |
|
8878 |
|
8879 |
|
8880 </div> |
|
8881 |
|
8882 <div class="description"> |
|
8883 <p>Removes class names representative of the widget's loading state from |
|
8884 the boundingBox.</p> |
|
8885 </div> |
|
8886 |
|
8887 |
|
8888 |
|
8889 |
|
8890 |
|
8891 |
|
8892 </div> |
|
8893 |
|
8894 |
|
8895 <div id="method__renderBox" class="method item private inherited"> |
|
8896 <h3 class="name"><code>_renderBox</code></h3> |
|
8897 |
|
8898 |
|
8899 <div class="args"> |
|
8900 <span class="paren">(</span><ul class="args-list inline commas"> |
|
8901 |
|
8902 <li class="arg"> |
|
8903 |
|
8904 <code>parentNode</code> |
|
8905 |
|
8906 </li> |
|
8907 |
|
8908 </ul><span class="paren">)</span> |
|
8909 </div> |
|
8910 |
|
8911 |
|
8912 |
|
8913 |
|
8914 |
|
8915 |
|
8916 |
|
8917 <span class="flag private">private</span> |
|
8918 |
|
8919 |
|
8920 |
|
8921 |
|
8922 |
|
8923 |
|
8924 |
|
8925 |
|
8926 |
|
8927 |
|
8928 <div class="meta"> |
|
8929 |
|
8930 |
|
8931 <p>Inherited from |
|
8932 <a href="../classes/Widget.html#method__renderBox">Widget</a>: |
|
8933 |
|
8934 |
|
8935 |
|
8936 <a href="../files/widget_js_Widget.js.html#l710"><code>widget/js/Widget.js:710</code></a> |
|
8937 |
|
8938 </p> |
|
8939 |
|
8940 |
|
8941 |
|
8942 |
|
8943 |
|
8944 </div> |
|
8945 |
|
8946 <div class="description"> |
|
8947 <p>Helper method to collect the boundingBox and contentBox and append to the provided parentNode, if not |
|
8948 already a child. The owner document of the boundingBox, or the owner document of the contentBox will be used |
|
8949 as the document into which the Widget is rendered if a parentNode is node is not provided. If both the boundingBox and |
|
8950 the contentBox are not currently in the document, and no parentNode is provided, the widget will be rendered |
|
8951 to the current document's body.</p> |
|
8952 </div> |
|
8953 |
|
8954 |
|
8955 <div class="params"> |
|
8956 <h4>Parameters:</h4> |
|
8957 |
|
8958 <ul class="params-list"> |
|
8959 |
|
8960 <li class="param"> |
|
8961 |
|
8962 <code class="param-name">parentNode</code> |
|
8963 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
8964 |
|
8965 |
|
8966 |
|
8967 |
|
8968 <div class="param-description"> |
|
8969 <p>The parentNode to render the widget to. If not provided, and both the boundingBox and |
|
8970 the contentBox are not currently in the document, the widget will be rendered to the current document's body.</p> |
|
8971 </div> |
|
8972 |
|
8973 |
|
8974 </li> |
|
8975 |
|
8976 </ul> |
|
8977 </div> |
|
8978 |
|
8979 |
|
8980 |
|
8981 |
|
8982 |
|
8983 </div> |
|
8984 |
|
8985 |
|
8986 <div id="method__renderBoxClassNames" class="method item protected inherited"> |
|
8987 <h3 class="name"><code>_renderBoxClassNames</code></h3> |
|
8988 |
|
8989 |
|
8990 <span class="paren">()</span> |
|
8991 |
|
8992 |
|
8993 |
|
8994 |
|
8995 |
|
8996 |
|
8997 |
|
8998 <span class="flag protected">protected</span> |
|
8999 |
|
9000 |
|
9001 |
|
9002 |
|
9003 |
|
9004 |
|
9005 |
|
9006 |
|
9007 |
|
9008 |
|
9009 <div class="meta"> |
|
9010 |
|
9011 |
|
9012 <p>Inherited from |
|
9013 <a href="../classes/Widget.html#method__renderBoxClassNames">Widget</a>: |
|
9014 |
|
9015 |
|
9016 |
|
9017 <a href="../files/widget_js_Widget.js.html#l838"><code>widget/js/Widget.js:838</code></a> |
|
9018 |
|
9019 </p> |
|
9020 |
|
9021 |
|
9022 |
|
9023 |
|
9024 |
|
9025 </div> |
|
9026 |
|
9027 <div class="description"> |
|
9028 <p>Applies standard class names to the boundingBox and contentBox</p> |
|
9029 </div> |
|
9030 |
|
9031 |
|
9032 |
|
9033 |
|
9034 |
|
9035 |
|
9036 </div> |
|
9037 |
|
9038 |
|
9039 <div id="method__renderUI" class="method item protected inherited"> |
|
9040 <h3 class="name"><code>_renderUI</code></h3> |
|
9041 |
|
9042 |
|
9043 <span class="paren">()</span> |
|
9044 |
|
9045 |
|
9046 |
|
9047 |
|
9048 |
|
9049 |
|
9050 |
|
9051 <span class="flag protected">protected</span> |
|
9052 |
|
9053 |
|
9054 |
|
9055 |
|
9056 |
|
9057 |
|
9058 |
|
9059 |
|
9060 |
|
9061 |
|
9062 <div class="meta"> |
|
9063 |
|
9064 |
|
9065 <p>Inherited from |
|
9066 <a href="../classes/Widget.html#method__renderUI">Widget</a>: |
|
9067 |
|
9068 |
|
9069 |
|
9070 <a href="../files/widget_js_Widget.js.html#l827"><code>widget/js/Widget.js:827</code></a> |
|
9071 |
|
9072 </p> |
|
9073 |
|
9074 |
|
9075 |
|
9076 |
|
9077 |
|
9078 </div> |
|
9079 |
|
9080 <div class="description"> |
|
9081 <p>Initializes the UI state for the Widget's bounding/content boxes.</p> |
|
9082 </div> |
|
9083 |
|
9084 |
|
9085 |
|
9086 |
|
9087 |
|
9088 |
|
9089 </div> |
|
9090 |
|
9091 |
|
9092 <div id="method__set" class="method item protected inherited"> |
|
9093 <h3 class="name"><code>_set</code></h3> |
|
9094 |
|
9095 |
|
9096 <div class="args"> |
|
9097 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9098 |
|
9099 <li class="arg"> |
|
9100 |
|
9101 <code>name</code> |
|
9102 |
|
9103 </li> |
|
9104 |
|
9105 <li class="arg"> |
|
9106 |
|
9107 <code>val</code> |
|
9108 |
|
9109 </li> |
|
9110 |
|
9111 <li class="arg"> |
|
9112 |
|
9113 <code class="optional">[opts]</code> |
|
9114 |
|
9115 </li> |
|
9116 |
|
9117 </ul><span class="paren">)</span> |
|
9118 </div> |
|
9119 |
|
9120 |
|
9121 |
|
9122 <span class="returns-inline"> |
|
9123 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9124 </span> |
|
9125 |
|
9126 |
|
9127 |
|
9128 |
|
9129 |
|
9130 <span class="flag protected">protected</span> |
|
9131 |
|
9132 |
|
9133 |
|
9134 |
|
9135 |
|
9136 |
|
9137 |
|
9138 <span class="flag chainable">chainable</span> |
|
9139 |
|
9140 |
|
9141 |
|
9142 |
|
9143 <div class="meta"> |
|
9144 |
|
9145 <p>Inherited from |
|
9146 <a href="../classes/AttributeObservable.html#method__set"> |
|
9147 AttributeObservable |
|
9148 </a> |
|
9149 |
|
9150 but overwritten in |
|
9151 |
|
9152 |
|
9153 |
|
9154 <a href="../files/attribute_js_AttributeCore.js.html#l427"><code>attribute/js/AttributeCore.js:427</code></a> |
|
9155 |
|
9156 </p> |
|
9157 |
|
9158 |
|
9159 |
|
9160 |
|
9161 |
|
9162 </div> |
|
9163 |
|
9164 <div class="description"> |
|
9165 <p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p> |
|
9166 </div> |
|
9167 |
|
9168 |
|
9169 <div class="params"> |
|
9170 <h4>Parameters:</h4> |
|
9171 |
|
9172 <ul class="params-list"> |
|
9173 |
|
9174 <li class="param"> |
|
9175 |
|
9176 <code class="param-name">name</code> |
|
9177 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9178 |
|
9179 |
|
9180 |
|
9181 |
|
9182 <div class="param-description"> |
|
9183 <p>The name of the attribute.</p> |
|
9184 </div> |
|
9185 |
|
9186 |
|
9187 </li> |
|
9188 |
|
9189 <li class="param"> |
|
9190 |
|
9191 <code class="param-name">val</code> |
|
9192 <span class="type">Any</span> |
|
9193 |
|
9194 |
|
9195 |
|
9196 |
|
9197 <div class="param-description"> |
|
9198 <p>The value to set the attribute to.</p> |
|
9199 </div> |
|
9200 |
|
9201 |
|
9202 </li> |
|
9203 |
|
9204 <li class="param"> |
|
9205 |
|
9206 <code class="param-name optional">[opts]</code> |
|
9207 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9208 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9209 |
|
9210 |
|
9211 |
|
9212 |
|
9213 <div class="param-description"> |
|
9214 <p>Optional data providing the circumstances for the change.</p> |
|
9215 </div> |
|
9216 |
|
9217 |
|
9218 </li> |
|
9219 |
|
9220 </ul> |
|
9221 </div> |
|
9222 |
|
9223 |
|
9224 |
|
9225 <div class="returns"> |
|
9226 <h4>Returns:</h4> |
|
9227 |
|
9228 <div class="returns-description"> |
|
9229 |
|
9230 |
|
9231 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
9232 |
|
9233 A reference to the host object. |
|
9234 |
|
9235 </div> |
|
9236 </div> |
|
9237 |
|
9238 |
|
9239 |
|
9240 </div> |
|
9241 |
|
9242 |
|
9243 <div id="method__setAttr" class="method item protected inherited"> |
|
9244 <h3 class="name"><code>_setAttr</code></h3> |
|
9245 |
|
9246 |
|
9247 <div class="args"> |
|
9248 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9249 |
|
9250 <li class="arg"> |
|
9251 |
|
9252 <code>name</code> |
|
9253 |
|
9254 </li> |
|
9255 |
|
9256 <li class="arg"> |
|
9257 |
|
9258 <code>value</code> |
|
9259 |
|
9260 </li> |
|
9261 |
|
9262 <li class="arg"> |
|
9263 |
|
9264 <code class="optional">[opts]</code> |
|
9265 |
|
9266 </li> |
|
9267 |
|
9268 <li class="arg"> |
|
9269 |
|
9270 <code>force</code> |
|
9271 |
|
9272 </li> |
|
9273 |
|
9274 </ul><span class="paren">)</span> |
|
9275 </div> |
|
9276 |
|
9277 |
|
9278 |
|
9279 <span class="returns-inline"> |
|
9280 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9281 </span> |
|
9282 |
|
9283 |
|
9284 |
|
9285 |
|
9286 |
|
9287 <span class="flag protected">protected</span> |
|
9288 |
|
9289 |
|
9290 |
|
9291 |
|
9292 |
|
9293 |
|
9294 |
|
9295 <span class="flag chainable">chainable</span> |
|
9296 |
|
9297 |
|
9298 |
|
9299 |
|
9300 <div class="meta"> |
|
9301 |
|
9302 |
|
9303 <p>Inherited from |
|
9304 <a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>: |
|
9305 |
|
9306 |
|
9307 |
|
9308 <a href="../files/attribute_js_AttributeCore.js.html#l443"><code>attribute/js/AttributeCore.js:443</code></a> |
|
9309 |
|
9310 </p> |
|
9311 |
|
9312 |
|
9313 |
|
9314 |
|
9315 |
|
9316 </div> |
|
9317 |
|
9318 <div class="description"> |
|
9319 <p>Provides the common implementation for the public set and protected _set methods.</p> |
|
9320 |
|
9321 <p>See <a href="#method_set">set</a> for argument details.</p> |
|
9322 </div> |
|
9323 |
|
9324 |
|
9325 <div class="params"> |
|
9326 <h4>Parameters:</h4> |
|
9327 |
|
9328 <ul class="params-list"> |
|
9329 |
|
9330 <li class="param"> |
|
9331 |
|
9332 <code class="param-name">name</code> |
|
9333 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9334 |
|
9335 |
|
9336 |
|
9337 |
|
9338 <div class="param-description"> |
|
9339 <p>The name of the attribute.</p> |
|
9340 </div> |
|
9341 |
|
9342 |
|
9343 </li> |
|
9344 |
|
9345 <li class="param"> |
|
9346 |
|
9347 <code class="param-name">value</code> |
|
9348 <span class="type">Any</span> |
|
9349 |
|
9350 |
|
9351 |
|
9352 |
|
9353 <div class="param-description"> |
|
9354 <p>The value to set the attribute to.</p> |
|
9355 </div> |
|
9356 |
|
9357 |
|
9358 </li> |
|
9359 |
|
9360 <li class="param"> |
|
9361 |
|
9362 <code class="param-name optional">[opts]</code> |
|
9363 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9364 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9365 |
|
9366 |
|
9367 |
|
9368 |
|
9369 <div class="param-description"> |
|
9370 <p>Optional data providing the circumstances for the change.</p> |
|
9371 </div> |
|
9372 |
|
9373 |
|
9374 </li> |
|
9375 |
|
9376 <li class="param"> |
|
9377 |
|
9378 <code class="param-name">force</code> |
|
9379 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
9380 |
|
9381 |
|
9382 |
|
9383 |
|
9384 <div class="param-description"> |
|
9385 <p>If true, allows the caller to set values for |
|
9386 readOnly or writeOnce attributes which have already been set.</p> |
|
9387 </div> |
|
9388 |
|
9389 |
|
9390 </li> |
|
9391 |
|
9392 </ul> |
|
9393 </div> |
|
9394 |
|
9395 |
|
9396 |
|
9397 <div class="returns"> |
|
9398 <h4>Returns:</h4> |
|
9399 |
|
9400 <div class="returns-description"> |
|
9401 |
|
9402 |
|
9403 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
9404 |
|
9405 A reference to the host object. |
|
9406 |
|
9407 </div> |
|
9408 </div> |
|
9409 |
|
9410 |
|
9411 |
|
9412 </div> |
|
9413 |
|
9414 |
|
9415 <div id="method__setAttrs" class="method item protected inherited"> |
|
9416 <h3 class="name"><code>_setAttrs</code></h3> |
|
9417 |
|
9418 |
|
9419 <div class="args"> |
|
9420 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9421 |
|
9422 <li class="arg"> |
|
9423 |
|
9424 <code>attrs</code> |
|
9425 |
|
9426 </li> |
|
9427 |
|
9428 <li class="arg"> |
|
9429 |
|
9430 <code class="optional">[opts]</code> |
|
9431 |
|
9432 </li> |
|
9433 |
|
9434 </ul><span class="paren">)</span> |
|
9435 </div> |
|
9436 |
|
9437 |
|
9438 |
|
9439 <span class="returns-inline"> |
|
9440 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9441 </span> |
|
9442 |
|
9443 |
|
9444 |
|
9445 |
|
9446 |
|
9447 <span class="flag protected">protected</span> |
|
9448 |
|
9449 |
|
9450 |
|
9451 |
|
9452 |
|
9453 |
|
9454 |
|
9455 <span class="flag chainable">chainable</span> |
|
9456 |
|
9457 |
|
9458 |
|
9459 |
|
9460 <div class="meta"> |
|
9461 |
|
9462 <p>Inherited from |
|
9463 <a href="../classes/AttributeObservable.html#method__setAttrs"> |
|
9464 AttributeObservable |
|
9465 </a> |
|
9466 |
|
9467 but overwritten in |
|
9468 |
|
9469 |
|
9470 |
|
9471 <a href="../files/attribute_js_AttributeCore.js.html#l742"><code>attribute/js/AttributeCore.js:742</code></a> |
|
9472 |
|
9473 </p> |
|
9474 |
|
9475 |
|
9476 |
|
9477 |
|
9478 |
|
9479 </div> |
|
9480 |
|
9481 <div class="description"> |
|
9482 <p>Implementation behind the public setAttrs method, to set multiple attribute values.</p> |
|
9483 </div> |
|
9484 |
|
9485 |
|
9486 <div class="params"> |
|
9487 <h4>Parameters:</h4> |
|
9488 |
|
9489 <ul class="params-list"> |
|
9490 |
|
9491 <li class="param"> |
|
9492 |
|
9493 <code class="param-name">attrs</code> |
|
9494 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9495 |
|
9496 |
|
9497 |
|
9498 |
|
9499 <div class="param-description"> |
|
9500 <p>An object with attributes name/value pairs.</p> |
|
9501 </div> |
|
9502 |
|
9503 |
|
9504 </li> |
|
9505 |
|
9506 <li class="param"> |
|
9507 |
|
9508 <code class="param-name optional">[opts]</code> |
|
9509 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9510 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9511 |
|
9512 |
|
9513 |
|
9514 |
|
9515 <div class="param-description"> |
|
9516 <p>Optional data providing the circumstances for the change</p> |
|
9517 </div> |
|
9518 |
|
9519 |
|
9520 </li> |
|
9521 |
|
9522 </ul> |
|
9523 </div> |
|
9524 |
|
9525 |
|
9526 |
|
9527 <div class="returns"> |
|
9528 <h4>Returns:</h4> |
|
9529 |
|
9530 <div class="returns-description"> |
|
9531 |
|
9532 |
|
9533 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
9534 |
|
9535 A reference to the host object. |
|
9536 |
|
9537 </div> |
|
9538 </div> |
|
9539 |
|
9540 |
|
9541 |
|
9542 </div> |
|
9543 |
|
9544 |
|
9545 <div id="method__setAttrUI" class="method item private inherited"> |
|
9546 <h3 class="name"><code>_setAttrUI</code></h3> |
|
9547 |
|
9548 |
|
9549 <div class="args"> |
|
9550 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9551 |
|
9552 <li class="arg"> |
|
9553 |
|
9554 <code>e</code> |
|
9555 |
|
9556 </li> |
|
9557 |
|
9558 </ul><span class="paren">)</span> |
|
9559 </div> |
|
9560 |
|
9561 |
|
9562 |
|
9563 |
|
9564 |
|
9565 |
|
9566 |
|
9567 <span class="flag private">private</span> |
|
9568 |
|
9569 |
|
9570 |
|
9571 |
|
9572 |
|
9573 |
|
9574 |
|
9575 |
|
9576 |
|
9577 |
|
9578 <div class="meta"> |
|
9579 |
|
9580 |
|
9581 <p>Inherited from |
|
9582 <a href="../classes/Widget.html#method__setAttrUI">Widget</a>: |
|
9583 |
|
9584 |
|
9585 |
|
9586 <a href="../files/widget_js_Widget.js.html#l1201"><code>widget/js/Widget.js:1201</code></a> |
|
9587 |
|
9588 </p> |
|
9589 |
|
9590 |
|
9591 |
|
9592 |
|
9593 |
|
9594 </div> |
|
9595 |
|
9596 <div class="description"> |
|
9597 |
|
9598 </div> |
|
9599 |
|
9600 |
|
9601 <div class="params"> |
|
9602 <h4>Parameters:</h4> |
|
9603 |
|
9604 <ul class="params-list"> |
|
9605 |
|
9606 <li class="param"> |
|
9607 |
|
9608 <code class="param-name">e</code> |
|
9609 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
9610 |
|
9611 |
|
9612 |
|
9613 |
|
9614 <div class="param-description"> |
|
9615 |
|
9616 </div> |
|
9617 |
|
9618 |
|
9619 </li> |
|
9620 |
|
9621 </ul> |
|
9622 </div> |
|
9623 |
|
9624 |
|
9625 |
|
9626 |
|
9627 |
|
9628 </div> |
|
9629 |
|
9630 |
|
9631 <div id="method__setAttrVal" class="method item private inherited"> |
|
9632 <h3 class="name"><code>_setAttrVal</code></h3> |
|
9633 |
|
9634 |
|
9635 <div class="args"> |
|
9636 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9637 |
|
9638 <li class="arg"> |
|
9639 |
|
9640 <code>attrName</code> |
|
9641 |
|
9642 </li> |
|
9643 |
|
9644 <li class="arg"> |
|
9645 |
|
9646 <code>subAttrName</code> |
|
9647 |
|
9648 </li> |
|
9649 |
|
9650 <li class="arg"> |
|
9651 |
|
9652 <code>prevVal</code> |
|
9653 |
|
9654 </li> |
|
9655 |
|
9656 <li class="arg"> |
|
9657 |
|
9658 <code>newVal</code> |
|
9659 |
|
9660 </li> |
|
9661 |
|
9662 <li class="arg"> |
|
9663 |
|
9664 <code class="optional">[opts]</code> |
|
9665 |
|
9666 </li> |
|
9667 |
|
9668 <li class="arg"> |
|
9669 |
|
9670 <code class="optional">[attrCfg]</code> |
|
9671 |
|
9672 </li> |
|
9673 |
|
9674 </ul><span class="paren">)</span> |
|
9675 </div> |
|
9676 |
|
9677 |
|
9678 |
|
9679 <span class="returns-inline"> |
|
9680 <span class="type">Booolean</span> |
|
9681 </span> |
|
9682 |
|
9683 |
|
9684 |
|
9685 |
|
9686 |
|
9687 <span class="flag private">private</span> |
|
9688 |
|
9689 |
|
9690 |
|
9691 |
|
9692 |
|
9693 |
|
9694 |
|
9695 |
|
9696 |
|
9697 |
|
9698 <div class="meta"> |
|
9699 |
|
9700 |
|
9701 <p>Inherited from |
|
9702 <a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>: |
|
9703 |
|
9704 |
|
9705 |
|
9706 <a href="../files/attribute_js_AttributeCore.js.html#l640"><code>attribute/js/AttributeCore.js:640</code></a> |
|
9707 |
|
9708 </p> |
|
9709 |
|
9710 |
|
9711 |
|
9712 |
|
9713 |
|
9714 </div> |
|
9715 |
|
9716 <div class="description"> |
|
9717 <p>Updates the stored value of the attribute in the privately held State object, |
|
9718 if validation and setter passes.</p> |
|
9719 </div> |
|
9720 |
|
9721 |
|
9722 <div class="params"> |
|
9723 <h4>Parameters:</h4> |
|
9724 |
|
9725 <ul class="params-list"> |
|
9726 |
|
9727 <li class="param"> |
|
9728 |
|
9729 <code class="param-name">attrName</code> |
|
9730 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9731 |
|
9732 |
|
9733 |
|
9734 |
|
9735 <div class="param-description"> |
|
9736 <p>The attribute name.</p> |
|
9737 </div> |
|
9738 |
|
9739 |
|
9740 </li> |
|
9741 |
|
9742 <li class="param"> |
|
9743 |
|
9744 <code class="param-name">subAttrName</code> |
|
9745 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
9746 |
|
9747 |
|
9748 |
|
9749 |
|
9750 <div class="param-description"> |
|
9751 <p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p> |
|
9752 </div> |
|
9753 |
|
9754 |
|
9755 </li> |
|
9756 |
|
9757 <li class="param"> |
|
9758 |
|
9759 <code class="param-name">prevVal</code> |
|
9760 <span class="type">Any</span> |
|
9761 |
|
9762 |
|
9763 |
|
9764 |
|
9765 <div class="param-description"> |
|
9766 <p>The currently stored value of the attribute.</p> |
|
9767 </div> |
|
9768 |
|
9769 |
|
9770 </li> |
|
9771 |
|
9772 <li class="param"> |
|
9773 |
|
9774 <code class="param-name">newVal</code> |
|
9775 <span class="type">Any</span> |
|
9776 |
|
9777 |
|
9778 |
|
9779 |
|
9780 <div class="param-description"> |
|
9781 <p>The value which is going to be stored.</p> |
|
9782 </div> |
|
9783 |
|
9784 |
|
9785 </li> |
|
9786 |
|
9787 <li class="param"> |
|
9788 |
|
9789 <code class="param-name optional">[opts]</code> |
|
9790 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9791 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9792 |
|
9793 |
|
9794 |
|
9795 |
|
9796 <div class="param-description"> |
|
9797 <p>Optional data providing the circumstances for the change.</p> |
|
9798 </div> |
|
9799 |
|
9800 |
|
9801 </li> |
|
9802 |
|
9803 <li class="param"> |
|
9804 |
|
9805 <code class="param-name optional">[attrCfg]</code> |
|
9806 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9807 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
9808 |
|
9809 |
|
9810 |
|
9811 |
|
9812 <div class="param-description"> |
|
9813 <p>Optional config hash for the attribute. This is added for performance along the critical path, |
|
9814 where the calling method has already obtained the config from state.</p> |
|
9815 </div> |
|
9816 |
|
9817 |
|
9818 </li> |
|
9819 |
|
9820 </ul> |
|
9821 </div> |
|
9822 |
|
9823 |
|
9824 |
|
9825 <div class="returns"> |
|
9826 <h4>Returns:</h4> |
|
9827 |
|
9828 <div class="returns-description"> |
|
9829 |
|
9830 |
|
9831 <span class="type">Booolean</span>: |
|
9832 |
|
9833 true if the new attribute value was stored, false if not. |
|
9834 |
|
9835 </div> |
|
9836 </div> |
|
9837 |
|
9838 |
|
9839 |
|
9840 </div> |
|
9841 |
|
9842 |
|
9843 <div id="method__setBB" class="method item private inherited"> |
|
9844 <h3 class="name"><code>_setBB</code></h3> |
|
9845 |
|
9846 |
|
9847 <div class="args"> |
|
9848 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9849 |
|
9850 <li class="arg"> |
|
9851 |
|
9852 <code>Node/String</code> |
|
9853 |
|
9854 </li> |
|
9855 |
|
9856 </ul><span class="paren">)</span> |
|
9857 </div> |
|
9858 |
|
9859 |
|
9860 |
|
9861 <span class="returns-inline"> |
|
9862 <span class="type"></span> |
|
9863 </span> |
|
9864 |
|
9865 |
|
9866 |
|
9867 |
|
9868 |
|
9869 <span class="flag private">private</span> |
|
9870 |
|
9871 |
|
9872 |
|
9873 |
|
9874 |
|
9875 |
|
9876 |
|
9877 |
|
9878 |
|
9879 |
|
9880 <div class="meta"> |
|
9881 |
|
9882 |
|
9883 <p>Inherited from |
|
9884 <a href="../classes/Widget.html#method__setBB">Widget</a>: |
|
9885 |
|
9886 |
|
9887 |
|
9888 <a href="../files/widget_js_Widget.js.html#l756"><code>widget/js/Widget.js:756</code></a> |
|
9889 |
|
9890 </p> |
|
9891 |
|
9892 |
|
9893 |
|
9894 |
|
9895 |
|
9896 </div> |
|
9897 |
|
9898 <div class="description"> |
|
9899 <p>Setter for the boundingBox attribute</p> |
|
9900 </div> |
|
9901 |
|
9902 |
|
9903 <div class="params"> |
|
9904 <h4>Parameters:</h4> |
|
9905 |
|
9906 <ul class="params-list"> |
|
9907 |
|
9908 <li class="param"> |
|
9909 |
|
9910 <code class="param-name">Node/String</code> |
|
9911 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
9912 |
|
9913 |
|
9914 |
|
9915 |
|
9916 <div class="param-description"> |
|
9917 |
|
9918 </div> |
|
9919 |
|
9920 |
|
9921 </li> |
|
9922 |
|
9923 </ul> |
|
9924 </div> |
|
9925 |
|
9926 |
|
9927 |
|
9928 <div class="returns"> |
|
9929 <h4>Returns:</h4> |
|
9930 |
|
9931 <div class="returns-description"> |
|
9932 |
|
9933 |
|
9934 Node |
|
9935 |
|
9936 </div> |
|
9937 </div> |
|
9938 |
|
9939 |
|
9940 |
|
9941 </div> |
|
9942 |
|
9943 |
|
9944 <div id="method__setBox" class="method item private inherited"> |
|
9945 <h3 class="name"><code>_setBox</code></h3> |
|
9946 |
|
9947 |
|
9948 <div class="args"> |
|
9949 <span class="paren">(</span><ul class="args-list inline commas"> |
|
9950 |
|
9951 <li class="arg"> |
|
9952 |
|
9953 <code>id</code> |
|
9954 |
|
9955 </li> |
|
9956 |
|
9957 <li class="arg"> |
|
9958 |
|
9959 <code>node</code> |
|
9960 |
|
9961 </li> |
|
9962 |
|
9963 <li class="arg"> |
|
9964 |
|
9965 <code>template</code> |
|
9966 |
|
9967 </li> |
|
9968 |
|
9969 <li class="arg"> |
|
9970 |
|
9971 <code>true</code> |
|
9972 |
|
9973 </li> |
|
9974 |
|
9975 </ul><span class="paren">)</span> |
|
9976 </div> |
|
9977 |
|
9978 |
|
9979 |
|
9980 <span class="returns-inline"> |
|
9981 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
9982 </span> |
|
9983 |
|
9984 |
|
9985 |
|
9986 |
|
9987 |
|
9988 <span class="flag private">private</span> |
|
9989 |
|
9990 |
|
9991 |
|
9992 |
|
9993 |
|
9994 |
|
9995 |
|
9996 |
|
9997 |
|
9998 |
|
9999 <div class="meta"> |
|
10000 |
|
10001 |
|
10002 <p>Inherited from |
|
10003 <a href="../classes/Widget.html#method__setBox">Widget</a>: |
|
10004 |
|
10005 |
|
10006 |
|
10007 <a href="../files/widget_js_Widget.js.html#l793"><code>widget/js/Widget.js:793</code></a> |
|
10008 |
|
10009 </p> |
|
10010 |
|
10011 |
|
10012 |
|
10013 |
|
10014 |
|
10015 </div> |
|
10016 |
|
10017 <div class="description"> |
|
10018 <p>Helper method to set the bounding/content box, or create it from |
|
10019 the provided template if not found.</p> |
|
10020 </div> |
|
10021 |
|
10022 |
|
10023 <div class="params"> |
|
10024 <h4>Parameters:</h4> |
|
10025 |
|
10026 <ul class="params-list"> |
|
10027 |
|
10028 <li class="param"> |
|
10029 |
|
10030 <code class="param-name">id</code> |
|
10031 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10032 |
|
10033 |
|
10034 |
|
10035 |
|
10036 <div class="param-description"> |
|
10037 <p>The node's id attribute</p> |
|
10038 </div> |
|
10039 |
|
10040 |
|
10041 </li> |
|
10042 |
|
10043 <li class="param"> |
|
10044 |
|
10045 <code class="param-name">node</code> |
|
10046 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10047 |
|
10048 |
|
10049 |
|
10050 |
|
10051 <div class="param-description"> |
|
10052 <p>The node reference</p> |
|
10053 </div> |
|
10054 |
|
10055 |
|
10056 </li> |
|
10057 |
|
10058 <li class="param"> |
|
10059 |
|
10060 <code class="param-name">template</code> |
|
10061 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10062 |
|
10063 |
|
10064 |
|
10065 |
|
10066 <div class="param-description"> |
|
10067 <p>HTML string template for the node</p> |
|
10068 </div> |
|
10069 |
|
10070 |
|
10071 </li> |
|
10072 |
|
10073 <li class="param"> |
|
10074 |
|
10075 <code class="param-name">true</code> |
|
10076 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
10077 |
|
10078 |
|
10079 |
|
10080 |
|
10081 <div class="param-description"> |
|
10082 <p>if this is the boundingBox, false if it's the contentBox</p> |
|
10083 </div> |
|
10084 |
|
10085 |
|
10086 </li> |
|
10087 |
|
10088 </ul> |
|
10089 </div> |
|
10090 |
|
10091 |
|
10092 |
|
10093 <div class="returns"> |
|
10094 <h4>Returns:</h4> |
|
10095 |
|
10096 <div class="returns-description"> |
|
10097 |
|
10098 |
|
10099 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>: |
|
10100 |
|
10101 The node |
|
10102 |
|
10103 </div> |
|
10104 </div> |
|
10105 |
|
10106 |
|
10107 |
|
10108 </div> |
|
10109 |
|
10110 |
|
10111 <div id="method__setCB" class="method item private inherited"> |
|
10112 <h3 class="name"><code>_setCB</code></h3> |
|
10113 |
|
10114 |
|
10115 <div class="args"> |
|
10116 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10117 |
|
10118 <li class="arg"> |
|
10119 |
|
10120 <code>node</code> |
|
10121 |
|
10122 </li> |
|
10123 |
|
10124 </ul><span class="paren">)</span> |
|
10125 </div> |
|
10126 |
|
10127 |
|
10128 |
|
10129 <span class="returns-inline"> |
|
10130 <span class="type"></span> |
|
10131 </span> |
|
10132 |
|
10133 |
|
10134 |
|
10135 |
|
10136 |
|
10137 <span class="flag private">private</span> |
|
10138 |
|
10139 |
|
10140 |
|
10141 |
|
10142 |
|
10143 |
|
10144 |
|
10145 |
|
10146 |
|
10147 |
|
10148 <div class="meta"> |
|
10149 |
|
10150 |
|
10151 <p>Inherited from |
|
10152 <a href="../classes/Widget.html#method__setCB">Widget</a>: |
|
10153 |
|
10154 |
|
10155 |
|
10156 <a href="../files/widget_js_Widget.js.html#l768"><code>widget/js/Widget.js:768</code></a> |
|
10157 |
|
10158 </p> |
|
10159 |
|
10160 |
|
10161 |
|
10162 |
|
10163 |
|
10164 </div> |
|
10165 |
|
10166 <div class="description"> |
|
10167 <p>Setter for the contentBox attribute</p> |
|
10168 </div> |
|
10169 |
|
10170 |
|
10171 <div class="params"> |
|
10172 <h4>Parameters:</h4> |
|
10173 |
|
10174 <ul class="params-list"> |
|
10175 |
|
10176 <li class="param"> |
|
10177 |
|
10178 <code class="param-name">node</code> |
|
10179 <span class="type"><a href="../classes/Node.html" class="crosslink">Node</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10180 |
|
10181 |
|
10182 |
|
10183 |
|
10184 <div class="param-description"> |
|
10185 |
|
10186 </div> |
|
10187 |
|
10188 |
|
10189 </li> |
|
10190 |
|
10191 </ul> |
|
10192 </div> |
|
10193 |
|
10194 |
|
10195 |
|
10196 <div class="returns"> |
|
10197 <h4>Returns:</h4> |
|
10198 |
|
10199 <div class="returns-description"> |
|
10200 |
|
10201 |
|
10202 Node |
|
10203 |
|
10204 </div> |
|
10205 </div> |
|
10206 |
|
10207 |
|
10208 |
|
10209 </div> |
|
10210 |
|
10211 |
|
10212 <div id="method__setStateVal" class="method item private inherited"> |
|
10213 <h3 class="name"><code>_setStateVal</code></h3> |
|
10214 |
|
10215 |
|
10216 <div class="args"> |
|
10217 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10218 |
|
10219 <li class="arg"> |
|
10220 |
|
10221 <code>name</code> |
|
10222 |
|
10223 </li> |
|
10224 |
|
10225 <li class="arg"> |
|
10226 |
|
10227 <code>value</code> |
|
10228 |
|
10229 </li> |
|
10230 |
|
10231 </ul><span class="paren">)</span> |
|
10232 </div> |
|
10233 |
|
10234 |
|
10235 |
|
10236 |
|
10237 |
|
10238 |
|
10239 |
|
10240 <span class="flag private">private</span> |
|
10241 |
|
10242 |
|
10243 |
|
10244 |
|
10245 |
|
10246 |
|
10247 |
|
10248 |
|
10249 |
|
10250 |
|
10251 <div class="meta"> |
|
10252 |
|
10253 |
|
10254 <p>Inherited from |
|
10255 <a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>: |
|
10256 |
|
10257 |
|
10258 |
|
10259 <a href="../files/attribute_js_AttributeCore.js.html#l622"><code>attribute/js/AttributeCore.js:622</code></a> |
|
10260 |
|
10261 </p> |
|
10262 |
|
10263 |
|
10264 |
|
10265 |
|
10266 |
|
10267 </div> |
|
10268 |
|
10269 <div class="description"> |
|
10270 <p>Sets the stored value for the attribute, in either the |
|
10271 internal state object, or the state proxy if it exits</p> |
|
10272 </div> |
|
10273 |
|
10274 |
|
10275 <div class="params"> |
|
10276 <h4>Parameters:</h4> |
|
10277 |
|
10278 <ul class="params-list"> |
|
10279 |
|
10280 <li class="param"> |
|
10281 |
|
10282 <code class="param-name">name</code> |
|
10283 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10284 |
|
10285 |
|
10286 |
|
10287 |
|
10288 <div class="param-description"> |
|
10289 <p>The name of the attribute</p> |
|
10290 </div> |
|
10291 |
|
10292 |
|
10293 </li> |
|
10294 |
|
10295 <li class="param"> |
|
10296 |
|
10297 <code class="param-name">value</code> |
|
10298 <span class="type">Any</span> |
|
10299 |
|
10300 |
|
10301 |
|
10302 |
|
10303 <div class="param-description"> |
|
10304 <p>The value of the attribute</p> |
|
10305 </div> |
|
10306 |
|
10307 |
|
10308 </li> |
|
10309 |
|
10310 </ul> |
|
10311 </div> |
|
10312 |
|
10313 |
|
10314 |
|
10315 |
|
10316 |
|
10317 </div> |
|
10318 |
|
10319 |
|
10320 <div id="method__setStrings" class="method item protected inherited"> |
|
10321 <h3 class="name"><code>_setStrings</code></h3> |
|
10322 |
|
10323 |
|
10324 <div class="args"> |
|
10325 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10326 |
|
10327 <li class="arg"> |
|
10328 |
|
10329 <code>strings</code> |
|
10330 |
|
10331 </li> |
|
10332 |
|
10333 <li class="arg"> |
|
10334 |
|
10335 <code>locale</code> |
|
10336 |
|
10337 </li> |
|
10338 |
|
10339 </ul><span class="paren">)</span> |
|
10340 </div> |
|
10341 |
|
10342 |
|
10343 |
|
10344 |
|
10345 |
|
10346 |
|
10347 |
|
10348 <span class="flag protected">protected</span> |
|
10349 |
|
10350 |
|
10351 |
|
10352 |
|
10353 |
|
10354 |
|
10355 |
|
10356 |
|
10357 |
|
10358 |
|
10359 <div class="meta"> |
|
10360 |
|
10361 |
|
10362 <p>Inherited from |
|
10363 <a href="../classes/Widget.html#method__setStrings">Widget</a>: |
|
10364 |
|
10365 |
|
10366 |
|
10367 <a href="../files/widget_js_WidgetLocale.js.html#l35"><code>widget/js/WidgetLocale.js:35</code></a> |
|
10368 |
|
10369 </p> |
|
10370 |
|
10371 |
|
10372 |
|
10373 |
|
10374 |
|
10375 </div> |
|
10376 |
|
10377 <div class="description"> |
|
10378 <p>Sets strings for a particular locale, merging with any existing |
|
10379 strings which may already be defined for the locale.</p> |
|
10380 </div> |
|
10381 |
|
10382 |
|
10383 <div class="params"> |
|
10384 <h4>Parameters:</h4> |
|
10385 |
|
10386 <ul class="params-list"> |
|
10387 |
|
10388 <li class="param"> |
|
10389 |
|
10390 <code class="param-name">strings</code> |
|
10391 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10392 |
|
10393 |
|
10394 |
|
10395 |
|
10396 <div class="param-description"> |
|
10397 <p>The hash of string key/values to set</p> |
|
10398 </div> |
|
10399 |
|
10400 |
|
10401 </li> |
|
10402 |
|
10403 <li class="param"> |
|
10404 |
|
10405 <code class="param-name">locale</code> |
|
10406 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10407 |
|
10408 |
|
10409 |
|
10410 |
|
10411 <div class="param-description"> |
|
10412 <p>The locale for the string values being set</p> |
|
10413 </div> |
|
10414 |
|
10415 |
|
10416 </li> |
|
10417 |
|
10418 </ul> |
|
10419 </div> |
|
10420 |
|
10421 |
|
10422 |
|
10423 |
|
10424 |
|
10425 </div> |
|
10426 |
|
10427 |
|
10428 <div id="method__strSetter" class="method item protected inherited"> |
|
10429 <h3 class="name"><code>_strSetter</code></h3> |
|
10430 |
|
10431 |
|
10432 <div class="args"> |
|
10433 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10434 |
|
10435 <li class="arg"> |
|
10436 |
|
10437 <code>strings</code> |
|
10438 |
|
10439 </li> |
|
10440 |
|
10441 </ul><span class="paren">)</span> |
|
10442 </div> |
|
10443 |
|
10444 |
|
10445 |
|
10446 <span class="returns-inline"> |
|
10447 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10448 </span> |
|
10449 |
|
10450 |
|
10451 |
|
10452 |
|
10453 |
|
10454 <span class="flag protected">protected</span> |
|
10455 |
|
10456 |
|
10457 |
|
10458 |
|
10459 |
|
10460 |
|
10461 |
|
10462 |
|
10463 |
|
10464 |
|
10465 <div class="meta"> |
|
10466 |
|
10467 |
|
10468 <p>Inherited from |
|
10469 <a href="../classes/Widget.html#method__strSetter">Widget</a>: |
|
10470 |
|
10471 |
|
10472 |
|
10473 <a href="../files/widget_js_Widget.js.html#l1212"><code>widget/js/Widget.js:1212</code></a> |
|
10474 |
|
10475 </p> |
|
10476 |
|
10477 |
|
10478 |
|
10479 |
|
10480 |
|
10481 </div> |
|
10482 |
|
10483 <div class="description"> |
|
10484 <p>The default setter for the strings attribute. Merges partial sets |
|
10485 into the full string set, to allow users to partial sets of strings</p> |
|
10486 </div> |
|
10487 |
|
10488 |
|
10489 <div class="params"> |
|
10490 <h4>Parameters:</h4> |
|
10491 |
|
10492 <ul class="params-list"> |
|
10493 |
|
10494 <li class="param"> |
|
10495 |
|
10496 <code class="param-name">strings</code> |
|
10497 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
10498 |
|
10499 |
|
10500 |
|
10501 |
|
10502 <div class="param-description"> |
|
10503 |
|
10504 </div> |
|
10505 |
|
10506 |
|
10507 </li> |
|
10508 |
|
10509 </ul> |
|
10510 </div> |
|
10511 |
|
10512 |
|
10513 |
|
10514 <div class="returns"> |
|
10515 <h4>Returns:</h4> |
|
10516 |
|
10517 <div class="returns-description"> |
|
10518 |
|
10519 |
|
10520 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
10521 |
|
10522 The full set of strings to set |
|
10523 |
|
10524 </div> |
|
10525 </div> |
|
10526 |
|
10527 |
|
10528 |
|
10529 </div> |
|
10530 |
|
10531 |
|
10532 <div id="method__syncAttrUI" class="method item private inherited"> |
|
10533 <h3 class="name"><code>_syncAttrUI</code></h3> |
|
10534 |
|
10535 |
|
10536 <div class="args"> |
|
10537 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10538 |
|
10539 <li class="arg"> |
|
10540 |
|
10541 <code>attrs</code> |
|
10542 |
|
10543 </li> |
|
10544 |
|
10545 </ul><span class="paren">)</span> |
|
10546 </div> |
|
10547 |
|
10548 |
|
10549 |
|
10550 |
|
10551 |
|
10552 |
|
10553 |
|
10554 <span class="flag private">private</span> |
|
10555 |
|
10556 |
|
10557 |
|
10558 |
|
10559 |
|
10560 |
|
10561 |
|
10562 |
|
10563 |
|
10564 |
|
10565 <div class="meta"> |
|
10566 |
|
10567 |
|
10568 <p>Inherited from |
|
10569 <a href="../classes/Widget.html#method__syncAttrUI">Widget</a>: |
|
10570 |
|
10571 |
|
10572 |
|
10573 <a href="../files/widget_js_Widget.js.html#l1186"><code>widget/js/Widget.js:1186</code></a> |
|
10574 |
|
10575 </p> |
|
10576 |
|
10577 |
|
10578 |
|
10579 |
|
10580 |
|
10581 </div> |
|
10582 |
|
10583 <div class="description"> |
|
10584 <p>Invokes the _uiSet=ATTR NAME> method for the list of attributes provided</p> |
|
10585 </div> |
|
10586 |
|
10587 |
|
10588 <div class="params"> |
|
10589 <h4>Parameters:</h4> |
|
10590 |
|
10591 <ul class="params-list"> |
|
10592 |
|
10593 <li class="param"> |
|
10594 |
|
10595 <code class="param-name">attrs</code> |
|
10596 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
10597 |
|
10598 |
|
10599 |
|
10600 |
|
10601 <div class="param-description"> |
|
10602 |
|
10603 </div> |
|
10604 |
|
10605 |
|
10606 </li> |
|
10607 |
|
10608 </ul> |
|
10609 </div> |
|
10610 |
|
10611 |
|
10612 |
|
10613 |
|
10614 |
|
10615 </div> |
|
10616 |
|
10617 |
|
10618 <div id="method__syncUI" class="method item protected inherited"> |
|
10619 <h3 class="name"><code>_syncUI</code></h3> |
|
10620 |
|
10621 |
|
10622 <span class="paren">()</span> |
|
10623 |
|
10624 |
|
10625 |
|
10626 |
|
10627 |
|
10628 |
|
10629 |
|
10630 <span class="flag protected">protected</span> |
|
10631 |
|
10632 |
|
10633 |
|
10634 |
|
10635 |
|
10636 |
|
10637 |
|
10638 |
|
10639 |
|
10640 |
|
10641 <div class="meta"> |
|
10642 |
|
10643 |
|
10644 <p>Inherited from |
|
10645 <a href="../classes/Widget.html#method__syncUI">Widget</a>: |
|
10646 |
|
10647 |
|
10648 |
|
10649 <a href="../files/widget_js_Widget.js.html#l964"><code>widget/js/Widget.js:964</code></a> |
|
10650 |
|
10651 </p> |
|
10652 |
|
10653 |
|
10654 |
|
10655 |
|
10656 |
|
10657 </div> |
|
10658 |
|
10659 <div class="description"> |
|
10660 <p>Updates the widget UI to reflect the attribute state.</p> |
|
10661 </div> |
|
10662 |
|
10663 |
|
10664 |
|
10665 |
|
10666 |
|
10667 |
|
10668 </div> |
|
10669 |
|
10670 |
|
10671 <div id="method__syncUIChild" class="method item protected inherited"> |
|
10672 <h3 class="name"><code>_syncUIChild</code></h3> |
|
10673 |
|
10674 |
|
10675 <span class="paren">()</span> |
|
10676 |
|
10677 |
|
10678 |
|
10679 |
|
10680 |
|
10681 |
|
10682 |
|
10683 <span class="flag protected">protected</span> |
|
10684 |
|
10685 |
|
10686 |
|
10687 |
|
10688 |
|
10689 |
|
10690 |
|
10691 |
|
10692 |
|
10693 |
|
10694 <div class="meta"> |
|
10695 |
|
10696 |
|
10697 <p>Inherited from |
|
10698 <a href="../classes/Widget.html#method__syncUIChild">Widget</a>: |
|
10699 |
|
10700 |
|
10701 |
|
10702 <a href="../files/widget-child_js_Widget-Child.js.html#l341"><code>widget-child/js/Widget-Child.js:341</code></a> |
|
10703 |
|
10704 </p> |
|
10705 |
|
10706 |
|
10707 |
|
10708 |
|
10709 |
|
10710 </div> |
|
10711 |
|
10712 <div class="description"> |
|
10713 <p>Synchronizes the UI to match the WidgetChild state.</p> |
|
10714 |
|
10715 <p> |
|
10716 This method is invoked after bindUI is invoked for the Widget class |
|
10717 using YUI's aop infrastructure. |
|
10718 </p> |
|
10719 </div> |
|
10720 |
|
10721 |
|
10722 |
|
10723 |
|
10724 |
|
10725 |
|
10726 </div> |
|
10727 |
|
10728 |
|
10729 <div id="method__uiSetChildSelected" class="method item protected inherited"> |
|
10730 <h3 class="name"><code>_uiSetChildSelected</code></h3> |
|
10731 |
|
10732 |
|
10733 <div class="args"> |
|
10734 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10735 |
|
10736 <li class="arg"> |
|
10737 |
|
10738 <code>selected</code> |
|
10739 |
|
10740 </li> |
|
10741 |
|
10742 </ul><span class="paren">)</span> |
|
10743 </div> |
|
10744 |
|
10745 |
|
10746 |
|
10747 |
|
10748 |
|
10749 |
|
10750 |
|
10751 <span class="flag protected">protected</span> |
|
10752 |
|
10753 |
|
10754 |
|
10755 |
|
10756 |
|
10757 |
|
10758 |
|
10759 |
|
10760 |
|
10761 |
|
10762 <div class="meta"> |
|
10763 |
|
10764 |
|
10765 <p>Inherited from |
|
10766 <a href="../classes/Widget.html#method__uiSetChildSelected">Widget</a>: |
|
10767 |
|
10768 |
|
10769 |
|
10770 <a href="../files/widget-child_js_Widget-Child.js.html#l305"><code>widget-child/js/Widget-Child.js:305</code></a> |
|
10771 |
|
10772 </p> |
|
10773 |
|
10774 |
|
10775 |
|
10776 |
|
10777 |
|
10778 </div> |
|
10779 |
|
10780 <div class="description"> |
|
10781 <p>Updates the UI to reflect the <code>selected</code> attribute value.</p> |
|
10782 </div> |
|
10783 |
|
10784 |
|
10785 <div class="params"> |
|
10786 <h4>Parameters:</h4> |
|
10787 |
|
10788 <ul class="params-list"> |
|
10789 |
|
10790 <li class="param"> |
|
10791 |
|
10792 <code class="param-name">selected</code> |
|
10793 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
10794 |
|
10795 |
|
10796 |
|
10797 |
|
10798 <div class="param-description"> |
|
10799 <p>The selected value to be reflected in the UI.</p> |
|
10800 </div> |
|
10801 |
|
10802 |
|
10803 </li> |
|
10804 |
|
10805 </ul> |
|
10806 </div> |
|
10807 |
|
10808 |
|
10809 |
|
10810 |
|
10811 |
|
10812 </div> |
|
10813 |
|
10814 |
|
10815 <div id="method__uiSetDim" class="method item private inherited"> |
|
10816 <h3 class="name"><code>_uiSetDim</code></h3> |
|
10817 |
|
10818 |
|
10819 <div class="args"> |
|
10820 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10821 |
|
10822 <li class="arg"> |
|
10823 |
|
10824 <code>dim</code> |
|
10825 |
|
10826 </li> |
|
10827 |
|
10828 <li class="arg"> |
|
10829 |
|
10830 <code>val</code> |
|
10831 |
|
10832 </li> |
|
10833 |
|
10834 </ul><span class="paren">)</span> |
|
10835 </div> |
|
10836 |
|
10837 |
|
10838 |
|
10839 |
|
10840 |
|
10841 |
|
10842 |
|
10843 <span class="flag private">private</span> |
|
10844 |
|
10845 |
|
10846 |
|
10847 |
|
10848 |
|
10849 |
|
10850 |
|
10851 |
|
10852 |
|
10853 |
|
10854 <div class="meta"> |
|
10855 |
|
10856 |
|
10857 <p>Inherited from |
|
10858 <a href="../classes/Widget.html#method__uiSetDim">Widget</a>: |
|
10859 |
|
10860 |
|
10861 |
|
10862 <a href="../files/widget_js_Widget.js.html#l997"><code>widget/js/Widget.js:997</code></a> |
|
10863 |
|
10864 </p> |
|
10865 |
|
10866 |
|
10867 |
|
10868 |
|
10869 |
|
10870 </div> |
|
10871 |
|
10872 <div class="description"> |
|
10873 |
|
10874 </div> |
|
10875 |
|
10876 |
|
10877 <div class="params"> |
|
10878 <h4>Parameters:</h4> |
|
10879 |
|
10880 <ul class="params-list"> |
|
10881 |
|
10882 <li class="param"> |
|
10883 |
|
10884 <code class="param-name">dim</code> |
|
10885 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10886 |
|
10887 |
|
10888 |
|
10889 |
|
10890 <div class="param-description"> |
|
10891 <p>The dimension - "width" or "height"</p> |
|
10892 </div> |
|
10893 |
|
10894 |
|
10895 </li> |
|
10896 |
|
10897 <li class="param"> |
|
10898 |
|
10899 <code class="param-name">val</code> |
|
10900 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
10901 |
|
10902 |
|
10903 |
|
10904 |
|
10905 <div class="param-description"> |
|
10906 <p>The value to set</p> |
|
10907 </div> |
|
10908 |
|
10909 |
|
10910 </li> |
|
10911 |
|
10912 </ul> |
|
10913 </div> |
|
10914 |
|
10915 |
|
10916 |
|
10917 |
|
10918 |
|
10919 </div> |
|
10920 |
|
10921 |
|
10922 <div id="method__uiSetDisabled" class="method item private inherited"> |
|
10923 <h3 class="name"><code>_uiSetDisabled</code></h3> |
|
10924 |
|
10925 |
|
10926 <div class="args"> |
|
10927 <span class="paren">(</span><ul class="args-list inline commas"> |
|
10928 |
|
10929 <li class="arg"> |
|
10930 |
|
10931 <code>value</code> |
|
10932 |
|
10933 </li> |
|
10934 |
|
10935 </ul><span class="paren">)</span> |
|
10936 </div> |
|
10937 |
|
10938 |
|
10939 |
|
10940 |
|
10941 |
|
10942 |
|
10943 |
|
10944 <span class="flag private">private</span> |
|
10945 |
|
10946 |
|
10947 |
|
10948 |
|
10949 |
|
10950 |
|
10951 |
|
10952 |
|
10953 |
|
10954 |
|
10955 <div class="meta"> |
|
10956 |
|
10957 <p>Inherited from |
|
10958 <a href="../classes/Widget.html#method__uiSetDisabled"> |
|
10959 Widget |
|
10960 </a> |
|
10961 |
|
10962 but overwritten in |
|
10963 |
|
10964 |
|
10965 |
|
10966 <a href="../files/button_js_core.js.html#l164"><code>button/js/core.js:164</code></a> |
|
10967 |
|
10968 </p> |
|
10969 |
|
10970 |
|
10971 |
|
10972 |
|
10973 |
|
10974 </div> |
|
10975 |
|
10976 <div class="description"> |
|
10977 <p>Setter for the 'disabled' ATTR</p> |
|
10978 </div> |
|
10979 |
|
10980 |
|
10981 <div class="params"> |
|
10982 <h4>Parameters:</h4> |
|
10983 |
|
10984 <ul class="params-list"> |
|
10985 |
|
10986 <li class="param"> |
|
10987 |
|
10988 <code class="param-name">value</code> |
|
10989 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
10990 |
|
10991 |
|
10992 |
|
10993 |
|
10994 <div class="param-description"> |
|
10995 |
|
10996 </div> |
|
10997 |
|
10998 |
|
10999 </li> |
|
11000 |
|
11001 </ul> |
|
11002 </div> |
|
11003 |
|
11004 |
|
11005 |
|
11006 |
|
11007 |
|
11008 </div> |
|
11009 |
|
11010 |
|
11011 <div id="method__uiSetFocused" class="method item protected inherited"> |
|
11012 <h3 class="name"><code>_uiSetFocused</code></h3> |
|
11013 |
|
11014 |
|
11015 <div class="args"> |
|
11016 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11017 |
|
11018 <li class="arg"> |
|
11019 |
|
11020 <code>val</code> |
|
11021 |
|
11022 </li> |
|
11023 |
|
11024 <li class="arg"> |
|
11025 |
|
11026 <code>src</code> |
|
11027 |
|
11028 </li> |
|
11029 |
|
11030 </ul><span class="paren">)</span> |
|
11031 </div> |
|
11032 |
|
11033 |
|
11034 |
|
11035 |
|
11036 |
|
11037 |
|
11038 |
|
11039 <span class="flag protected">protected</span> |
|
11040 |
|
11041 |
|
11042 |
|
11043 |
|
11044 |
|
11045 |
|
11046 |
|
11047 |
|
11048 |
|
11049 |
|
11050 <div class="meta"> |
|
11051 |
|
11052 |
|
11053 <p>Inherited from |
|
11054 <a href="../classes/Widget.html#method__uiSetFocused">Widget</a>: |
|
11055 |
|
11056 |
|
11057 |
|
11058 <a href="../files/widget_js_Widget.js.html#l1029"><code>widget/js/Widget.js:1029</code></a> |
|
11059 |
|
11060 </p> |
|
11061 |
|
11062 |
|
11063 |
|
11064 |
|
11065 |
|
11066 </div> |
|
11067 |
|
11068 <div class="description"> |
|
11069 <p>Sets the focused state for the UI</p> |
|
11070 </div> |
|
11071 |
|
11072 |
|
11073 <div class="params"> |
|
11074 <h4>Parameters:</h4> |
|
11075 |
|
11076 <ul class="params-list"> |
|
11077 |
|
11078 <li class="param"> |
|
11079 |
|
11080 <code class="param-name">val</code> |
|
11081 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
11082 |
|
11083 |
|
11084 |
|
11085 |
|
11086 <div class="param-description"> |
|
11087 |
|
11088 </div> |
|
11089 |
|
11090 |
|
11091 </li> |
|
11092 |
|
11093 <li class="param"> |
|
11094 |
|
11095 <code class="param-name">src</code> |
|
11096 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11097 |
|
11098 |
|
11099 |
|
11100 |
|
11101 <div class="param-description"> |
|
11102 <p>String representing the source that triggered an update to |
|
11103 the UI.</p> |
|
11104 </div> |
|
11105 |
|
11106 |
|
11107 </li> |
|
11108 |
|
11109 </ul> |
|
11110 </div> |
|
11111 |
|
11112 |
|
11113 |
|
11114 |
|
11115 |
|
11116 </div> |
|
11117 |
|
11118 |
|
11119 <div id="method__uiSetHeight" class="method item protected inherited"> |
|
11120 <h3 class="name"><code>_uiSetHeight</code></h3> |
|
11121 |
|
11122 |
|
11123 <div class="args"> |
|
11124 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11125 |
|
11126 <li class="arg"> |
|
11127 |
|
11128 <code>val</code> |
|
11129 |
|
11130 </li> |
|
11131 |
|
11132 </ul><span class="paren">)</span> |
|
11133 </div> |
|
11134 |
|
11135 |
|
11136 |
|
11137 |
|
11138 |
|
11139 |
|
11140 |
|
11141 <span class="flag protected">protected</span> |
|
11142 |
|
11143 |
|
11144 |
|
11145 |
|
11146 |
|
11147 |
|
11148 |
|
11149 |
|
11150 |
|
11151 |
|
11152 <div class="meta"> |
|
11153 |
|
11154 |
|
11155 <p>Inherited from |
|
11156 <a href="../classes/Widget.html#method__uiSetHeight">Widget</a>: |
|
11157 |
|
11158 |
|
11159 |
|
11160 <a href="../files/widget_js_Widget.js.html#l974"><code>widget/js/Widget.js:974</code></a> |
|
11161 |
|
11162 </p> |
|
11163 |
|
11164 |
|
11165 |
|
11166 |
|
11167 |
|
11168 </div> |
|
11169 |
|
11170 <div class="description"> |
|
11171 <p>Sets the height on the widget's bounding box element</p> |
|
11172 </div> |
|
11173 |
|
11174 |
|
11175 <div class="params"> |
|
11176 <h4>Parameters:</h4> |
|
11177 |
|
11178 <ul class="params-list"> |
|
11179 |
|
11180 <li class="param"> |
|
11181 |
|
11182 <code class="param-name">val</code> |
|
11183 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
11184 |
|
11185 |
|
11186 |
|
11187 |
|
11188 <div class="param-description"> |
|
11189 |
|
11190 </div> |
|
11191 |
|
11192 |
|
11193 </li> |
|
11194 |
|
11195 </ul> |
|
11196 </div> |
|
11197 |
|
11198 |
|
11199 |
|
11200 |
|
11201 |
|
11202 </div> |
|
11203 |
|
11204 |
|
11205 <div id="method__uiSetLabel" class="method item private inherited"> |
|
11206 <h3 class="name"><code>_uiSetLabel</code></h3> |
|
11207 |
|
11208 |
|
11209 <div class="args"> |
|
11210 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11211 |
|
11212 <li class="arg"> |
|
11213 |
|
11214 <code>label</code> |
|
11215 |
|
11216 </li> |
|
11217 |
|
11218 </ul><span class="paren">)</span> |
|
11219 </div> |
|
11220 |
|
11221 |
|
11222 |
|
11223 |
|
11224 |
|
11225 |
|
11226 |
|
11227 <span class="flag private">private</span> |
|
11228 |
|
11229 |
|
11230 |
|
11231 |
|
11232 |
|
11233 |
|
11234 |
|
11235 |
|
11236 |
|
11237 |
|
11238 <div class="meta"> |
|
11239 |
|
11240 |
|
11241 <p>Inherited from |
|
11242 <a href="../classes/ButtonCore.html#method__uiSetLabel">ButtonCore</a>: |
|
11243 |
|
11244 |
|
11245 |
|
11246 <a href="../files/button_js_core.js.html#l145"><code>button/js/core.js:145</code></a> |
|
11247 |
|
11248 </p> |
|
11249 |
|
11250 |
|
11251 |
|
11252 |
|
11253 |
|
11254 </div> |
|
11255 |
|
11256 <div class="description"> |
|
11257 <p>Setter for a button's 'label' ATTR</p> |
|
11258 </div> |
|
11259 |
|
11260 |
|
11261 <div class="params"> |
|
11262 <h4>Parameters:</h4> |
|
11263 |
|
11264 <ul class="params-list"> |
|
11265 |
|
11266 <li class="param"> |
|
11267 |
|
11268 <code class="param-name">label</code> |
|
11269 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
11270 |
|
11271 |
|
11272 |
|
11273 |
|
11274 <div class="param-description"> |
|
11275 |
|
11276 </div> |
|
11277 |
|
11278 |
|
11279 </li> |
|
11280 |
|
11281 </ul> |
|
11282 </div> |
|
11283 |
|
11284 |
|
11285 |
|
11286 |
|
11287 |
|
11288 </div> |
|
11289 |
|
11290 |
|
11291 <div id="method__uiSetSelected" class="method item private"> |
|
11292 <h3 class="name"><code>_uiSetSelected</code></h3> |
|
11293 |
|
11294 |
|
11295 <span class="paren">()</span> |
|
11296 |
|
11297 |
|
11298 |
|
11299 |
|
11300 |
|
11301 |
|
11302 |
|
11303 <span class="flag private">private</span> |
|
11304 |
|
11305 |
|
11306 |
|
11307 |
|
11308 |
|
11309 |
|
11310 |
|
11311 |
|
11312 |
|
11313 |
|
11314 <div class="meta"> |
|
11315 |
|
11316 |
|
11317 |
|
11318 <p> |
|
11319 |
|
11320 Defined in |
|
11321 |
|
11322 |
|
11323 |
|
11324 |
|
11325 <a href="../files/button_js_button.js.html#l271"><code>button/js/button.js:271</code></a> |
|
11326 |
|
11327 </p> |
|
11328 |
|
11329 |
|
11330 |
|
11331 |
|
11332 |
|
11333 </div> |
|
11334 |
|
11335 <div class="description"> |
|
11336 |
|
11337 </div> |
|
11338 |
|
11339 |
|
11340 |
|
11341 |
|
11342 |
|
11343 |
|
11344 </div> |
|
11345 |
|
11346 |
|
11347 <div id="method__uiSetTabIndex" class="method item protected inherited"> |
|
11348 <h3 class="name"><code>_uiSetTabIndex</code></h3> |
|
11349 |
|
11350 |
|
11351 <div class="args"> |
|
11352 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11353 |
|
11354 <li class="arg"> |
|
11355 |
|
11356 <code>Number</code> |
|
11357 |
|
11358 </li> |
|
11359 |
|
11360 </ul><span class="paren">)</span> |
|
11361 </div> |
|
11362 |
|
11363 |
|
11364 |
|
11365 |
|
11366 |
|
11367 |
|
11368 |
|
11369 <span class="flag protected">protected</span> |
|
11370 |
|
11371 |
|
11372 |
|
11373 |
|
11374 |
|
11375 |
|
11376 |
|
11377 |
|
11378 |
|
11379 |
|
11380 <div class="meta"> |
|
11381 |
|
11382 |
|
11383 <p>Inherited from |
|
11384 <a href="../classes/Widget.html#method__uiSetTabIndex">Widget</a>: |
|
11385 |
|
11386 |
|
11387 |
|
11388 <a href="../files/widget_js_Widget.js.html#l1051"><code>widget/js/Widget.js:1051</code></a> |
|
11389 |
|
11390 </p> |
|
11391 |
|
11392 |
|
11393 |
|
11394 |
|
11395 |
|
11396 </div> |
|
11397 |
|
11398 <div class="description"> |
|
11399 <p>Set the tabIndex on the widget's rendered UI</p> |
|
11400 </div> |
|
11401 |
|
11402 |
|
11403 <div class="params"> |
|
11404 <h4>Parameters:</h4> |
|
11405 |
|
11406 <ul class="params-list"> |
|
11407 |
|
11408 <li class="param"> |
|
11409 |
|
11410 <code class="param-name">Number</code> |
|
11411 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11412 |
|
11413 |
|
11414 |
|
11415 |
|
11416 <div class="param-description"> |
|
11417 |
|
11418 </div> |
|
11419 |
|
11420 |
|
11421 </li> |
|
11422 |
|
11423 </ul> |
|
11424 </div> |
|
11425 |
|
11426 |
|
11427 |
|
11428 |
|
11429 |
|
11430 </div> |
|
11431 |
|
11432 |
|
11433 <div id="method__uiSetVisible" class="method item protected inherited"> |
|
11434 <h3 class="name"><code>_uiSetVisible</code></h3> |
|
11435 |
|
11436 |
|
11437 <div class="args"> |
|
11438 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11439 |
|
11440 <li class="arg"> |
|
11441 |
|
11442 <code>val</code> |
|
11443 |
|
11444 </li> |
|
11445 |
|
11446 </ul><span class="paren">)</span> |
|
11447 </div> |
|
11448 |
|
11449 |
|
11450 |
|
11451 |
|
11452 |
|
11453 |
|
11454 |
|
11455 <span class="flag protected">protected</span> |
|
11456 |
|
11457 |
|
11458 |
|
11459 |
|
11460 |
|
11461 |
|
11462 |
|
11463 |
|
11464 |
|
11465 |
|
11466 <div class="meta"> |
|
11467 |
|
11468 |
|
11469 <p>Inherited from |
|
11470 <a href="../classes/Widget.html#method__uiSetVisible">Widget</a>: |
|
11471 |
|
11472 |
|
11473 |
|
11474 <a href="../files/widget_js_Widget.js.html#l1007"><code>widget/js/Widget.js:1007</code></a> |
|
11475 |
|
11476 </p> |
|
11477 |
|
11478 |
|
11479 |
|
11480 |
|
11481 |
|
11482 </div> |
|
11483 |
|
11484 <div class="description"> |
|
11485 <p>Sets the visible state for the UI</p> |
|
11486 </div> |
|
11487 |
|
11488 |
|
11489 <div class="params"> |
|
11490 <h4>Parameters:</h4> |
|
11491 |
|
11492 <ul class="params-list"> |
|
11493 |
|
11494 <li class="param"> |
|
11495 |
|
11496 <code class="param-name">val</code> |
|
11497 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
11498 |
|
11499 |
|
11500 |
|
11501 |
|
11502 <div class="param-description"> |
|
11503 |
|
11504 </div> |
|
11505 |
|
11506 |
|
11507 </li> |
|
11508 |
|
11509 </ul> |
|
11510 </div> |
|
11511 |
|
11512 |
|
11513 |
|
11514 |
|
11515 |
|
11516 </div> |
|
11517 |
|
11518 |
|
11519 <div id="method__uiSetWidth" class="method item protected inherited"> |
|
11520 <h3 class="name"><code>_uiSetWidth</code></h3> |
|
11521 |
|
11522 |
|
11523 <div class="args"> |
|
11524 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11525 |
|
11526 <li class="arg"> |
|
11527 |
|
11528 <code>val</code> |
|
11529 |
|
11530 </li> |
|
11531 |
|
11532 </ul><span class="paren">)</span> |
|
11533 </div> |
|
11534 |
|
11535 |
|
11536 |
|
11537 |
|
11538 |
|
11539 |
|
11540 |
|
11541 <span class="flag protected">protected</span> |
|
11542 |
|
11543 |
|
11544 |
|
11545 |
|
11546 |
|
11547 |
|
11548 |
|
11549 |
|
11550 |
|
11551 |
|
11552 <div class="meta"> |
|
11553 |
|
11554 |
|
11555 <p>Inherited from |
|
11556 <a href="../classes/Widget.html#method__uiSetWidth">Widget</a>: |
|
11557 |
|
11558 |
|
11559 |
|
11560 <a href="../files/widget_js_Widget.js.html#l986"><code>widget/js/Widget.js:986</code></a> |
|
11561 |
|
11562 </p> |
|
11563 |
|
11564 |
|
11565 |
|
11566 |
|
11567 |
|
11568 </div> |
|
11569 |
|
11570 <div class="description"> |
|
11571 <p>Sets the width on the widget's bounding box element</p> |
|
11572 </div> |
|
11573 |
|
11574 |
|
11575 <div class="params"> |
|
11576 <h4>Parameters:</h4> |
|
11577 |
|
11578 <ul class="params-list"> |
|
11579 |
|
11580 <li class="param"> |
|
11581 |
|
11582 <code class="param-name">val</code> |
|
11583 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
11584 |
|
11585 |
|
11586 |
|
11587 |
|
11588 <div class="param-description"> |
|
11589 |
|
11590 </div> |
|
11591 |
|
11592 |
|
11593 </li> |
|
11594 |
|
11595 </ul> |
|
11596 </div> |
|
11597 |
|
11598 |
|
11599 |
|
11600 |
|
11601 |
|
11602 </div> |
|
11603 |
|
11604 |
|
11605 <div id="method__uiSizeCB" class="method item protected inherited"> |
|
11606 <h3 class="name"><code>_uiSizeCB</code></h3> |
|
11607 |
|
11608 |
|
11609 <div class="args"> |
|
11610 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11611 |
|
11612 <li class="arg"> |
|
11613 |
|
11614 <code>expand</code> |
|
11615 |
|
11616 </li> |
|
11617 |
|
11618 </ul><span class="paren">)</span> |
|
11619 </div> |
|
11620 |
|
11621 |
|
11622 |
|
11623 |
|
11624 |
|
11625 |
|
11626 |
|
11627 <span class="flag protected">protected</span> |
|
11628 |
|
11629 |
|
11630 |
|
11631 |
|
11632 |
|
11633 |
|
11634 |
|
11635 |
|
11636 |
|
11637 |
|
11638 <div class="meta"> |
|
11639 |
|
11640 |
|
11641 <p>Inherited from |
|
11642 <a href="../classes/Widget.html#method__uiSizeCB">Widget</a>: |
|
11643 |
|
11644 |
|
11645 |
|
11646 <a href="../files/widget_js_Widget.js.html#l701"><code>widget/js/Widget.js:701</code></a> |
|
11647 |
|
11648 </p> |
|
11649 |
|
11650 |
|
11651 |
|
11652 |
|
11653 |
|
11654 </div> |
|
11655 |
|
11656 <div class="description"> |
|
11657 |
|
11658 </div> |
|
11659 |
|
11660 |
|
11661 <div class="params"> |
|
11662 <h4>Parameters:</h4> |
|
11663 |
|
11664 <ul class="params-list"> |
|
11665 |
|
11666 <li class="param"> |
|
11667 |
|
11668 <code class="param-name">expand</code> |
|
11669 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
11670 |
|
11671 |
|
11672 |
|
11673 |
|
11674 <div class="param-description"> |
|
11675 |
|
11676 </div> |
|
11677 |
|
11678 |
|
11679 </li> |
|
11680 |
|
11681 </ul> |
|
11682 </div> |
|
11683 |
|
11684 |
|
11685 |
|
11686 |
|
11687 |
|
11688 </div> |
|
11689 |
|
11690 |
|
11691 <div id="method__unbindDOM" class="method item protected inherited"> |
|
11692 <h3 class="name"><code>_unbindDOM</code></h3> |
|
11693 |
|
11694 |
|
11695 <span class="paren">()</span> |
|
11696 |
|
11697 |
|
11698 |
|
11699 |
|
11700 |
|
11701 |
|
11702 |
|
11703 <span class="flag protected">protected</span> |
|
11704 |
|
11705 |
|
11706 |
|
11707 |
|
11708 |
|
11709 |
|
11710 |
|
11711 |
|
11712 |
|
11713 |
|
11714 <div class="meta"> |
|
11715 |
|
11716 |
|
11717 <p>Inherited from |
|
11718 <a href="../classes/Widget.html#method__unbindDOM">Widget</a>: |
|
11719 |
|
11720 |
|
11721 |
|
11722 <a href="../files/widget_js_Widget.js.html#l933"><code>widget/js/Widget.js:933</code></a> |
|
11723 |
|
11724 </p> |
|
11725 |
|
11726 |
|
11727 |
|
11728 |
|
11729 |
|
11730 </div> |
|
11731 |
|
11732 <div class="description"> |
|
11733 |
|
11734 </div> |
|
11735 |
|
11736 |
|
11737 |
|
11738 |
|
11739 |
|
11740 |
|
11741 </div> |
|
11742 |
|
11743 |
|
11744 <div id="method__unbindUI" class="method item protected inherited"> |
|
11745 <h3 class="name"><code>_unbindUI</code></h3> |
|
11746 |
|
11747 |
|
11748 <span class="paren">()</span> |
|
11749 |
|
11750 |
|
11751 |
|
11752 |
|
11753 |
|
11754 |
|
11755 |
|
11756 <span class="flag protected">protected</span> |
|
11757 |
|
11758 |
|
11759 |
|
11760 |
|
11761 |
|
11762 |
|
11763 |
|
11764 |
|
11765 |
|
11766 |
|
11767 <div class="meta"> |
|
11768 |
|
11769 |
|
11770 <p>Inherited from |
|
11771 <a href="../classes/Widget.html#method__unbindUI">Widget</a>: |
|
11772 |
|
11773 |
|
11774 |
|
11775 <a href="../files/widget_js_Widget.js.html#l894"><code>widget/js/Widget.js:894</code></a> |
|
11776 |
|
11777 </p> |
|
11778 |
|
11779 |
|
11780 |
|
11781 |
|
11782 |
|
11783 </div> |
|
11784 |
|
11785 <div class="description"> |
|
11786 |
|
11787 </div> |
|
11788 |
|
11789 |
|
11790 |
|
11791 |
|
11792 |
|
11793 |
|
11794 </div> |
|
11795 |
|
11796 |
|
11797 <div id="method__validTabIndex" class="method item protected inherited"> |
|
11798 <h3 class="name"><code>_validTabIndex</code></h3> |
|
11799 |
|
11800 |
|
11801 <div class="args"> |
|
11802 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11803 |
|
11804 <li class="arg"> |
|
11805 |
|
11806 <code>tabIndex</code> |
|
11807 |
|
11808 </li> |
|
11809 |
|
11810 </ul><span class="paren">)</span> |
|
11811 </div> |
|
11812 |
|
11813 |
|
11814 |
|
11815 |
|
11816 |
|
11817 |
|
11818 |
|
11819 <span class="flag protected">protected</span> |
|
11820 |
|
11821 |
|
11822 |
|
11823 |
|
11824 |
|
11825 |
|
11826 |
|
11827 |
|
11828 |
|
11829 |
|
11830 <div class="meta"> |
|
11831 |
|
11832 |
|
11833 <p>Inherited from |
|
11834 <a href="../classes/Widget.html#method__validTabIndex">Widget</a>: |
|
11835 |
|
11836 |
|
11837 |
|
11838 <a href="../files/widget_js_Widget.js.html#l1161"><code>widget/js/Widget.js:1161</code></a> |
|
11839 |
|
11840 </p> |
|
11841 |
|
11842 |
|
11843 |
|
11844 |
|
11845 |
|
11846 </div> |
|
11847 |
|
11848 <div class="description"> |
|
11849 |
|
11850 </div> |
|
11851 |
|
11852 |
|
11853 <div class="params"> |
|
11854 <h4>Parameters:</h4> |
|
11855 |
|
11856 <ul class="params-list"> |
|
11857 |
|
11858 <li class="param"> |
|
11859 |
|
11860 <code class="param-name">tabIndex</code> |
|
11861 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
11862 |
|
11863 |
|
11864 |
|
11865 |
|
11866 <div class="param-description"> |
|
11867 |
|
11868 </div> |
|
11869 |
|
11870 |
|
11871 </li> |
|
11872 |
|
11873 </ul> |
|
11874 </div> |
|
11875 |
|
11876 |
|
11877 |
|
11878 |
|
11879 |
|
11880 </div> |
|
11881 |
|
11882 |
|
11883 <div id="method_addAttr" class="method item inherited"> |
|
11884 <h3 class="name"><code>addAttr</code></h3> |
|
11885 |
|
11886 |
|
11887 <div class="args"> |
|
11888 <span class="paren">(</span><ul class="args-list inline commas"> |
|
11889 |
|
11890 <li class="arg"> |
|
11891 |
|
11892 <code>name</code> |
|
11893 |
|
11894 </li> |
|
11895 |
|
11896 <li class="arg"> |
|
11897 |
|
11898 <code>config</code> |
|
11899 |
|
11900 </li> |
|
11901 |
|
11902 <li class="arg"> |
|
11903 |
|
11904 <code>lazy</code> |
|
11905 |
|
11906 </li> |
|
11907 |
|
11908 </ul><span class="paren">)</span> |
|
11909 </div> |
|
11910 |
|
11911 |
|
11912 |
|
11913 <span class="returns-inline"> |
|
11914 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
11915 </span> |
|
11916 |
|
11917 |
|
11918 |
|
11919 |
|
11920 |
|
11921 |
|
11922 |
|
11923 |
|
11924 |
|
11925 |
|
11926 |
|
11927 <span class="flag chainable">chainable</span> |
|
11928 |
|
11929 |
|
11930 |
|
11931 |
|
11932 <div class="meta"> |
|
11933 |
|
11934 |
|
11935 <p>Inherited from |
|
11936 <a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>: |
|
11937 |
|
11938 |
|
11939 |
|
11940 <a href="../files/attribute_js_AttributeCore.js.html#l157"><code>attribute/js/AttributeCore.js:157</code></a> |
|
11941 |
|
11942 </p> |
|
11943 |
|
11944 |
|
11945 |
|
11946 |
|
11947 |
|
11948 </div> |
|
11949 |
|
11950 <div class="description"> |
|
11951 <p> |
|
11952 Adds an attribute with the provided configuration to the host object. |
|
11953 </p> |
|
11954 |
|
11955 <p> |
|
11956 The config argument object supports the following properties: |
|
11957 </p> |
|
11958 |
|
11959 <dl> |
|
11960 <dt>value <Any></dt> |
|
11961 <dd>The initial value to set on the attribute</dd> |
|
11962 |
|
11963 <dt>valueFn <Function | String></dt> |
|
11964 <dd> |
|
11965 <p>A function, which will return the initial value to set on the attribute. This is useful |
|
11966 for cases where the attribute configuration is defined statically, but needs to |
|
11967 reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, |
|
11968 the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which |
|
11969 case the value property is used.</p> |
|
11970 |
|
11971 <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p> |
|
11972 </dd> |
|
11973 |
|
11974 <dt>readOnly <boolean></dt> |
|
11975 <dd>Whether or not the attribute is read only. Attributes having readOnly set to true |
|
11976 cannot be modified by invoking the set method.</dd> |
|
11977 |
|
11978 <dt>writeOnce <boolean> or <string></dt> |
|
11979 <dd> |
|
11980 Whether or not the attribute is "write once". Attributes having writeOnce set to true, |
|
11981 can only have their values set once, be it through the default configuration, |
|
11982 constructor configuration arguments, or by invoking set. |
|
11983 <p>The writeOnce attribute can also be set to the string "initOnly", |
|
11984 in which case the attribute can only be set during initialization |
|
11985 (when used with Base, this means it can only be set during construction)</p> |
|
11986 </dd> |
|
11987 |
|
11988 <dt>setter <Function | String></dt> |
|
11989 <dd> |
|
11990 <p>The setter function used to massage or normalize the value passed to the set method for the attribute. |
|
11991 The value returned by the setter will be the final stored value. Returning |
|
11992 <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent |
|
11993 the value from being stored. |
|
11994 </p> |
|
11995 |
|
11996 <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p> |
|
11997 </dd> |
|
11998 |
|
11999 <dt>getter <Function | String></dt> |
|
12000 <dd> |
|
12001 <p> |
|
12002 The getter function used to massage or normalize the value returned by the get method for the attribute. |
|
12003 The value returned by the getter function is the value which will be returned to the user when they |
|
12004 invoke get. |
|
12005 </p> |
|
12006 |
|
12007 <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p> |
|
12008 </dd> |
|
12009 |
|
12010 <dt>validator <Function | String></dt> |
|
12011 <dd> |
|
12012 <p> |
|
12013 The validator function invoked prior to setting the stored value. Returning |
|
12014 false from the validator function will prevent the value from being stored. |
|
12015 </p> |
|
12016 |
|
12017 <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p> |
|
12018 </dd> |
|
12019 |
|
12020 <dt>lazyAdd <boolean></dt> |
|
12021 <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. |
|
12022 This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through |
|
12023 the <a href="#method_addAttrs">addAttrs</a> method.</dd> |
|
12024 |
|
12025 </dl> |
|
12026 |
|
12027 <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with |
|
12028 the context ("this") set to the host object.</p> |
|
12029 |
|
12030 <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, |
|
12031 and are not intended for public use.</p> |
|
12032 </div> |
|
12033 |
|
12034 |
|
12035 <div class="params"> |
|
12036 <h4>Parameters:</h4> |
|
12037 |
|
12038 <ul class="params-list"> |
|
12039 |
|
12040 <li class="param"> |
|
12041 |
|
12042 <code class="param-name">name</code> |
|
12043 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12044 |
|
12045 |
|
12046 |
|
12047 |
|
12048 <div class="param-description"> |
|
12049 <p>The name of the attribute.</p> |
|
12050 </div> |
|
12051 |
|
12052 |
|
12053 </li> |
|
12054 |
|
12055 <li class="param"> |
|
12056 |
|
12057 <code class="param-name">config</code> |
|
12058 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12059 |
|
12060 |
|
12061 |
|
12062 |
|
12063 <div class="param-description"> |
|
12064 <p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p> |
|
12065 |
|
12066 <p> |
|
12067 <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need |
|
12068 to protect the original values, you will need to merge the object. |
|
12069 </p> |
|
12070 </div> |
|
12071 |
|
12072 |
|
12073 </li> |
|
12074 |
|
12075 <li class="param"> |
|
12076 |
|
12077 <code class="param-name">lazy</code> |
|
12078 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
12079 |
|
12080 |
|
12081 |
|
12082 |
|
12083 <div class="param-description"> |
|
12084 <p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p> |
|
12085 </div> |
|
12086 |
|
12087 |
|
12088 </li> |
|
12089 |
|
12090 </ul> |
|
12091 </div> |
|
12092 |
|
12093 |
|
12094 |
|
12095 <div class="returns"> |
|
12096 <h4>Returns:</h4> |
|
12097 |
|
12098 <div class="returns-description"> |
|
12099 |
|
12100 |
|
12101 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12102 |
|
12103 A reference to the host object. |
|
12104 |
|
12105 </div> |
|
12106 </div> |
|
12107 |
|
12108 |
|
12109 |
|
12110 </div> |
|
12111 |
|
12112 |
|
12113 <div id="method_addAttrs" class="method item inherited"> |
|
12114 <h3 class="name"><code>addAttrs</code></h3> |
|
12115 |
|
12116 |
|
12117 <div class="args"> |
|
12118 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12119 |
|
12120 <li class="arg"> |
|
12121 |
|
12122 <code>cfgs</code> |
|
12123 |
|
12124 </li> |
|
12125 |
|
12126 <li class="arg"> |
|
12127 |
|
12128 <code>values</code> |
|
12129 |
|
12130 </li> |
|
12131 |
|
12132 <li class="arg"> |
|
12133 |
|
12134 <code>lazy</code> |
|
12135 |
|
12136 </li> |
|
12137 |
|
12138 </ul><span class="paren">)</span> |
|
12139 </div> |
|
12140 |
|
12141 |
|
12142 |
|
12143 <span class="returns-inline"> |
|
12144 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12145 </span> |
|
12146 |
|
12147 |
|
12148 |
|
12149 |
|
12150 |
|
12151 |
|
12152 |
|
12153 |
|
12154 |
|
12155 |
|
12156 |
|
12157 <span class="flag chainable">chainable</span> |
|
12158 |
|
12159 |
|
12160 |
|
12161 |
|
12162 <div class="meta"> |
|
12163 |
|
12164 |
|
12165 <p>Inherited from |
|
12166 <a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>: |
|
12167 |
|
12168 |
|
12169 |
|
12170 <a href="../files/attribute_js_AttributeCore.js.html#l805"><code>attribute/js/AttributeCore.js:805</code></a> |
|
12171 |
|
12172 </p> |
|
12173 |
|
12174 |
|
12175 |
|
12176 |
|
12177 |
|
12178 </div> |
|
12179 |
|
12180 <div class="description"> |
|
12181 <p>Configures a group of attributes, and sets initial values.</p> |
|
12182 |
|
12183 <p> |
|
12184 <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. |
|
12185 The caller is responsible for merging/cloning the configuration object if required. |
|
12186 </p> |
|
12187 </div> |
|
12188 |
|
12189 |
|
12190 <div class="params"> |
|
12191 <h4>Parameters:</h4> |
|
12192 |
|
12193 <ul class="params-list"> |
|
12194 |
|
12195 <li class="param"> |
|
12196 |
|
12197 <code class="param-name">cfgs</code> |
|
12198 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12199 |
|
12200 |
|
12201 |
|
12202 |
|
12203 <div class="param-description"> |
|
12204 <p>An object with attribute name/configuration pairs.</p> |
|
12205 </div> |
|
12206 |
|
12207 |
|
12208 </li> |
|
12209 |
|
12210 <li class="param"> |
|
12211 |
|
12212 <code class="param-name">values</code> |
|
12213 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12214 |
|
12215 |
|
12216 |
|
12217 |
|
12218 <div class="param-description"> |
|
12219 <p>An object with attribute name/value pairs, defining the initial values to apply. |
|
12220 Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p> |
|
12221 </div> |
|
12222 |
|
12223 |
|
12224 </li> |
|
12225 |
|
12226 <li class="param"> |
|
12227 |
|
12228 <code class="param-name">lazy</code> |
|
12229 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
12230 |
|
12231 |
|
12232 |
|
12233 |
|
12234 <div class="param-description"> |
|
12235 <p>Whether or not to delay the intialization of these attributes until the first call to get/set. |
|
12236 Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. |
|
12237 See <a href="#method_addAttr">addAttr</a>.</p> |
|
12238 </div> |
|
12239 |
|
12240 |
|
12241 </li> |
|
12242 |
|
12243 </ul> |
|
12244 </div> |
|
12245 |
|
12246 |
|
12247 |
|
12248 <div class="returns"> |
|
12249 <h4>Returns:</h4> |
|
12250 |
|
12251 <div class="returns-description"> |
|
12252 |
|
12253 |
|
12254 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
12255 |
|
12256 A reference to the host object. |
|
12257 |
|
12258 </div> |
|
12259 </div> |
|
12260 |
|
12261 |
|
12262 |
|
12263 </div> |
|
12264 |
|
12265 |
|
12266 <div id="method_addTarget" class="method item inherited"> |
|
12267 <h3 class="name"><code>addTarget</code></h3> |
|
12268 |
|
12269 |
|
12270 <div class="args"> |
|
12271 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12272 |
|
12273 <li class="arg"> |
|
12274 |
|
12275 <code>o</code> |
|
12276 |
|
12277 </li> |
|
12278 |
|
12279 </ul><span class="paren">)</span> |
|
12280 </div> |
|
12281 |
|
12282 |
|
12283 |
|
12284 |
|
12285 |
|
12286 |
|
12287 |
|
12288 |
|
12289 |
|
12290 |
|
12291 |
|
12292 |
|
12293 |
|
12294 |
|
12295 |
|
12296 |
|
12297 <div class="meta"> |
|
12298 |
|
12299 |
|
12300 <p>Inherited from |
|
12301 <a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>: |
|
12302 |
|
12303 |
|
12304 |
|
12305 <a href="../files/event-custom_js_event-facade.js.html#l455"><code>event-custom/js/event-facade.js:455</code></a> |
|
12306 |
|
12307 </p> |
|
12308 |
|
12309 |
|
12310 |
|
12311 |
|
12312 |
|
12313 </div> |
|
12314 |
|
12315 <div class="description"> |
|
12316 <p>Registers another EventTarget as a bubble target. Bubble order |
|
12317 is determined by the order registered. Multiple targets can |
|
12318 be specified.</p> |
|
12319 |
|
12320 <p>Events can only bubble if emitFacade is true.</p> |
|
12321 |
|
12322 <p>Included in the event-custom-complex submodule.</p> |
|
12323 </div> |
|
12324 |
|
12325 |
|
12326 <div class="params"> |
|
12327 <h4>Parameters:</h4> |
|
12328 |
|
12329 <ul class="params-list"> |
|
12330 |
|
12331 <li class="param"> |
|
12332 |
|
12333 <code class="param-name">o</code> |
|
12334 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
12335 |
|
12336 |
|
12337 |
|
12338 |
|
12339 <div class="param-description"> |
|
12340 <p>the target to add</p> |
|
12341 </div> |
|
12342 |
|
12343 |
|
12344 </li> |
|
12345 |
|
12346 </ul> |
|
12347 </div> |
|
12348 |
|
12349 |
|
12350 |
|
12351 |
|
12352 |
|
12353 </div> |
|
12354 |
|
12355 |
|
12356 <div id="method_after" class="method item inherited"> |
|
12357 <h3 class="name"><code>after</code></h3> |
|
12358 |
|
12359 |
|
12360 <div class="args"> |
|
12361 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12362 |
|
12363 <li class="arg"> |
|
12364 |
|
12365 <code>type</code> |
|
12366 |
|
12367 </li> |
|
12368 |
|
12369 <li class="arg"> |
|
12370 |
|
12371 <code>fn</code> |
|
12372 |
|
12373 </li> |
|
12374 |
|
12375 <li class="arg"> |
|
12376 |
|
12377 <code class="optional">[context]</code> |
|
12378 |
|
12379 </li> |
|
12380 |
|
12381 <li class="arg"> |
|
12382 |
|
12383 <code class="optional">[arg*]</code> |
|
12384 |
|
12385 </li> |
|
12386 |
|
12387 </ul><span class="paren">)</span> |
|
12388 </div> |
|
12389 |
|
12390 |
|
12391 |
|
12392 <span class="returns-inline"> |
|
12393 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
12394 </span> |
|
12395 |
|
12396 |
|
12397 |
|
12398 |
|
12399 |
|
12400 |
|
12401 |
|
12402 |
|
12403 |
|
12404 |
|
12405 |
|
12406 |
|
12407 |
|
12408 |
|
12409 <div class="meta"> |
|
12410 |
|
12411 |
|
12412 <p>Inherited from |
|
12413 <a href="../classes/EventTarget.html#method_after">EventTarget</a>: |
|
12414 |
|
12415 |
|
12416 |
|
12417 <a href="../files/event-custom_js_event-target.js.html#l833"><code>event-custom/js/event-target.js:833</code></a> |
|
12418 |
|
12419 </p> |
|
12420 |
|
12421 |
|
12422 |
|
12423 |
|
12424 |
|
12425 </div> |
|
12426 |
|
12427 <div class="description"> |
|
12428 <p>Subscribe to a custom event hosted by this object. The |
|
12429 supplied callback will execute after any listeners add |
|
12430 via the subscribe method, and after the default function, |
|
12431 if configured for the event, has executed.</p> |
|
12432 </div> |
|
12433 |
|
12434 |
|
12435 <div class="params"> |
|
12436 <h4>Parameters:</h4> |
|
12437 |
|
12438 <ul class="params-list"> |
|
12439 |
|
12440 <li class="param"> |
|
12441 |
|
12442 <code class="param-name">type</code> |
|
12443 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12444 |
|
12445 |
|
12446 |
|
12447 |
|
12448 <div class="param-description"> |
|
12449 <p>The name of the event</p> |
|
12450 </div> |
|
12451 |
|
12452 |
|
12453 </li> |
|
12454 |
|
12455 <li class="param"> |
|
12456 |
|
12457 <code class="param-name">fn</code> |
|
12458 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
12459 |
|
12460 |
|
12461 |
|
12462 |
|
12463 <div class="param-description"> |
|
12464 <p>The callback to execute in response to the event</p> |
|
12465 </div> |
|
12466 |
|
12467 |
|
12468 </li> |
|
12469 |
|
12470 <li class="param"> |
|
12471 |
|
12472 <code class="param-name optional">[context]</code> |
|
12473 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
12474 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12475 |
|
12476 |
|
12477 |
|
12478 |
|
12479 <div class="param-description"> |
|
12480 <p>Override <code>this</code> object in callback</p> |
|
12481 </div> |
|
12482 |
|
12483 |
|
12484 </li> |
|
12485 |
|
12486 <li class="param"> |
|
12487 |
|
12488 <code class="param-name optional">[arg*]</code> |
|
12489 <span class="type">Any</span> |
|
12490 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
12491 |
|
12492 |
|
12493 |
|
12494 |
|
12495 <div class="param-description"> |
|
12496 <p>0..n additional arguments to supply to the subscriber</p> |
|
12497 </div> |
|
12498 |
|
12499 |
|
12500 </li> |
|
12501 |
|
12502 </ul> |
|
12503 </div> |
|
12504 |
|
12505 |
|
12506 |
|
12507 <div class="returns"> |
|
12508 <h4>Returns:</h4> |
|
12509 |
|
12510 <div class="returns-description"> |
|
12511 |
|
12512 |
|
12513 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
12514 |
|
12515 A subscription handle capable of detaching the |
|
12516 subscription |
|
12517 |
|
12518 </div> |
|
12519 </div> |
|
12520 |
|
12521 |
|
12522 |
|
12523 </div> |
|
12524 |
|
12525 |
|
12526 <div id="method_ancestor" class="method item inherited"> |
|
12527 <h3 class="name"><code>ancestor</code></h3> |
|
12528 |
|
12529 |
|
12530 <div class="args"> |
|
12531 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12532 |
|
12533 <li class="arg"> |
|
12534 |
|
12535 <code>depth</code> |
|
12536 |
|
12537 </li> |
|
12538 |
|
12539 </ul><span class="paren">)</span> |
|
12540 </div> |
|
12541 |
|
12542 |
|
12543 |
|
12544 <span class="returns-inline"> |
|
12545 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span> |
|
12546 </span> |
|
12547 |
|
12548 |
|
12549 |
|
12550 |
|
12551 |
|
12552 |
|
12553 |
|
12554 |
|
12555 |
|
12556 |
|
12557 |
|
12558 |
|
12559 |
|
12560 |
|
12561 <div class="meta"> |
|
12562 |
|
12563 |
|
12564 <p>Inherited from |
|
12565 <a href="../classes/Widget.html#method_ancestor">Widget</a>: |
|
12566 |
|
12567 |
|
12568 |
|
12569 <a href="../files/widget-child_js_Widget-Child.js.html#l279"><code>widget-child/js/Widget-Child.js:279</code></a> |
|
12570 |
|
12571 </p> |
|
12572 |
|
12573 |
|
12574 |
|
12575 |
|
12576 |
|
12577 </div> |
|
12578 |
|
12579 <div class="description"> |
|
12580 <p>Returns the Widget instance at the specified depth.</p> |
|
12581 </div> |
|
12582 |
|
12583 |
|
12584 <div class="params"> |
|
12585 <h4>Parameters:</h4> |
|
12586 |
|
12587 <ul class="params-list"> |
|
12588 |
|
12589 <li class="param"> |
|
12590 |
|
12591 <code class="param-name">depth</code> |
|
12592 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
12593 |
|
12594 |
|
12595 |
|
12596 |
|
12597 <div class="param-description"> |
|
12598 <p>Number representing the depth of the ancestor.</p> |
|
12599 </div> |
|
12600 |
|
12601 |
|
12602 </li> |
|
12603 |
|
12604 </ul> |
|
12605 </div> |
|
12606 |
|
12607 |
|
12608 |
|
12609 <div class="returns"> |
|
12610 <h4>Returns:</h4> |
|
12611 |
|
12612 <div class="returns-description"> |
|
12613 |
|
12614 |
|
12615 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>: |
|
12616 |
|
12617 Widget instance. |
|
12618 |
|
12619 </div> |
|
12620 </div> |
|
12621 |
|
12622 |
|
12623 |
|
12624 </div> |
|
12625 |
|
12626 |
|
12627 <div id="method_attrAdded" class="method item inherited"> |
|
12628 <h3 class="name"><code>attrAdded</code></h3> |
|
12629 |
|
12630 |
|
12631 <div class="args"> |
|
12632 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12633 |
|
12634 <li class="arg"> |
|
12635 |
|
12636 <code>name</code> |
|
12637 |
|
12638 </li> |
|
12639 |
|
12640 </ul><span class="paren">)</span> |
|
12641 </div> |
|
12642 |
|
12643 |
|
12644 |
|
12645 <span class="returns-inline"> |
|
12646 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
12647 </span> |
|
12648 |
|
12649 |
|
12650 |
|
12651 |
|
12652 |
|
12653 |
|
12654 |
|
12655 |
|
12656 |
|
12657 |
|
12658 |
|
12659 |
|
12660 |
|
12661 |
|
12662 <div class="meta"> |
|
12663 |
|
12664 |
|
12665 <p>Inherited from |
|
12666 <a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>: |
|
12667 |
|
12668 |
|
12669 |
|
12670 <a href="../files/attribute_js_AttributeCore.js.html#l341"><code>attribute/js/AttributeCore.js:341</code></a> |
|
12671 |
|
12672 </p> |
|
12673 |
|
12674 |
|
12675 |
|
12676 |
|
12677 |
|
12678 </div> |
|
12679 |
|
12680 <div class="description"> |
|
12681 <p>Checks if the given attribute has been added to the host</p> |
|
12682 </div> |
|
12683 |
|
12684 |
|
12685 <div class="params"> |
|
12686 <h4>Parameters:</h4> |
|
12687 |
|
12688 <ul class="params-list"> |
|
12689 |
|
12690 <li class="param"> |
|
12691 |
|
12692 <code class="param-name">name</code> |
|
12693 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
12694 |
|
12695 |
|
12696 |
|
12697 |
|
12698 <div class="param-description"> |
|
12699 <p>The name of the attribute to check.</p> |
|
12700 </div> |
|
12701 |
|
12702 |
|
12703 </li> |
|
12704 |
|
12705 </ul> |
|
12706 </div> |
|
12707 |
|
12708 |
|
12709 |
|
12710 <div class="returns"> |
|
12711 <h4>Returns:</h4> |
|
12712 |
|
12713 <div class="returns-description"> |
|
12714 |
|
12715 |
|
12716 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
12717 |
|
12718 true if an attribute with the given name has been added, false if it hasn't. |
|
12719 This method will return true for lazily added attributes. |
|
12720 |
|
12721 </div> |
|
12722 </div> |
|
12723 |
|
12724 |
|
12725 |
|
12726 </div> |
|
12727 |
|
12728 |
|
12729 <div id="method_before" class="method item inherited"> |
|
12730 <h3 class="name"><code>before</code></h3> |
|
12731 |
|
12732 |
|
12733 <span class="paren">()</span> |
|
12734 |
|
12735 |
|
12736 |
|
12737 <span class="returns-inline"> |
|
12738 <span class="type"></span> |
|
12739 </span> |
|
12740 |
|
12741 |
|
12742 |
|
12743 |
|
12744 |
|
12745 |
|
12746 |
|
12747 |
|
12748 |
|
12749 |
|
12750 |
|
12751 |
|
12752 |
|
12753 |
|
12754 <div class="meta"> |
|
12755 |
|
12756 |
|
12757 <p>Inherited from |
|
12758 <a href="../classes/EventTarget.html#method_before">EventTarget</a>: |
|
12759 |
|
12760 |
|
12761 |
|
12762 <a href="../files/event-custom_js_event-target.js.html#l870"><code>event-custom/js/event-target.js:870</code></a> |
|
12763 |
|
12764 </p> |
|
12765 |
|
12766 |
|
12767 |
|
12768 |
|
12769 |
|
12770 </div> |
|
12771 |
|
12772 <div class="description"> |
|
12773 <p>Executes the callback before a DOM event, custom event |
|
12774 or method. If the first argument is a function, it |
|
12775 is assumed the target is a method. For DOM and custom |
|
12776 events, this is an alias for Y.on.</p> |
|
12777 |
|
12778 <p>For DOM and custom events: |
|
12779 type, callback, context, 0-n arguments</p> |
|
12780 |
|
12781 <p>For methods: |
|
12782 callback, object (method host), methodName, context, 0-n arguments</p> |
|
12783 </div> |
|
12784 |
|
12785 |
|
12786 |
|
12787 |
|
12788 <div class="returns"> |
|
12789 <h4>Returns:</h4> |
|
12790 |
|
12791 <div class="returns-description"> |
|
12792 |
|
12793 |
|
12794 detach handle |
|
12795 |
|
12796 </div> |
|
12797 </div> |
|
12798 |
|
12799 |
|
12800 |
|
12801 </div> |
|
12802 |
|
12803 |
|
12804 <div id="method_bindUI" class="method item"> |
|
12805 <h3 class="name"><code>bindUI</code></h3> |
|
12806 |
|
12807 |
|
12808 <span class="paren">()</span> |
|
12809 |
|
12810 |
|
12811 |
|
12812 |
|
12813 |
|
12814 |
|
12815 |
|
12816 |
|
12817 |
|
12818 |
|
12819 |
|
12820 |
|
12821 |
|
12822 |
|
12823 |
|
12824 |
|
12825 <div class="meta"> |
|
12826 |
|
12827 <p>Inherited from |
|
12828 <a href="../classes/Widget.html#method_bindUI"> |
|
12829 Widget |
|
12830 </a> |
|
12831 |
|
12832 but overwritten in |
|
12833 |
|
12834 |
|
12835 |
|
12836 <a href="../files/button_js_button.js.html#l231"><code>button/js/button.js:231</code></a> |
|
12837 |
|
12838 </p> |
|
12839 |
|
12840 |
|
12841 |
|
12842 |
|
12843 |
|
12844 </div> |
|
12845 |
|
12846 <div class="description"> |
|
12847 <p>Hooks up events for the widget</p> |
|
12848 </div> |
|
12849 |
|
12850 |
|
12851 |
|
12852 |
|
12853 |
|
12854 |
|
12855 </div> |
|
12856 |
|
12857 |
|
12858 <div id="method_blur" class="method item inherited"> |
|
12859 <h3 class="name"><code>blur</code></h3> |
|
12860 |
|
12861 |
|
12862 <span class="paren">()</span> |
|
12863 |
|
12864 |
|
12865 |
|
12866 |
|
12867 |
|
12868 |
|
12869 |
|
12870 |
|
12871 |
|
12872 |
|
12873 |
|
12874 |
|
12875 |
|
12876 <span class="flag chainable">chainable</span> |
|
12877 |
|
12878 |
|
12879 |
|
12880 |
|
12881 <div class="meta"> |
|
12882 |
|
12883 |
|
12884 <p>Inherited from |
|
12885 <a href="../classes/Widget.html#method_blur">Widget</a>: |
|
12886 |
|
12887 |
|
12888 |
|
12889 <a href="../files/widget_js_Widget.js.html#l673"><code>widget/js/Widget.js:673</code></a> |
|
12890 |
|
12891 </p> |
|
12892 |
|
12893 |
|
12894 |
|
12895 |
|
12896 |
|
12897 </div> |
|
12898 |
|
12899 <div class="description"> |
|
12900 <p>Causes the Widget to lose focus by setting the "focused" attribute |
|
12901 to "false"</p> |
|
12902 </div> |
|
12903 |
|
12904 |
|
12905 |
|
12906 |
|
12907 |
|
12908 |
|
12909 </div> |
|
12910 |
|
12911 |
|
12912 <div id="method_bubble" class="method item inherited"> |
|
12913 <h3 class="name"><code>bubble</code></h3> |
|
12914 |
|
12915 |
|
12916 <div class="args"> |
|
12917 <span class="paren">(</span><ul class="args-list inline commas"> |
|
12918 |
|
12919 <li class="arg"> |
|
12920 |
|
12921 <code>evt</code> |
|
12922 |
|
12923 </li> |
|
12924 |
|
12925 </ul><span class="paren">)</span> |
|
12926 </div> |
|
12927 |
|
12928 |
|
12929 |
|
12930 <span class="returns-inline"> |
|
12931 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
12932 </span> |
|
12933 |
|
12934 |
|
12935 |
|
12936 |
|
12937 |
|
12938 |
|
12939 |
|
12940 |
|
12941 |
|
12942 |
|
12943 |
|
12944 |
|
12945 |
|
12946 |
|
12947 <div class="meta"> |
|
12948 |
|
12949 |
|
12950 <p>Inherited from |
|
12951 <a href="../classes/EventTarget.html#method_bubble">EventTarget</a>: |
|
12952 |
|
12953 |
|
12954 |
|
12955 <a href="../files/event-custom_js_event-facade.js.html#l507"><code>event-custom/js/event-facade.js:507</code></a> |
|
12956 |
|
12957 </p> |
|
12958 |
|
12959 |
|
12960 |
|
12961 |
|
12962 |
|
12963 </div> |
|
12964 |
|
12965 <div class="description"> |
|
12966 <p>Propagate an event. Requires the event-custom-complex module.</p> |
|
12967 </div> |
|
12968 |
|
12969 |
|
12970 <div class="params"> |
|
12971 <h4>Parameters:</h4> |
|
12972 |
|
12973 <ul class="params-list"> |
|
12974 |
|
12975 <li class="param"> |
|
12976 |
|
12977 <code class="param-name">evt</code> |
|
12978 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
12979 |
|
12980 |
|
12981 |
|
12982 |
|
12983 <div class="param-description"> |
|
12984 <p>the custom event to propagate</p> |
|
12985 </div> |
|
12986 |
|
12987 |
|
12988 </li> |
|
12989 |
|
12990 </ul> |
|
12991 </div> |
|
12992 |
|
12993 |
|
12994 |
|
12995 <div class="returns"> |
|
12996 <h4>Returns:</h4> |
|
12997 |
|
12998 <div class="returns-description"> |
|
12999 |
|
13000 |
|
13001 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
13002 |
|
13003 the aggregated return value from Event.Custom.fire |
|
13004 |
|
13005 </div> |
|
13006 </div> |
|
13007 |
|
13008 |
|
13009 |
|
13010 </div> |
|
13011 |
|
13012 |
|
13013 <div id="method_destroy" class="method item inherited"> |
|
13014 <h3 class="name"><code>destroy</code></h3> |
|
13015 |
|
13016 |
|
13017 <div class="args"> |
|
13018 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13019 |
|
13020 <li class="arg"> |
|
13021 |
|
13022 <code>destroyAllNodes</code> |
|
13023 |
|
13024 </li> |
|
13025 |
|
13026 </ul><span class="paren">)</span> |
|
13027 </div> |
|
13028 |
|
13029 |
|
13030 |
|
13031 <span class="returns-inline"> |
|
13032 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span> |
|
13033 </span> |
|
13034 |
|
13035 |
|
13036 |
|
13037 |
|
13038 |
|
13039 |
|
13040 |
|
13041 |
|
13042 |
|
13043 |
|
13044 |
|
13045 <span class="flag chainable">chainable</span> |
|
13046 |
|
13047 |
|
13048 |
|
13049 |
|
13050 <div class="meta"> |
|
13051 |
|
13052 <p>Inherited from |
|
13053 <a href="../classes/BaseObservable.html#method_destroy"> |
|
13054 BaseObservable |
|
13055 </a> |
|
13056 |
|
13057 but overwritten in |
|
13058 |
|
13059 |
|
13060 |
|
13061 <a href="../files/widget_js_Widget.js.html#l452"><code>widget/js/Widget.js:452</code></a> |
|
13062 |
|
13063 </p> |
|
13064 |
|
13065 |
|
13066 |
|
13067 |
|
13068 |
|
13069 </div> |
|
13070 |
|
13071 <div class="description"> |
|
13072 <p> |
|
13073 Destroy lifecycle method. Fires the destroy |
|
13074 event, prior to invoking destructors for the |
|
13075 class hierarchy. |
|
13076 |
|
13077 Overrides Base's implementation, to support arguments to destroy |
|
13078 </p> |
|
13079 |
|
13080 <p> |
|
13081 Subscribers to the destroy |
|
13082 event can invoke preventDefault on the event object, to prevent destruction |
|
13083 from proceeding. |
|
13084 </p> |
|
13085 </div> |
|
13086 |
|
13087 |
|
13088 <div class="params"> |
|
13089 <h4>Parameters:</h4> |
|
13090 |
|
13091 <ul class="params-list"> |
|
13092 |
|
13093 <li class="param"> |
|
13094 |
|
13095 <code class="param-name">destroyAllNodes</code> |
|
13096 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
13097 |
|
13098 |
|
13099 |
|
13100 |
|
13101 <div class="param-description"> |
|
13102 <p>If true, all nodes contained within the Widget are |
|
13103 removed and destroyed. Defaults to false due to potentially high run-time cost.</p> |
|
13104 </div> |
|
13105 |
|
13106 |
|
13107 </li> |
|
13108 |
|
13109 </ul> |
|
13110 </div> |
|
13111 |
|
13112 |
|
13113 |
|
13114 <div class="returns"> |
|
13115 <h4>Returns:</h4> |
|
13116 |
|
13117 <div class="returns-description"> |
|
13118 |
|
13119 |
|
13120 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>: |
|
13121 |
|
13122 A reference to this object |
|
13123 |
|
13124 </div> |
|
13125 </div> |
|
13126 |
|
13127 |
|
13128 |
|
13129 </div> |
|
13130 |
|
13131 |
|
13132 <div id="method_destructor" class="method item"> |
|
13133 <h3 class="name"><code>destructor</code></h3> |
|
13134 |
|
13135 |
|
13136 <span class="paren">()</span> |
|
13137 |
|
13138 |
|
13139 |
|
13140 |
|
13141 |
|
13142 |
|
13143 |
|
13144 |
|
13145 |
|
13146 |
|
13147 |
|
13148 |
|
13149 |
|
13150 |
|
13151 |
|
13152 |
|
13153 <div class="meta"> |
|
13154 |
|
13155 <p>Inherited from |
|
13156 <a href="../classes/Widget.html#method_destructor"> |
|
13157 Widget |
|
13158 </a> |
|
13159 |
|
13160 but overwritten in |
|
13161 |
|
13162 |
|
13163 |
|
13164 <a href="../files/button_js_button.js.html#l223"><code>button/js/button.js:223</code></a> |
|
13165 |
|
13166 </p> |
|
13167 |
|
13168 |
|
13169 |
|
13170 |
|
13171 |
|
13172 </div> |
|
13173 |
|
13174 <div class="description"> |
|
13175 |
|
13176 </div> |
|
13177 |
|
13178 |
|
13179 |
|
13180 |
|
13181 |
|
13182 |
|
13183 </div> |
|
13184 |
|
13185 |
|
13186 <div id="method_detach" class="method item inherited"> |
|
13187 <h3 class="name"><code>detach</code></h3> |
|
13188 |
|
13189 |
|
13190 <div class="args"> |
|
13191 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13192 |
|
13193 <li class="arg"> |
|
13194 |
|
13195 <code>type</code> |
|
13196 |
|
13197 </li> |
|
13198 |
|
13199 <li class="arg"> |
|
13200 |
|
13201 <code>fn</code> |
|
13202 |
|
13203 </li> |
|
13204 |
|
13205 <li class="arg"> |
|
13206 |
|
13207 <code>context</code> |
|
13208 |
|
13209 </li> |
|
13210 |
|
13211 </ul><span class="paren">)</span> |
|
13212 </div> |
|
13213 |
|
13214 |
|
13215 |
|
13216 <span class="returns-inline"> |
|
13217 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
13218 </span> |
|
13219 |
|
13220 |
|
13221 |
|
13222 |
|
13223 |
|
13224 |
|
13225 |
|
13226 |
|
13227 |
|
13228 |
|
13229 |
|
13230 |
|
13231 |
|
13232 |
|
13233 <div class="meta"> |
|
13234 |
|
13235 |
|
13236 <p>Inherited from |
|
13237 <a href="../classes/EventTarget.html#method_detach">EventTarget</a>: |
|
13238 |
|
13239 |
|
13240 |
|
13241 <a href="../files/event-custom_js_event-target.js.html#l346"><code>event-custom/js/event-target.js:346</code></a> |
|
13242 |
|
13243 </p> |
|
13244 |
|
13245 |
|
13246 |
|
13247 |
|
13248 |
|
13249 </div> |
|
13250 |
|
13251 <div class="description"> |
|
13252 <p>Detach one or more listeners the from the specified event</p> |
|
13253 </div> |
|
13254 |
|
13255 |
|
13256 <div class="params"> |
|
13257 <h4>Parameters:</h4> |
|
13258 |
|
13259 <ul class="params-list"> |
|
13260 |
|
13261 <li class="param"> |
|
13262 |
|
13263 <code class="param-name">type</code> |
|
13264 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13265 |
|
13266 |
|
13267 |
|
13268 |
|
13269 <div class="param-description"> |
|
13270 <p>Either the handle to the subscriber or the |
|
13271 type of event. If the type |
|
13272 is not specified, it will attempt to remove |
|
13273 the listener from all hosted events.</p> |
|
13274 </div> |
|
13275 |
|
13276 |
|
13277 </li> |
|
13278 |
|
13279 <li class="param"> |
|
13280 |
|
13281 <code class="param-name">fn</code> |
|
13282 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
13283 |
|
13284 |
|
13285 |
|
13286 |
|
13287 <div class="param-description"> |
|
13288 <p>The subscribed function to unsubscribe, if not |
|
13289 supplied, all subscribers will be removed.</p> |
|
13290 </div> |
|
13291 |
|
13292 |
|
13293 </li> |
|
13294 |
|
13295 <li class="param"> |
|
13296 |
|
13297 <code class="param-name">context</code> |
|
13298 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13299 |
|
13300 |
|
13301 |
|
13302 |
|
13303 <div class="param-description"> |
|
13304 <p>The custom object passed to subscribe. This is |
|
13305 optional, but if supplied will be used to |
|
13306 disambiguate multiple listeners that are the same |
|
13307 (e.g., you subscribe many object using a function |
|
13308 that lives on the prototype)</p> |
|
13309 </div> |
|
13310 |
|
13311 |
|
13312 </li> |
|
13313 |
|
13314 </ul> |
|
13315 </div> |
|
13316 |
|
13317 |
|
13318 |
|
13319 <div class="returns"> |
|
13320 <h4>Returns:</h4> |
|
13321 |
|
13322 <div class="returns-description"> |
|
13323 |
|
13324 |
|
13325 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
13326 |
|
13327 the host |
|
13328 |
|
13329 </div> |
|
13330 </div> |
|
13331 |
|
13332 |
|
13333 |
|
13334 </div> |
|
13335 |
|
13336 |
|
13337 <div id="method_detachAll" class="method item inherited"> |
|
13338 <h3 class="name"><code>detachAll</code></h3> |
|
13339 |
|
13340 |
|
13341 <div class="args"> |
|
13342 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13343 |
|
13344 <li class="arg"> |
|
13345 |
|
13346 <code>type</code> |
|
13347 |
|
13348 </li> |
|
13349 |
|
13350 </ul><span class="paren">)</span> |
|
13351 </div> |
|
13352 |
|
13353 |
|
13354 |
|
13355 |
|
13356 |
|
13357 |
|
13358 |
|
13359 |
|
13360 |
|
13361 |
|
13362 |
|
13363 |
|
13364 |
|
13365 |
|
13366 |
|
13367 |
|
13368 <div class="meta"> |
|
13369 |
|
13370 |
|
13371 <p>Inherited from |
|
13372 <a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>: |
|
13373 |
|
13374 |
|
13375 |
|
13376 <a href="../files/event-custom_js_event-target.js.html#l469"><code>event-custom/js/event-target.js:469</code></a> |
|
13377 |
|
13378 </p> |
|
13379 |
|
13380 |
|
13381 |
|
13382 |
|
13383 |
|
13384 </div> |
|
13385 |
|
13386 <div class="description"> |
|
13387 <p>Removes all listeners from the specified event. If the event type |
|
13388 is not specified, all listeners from all hosted custom events will |
|
13389 be removed.</p> |
|
13390 </div> |
|
13391 |
|
13392 |
|
13393 <div class="params"> |
|
13394 <h4>Parameters:</h4> |
|
13395 |
|
13396 <ul class="params-list"> |
|
13397 |
|
13398 <li class="param"> |
|
13399 |
|
13400 <code class="param-name">type</code> |
|
13401 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13402 |
|
13403 |
|
13404 |
|
13405 |
|
13406 <div class="param-description"> |
|
13407 <p>The type, or name of the event</p> |
|
13408 </div> |
|
13409 |
|
13410 |
|
13411 </li> |
|
13412 |
|
13413 </ul> |
|
13414 </div> |
|
13415 |
|
13416 |
|
13417 |
|
13418 |
|
13419 |
|
13420 </div> |
|
13421 |
|
13422 |
|
13423 <div id="method_disable" class="method item public inherited"> |
|
13424 <h3 class="name"><code>disable</code></h3> |
|
13425 |
|
13426 |
|
13427 <span class="paren">()</span> |
|
13428 |
|
13429 |
|
13430 |
|
13431 |
|
13432 |
|
13433 |
|
13434 |
|
13435 <span class="flag public">public</span> |
|
13436 |
|
13437 |
|
13438 |
|
13439 |
|
13440 |
|
13441 |
|
13442 |
|
13443 |
|
13444 |
|
13445 |
|
13446 <div class="meta"> |
|
13447 |
|
13448 <p>Inherited from |
|
13449 <a href="../classes/Widget.html#method_disable"> |
|
13450 Widget |
|
13451 </a> |
|
13452 |
|
13453 but overwritten in |
|
13454 |
|
13455 |
|
13456 |
|
13457 <a href="../files/button_js_core.js.html#l107"><code>button/js/core.js:107</code></a> |
|
13458 |
|
13459 </p> |
|
13460 |
|
13461 |
|
13462 |
|
13463 |
|
13464 |
|
13465 </div> |
|
13466 |
|
13467 <div class="description"> |
|
13468 <p>Sets the button's <code>disabled</code> DOM attribute to true</p> |
|
13469 </div> |
|
13470 |
|
13471 |
|
13472 |
|
13473 |
|
13474 |
|
13475 |
|
13476 </div> |
|
13477 |
|
13478 |
|
13479 <div id="method_enable" class="method item public inherited"> |
|
13480 <h3 class="name"><code>enable</code></h3> |
|
13481 |
|
13482 |
|
13483 <span class="paren">()</span> |
|
13484 |
|
13485 |
|
13486 |
|
13487 |
|
13488 |
|
13489 |
|
13490 |
|
13491 <span class="flag public">public</span> |
|
13492 |
|
13493 |
|
13494 |
|
13495 |
|
13496 |
|
13497 |
|
13498 |
|
13499 |
|
13500 |
|
13501 |
|
13502 <div class="meta"> |
|
13503 |
|
13504 <p>Inherited from |
|
13505 <a href="../classes/Widget.html#method_enable"> |
|
13506 Widget |
|
13507 </a> |
|
13508 |
|
13509 but overwritten in |
|
13510 |
|
13511 |
|
13512 |
|
13513 <a href="../files/button_js_core.js.html#l98"><code>button/js/core.js:98</code></a> |
|
13514 |
|
13515 </p> |
|
13516 |
|
13517 |
|
13518 |
|
13519 |
|
13520 |
|
13521 </div> |
|
13522 |
|
13523 <div class="description"> |
|
13524 <p>Sets the button's <code>disabled</code> DOM attribute to false</p> |
|
13525 </div> |
|
13526 |
|
13527 |
|
13528 |
|
13529 |
|
13530 |
|
13531 |
|
13532 </div> |
|
13533 |
|
13534 |
|
13535 <div id="method_fire" class="method item inherited"> |
|
13536 <h3 class="name"><code>fire</code></h3> |
|
13537 |
|
13538 |
|
13539 <div class="args"> |
|
13540 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13541 |
|
13542 <li class="arg"> |
|
13543 |
|
13544 <code>type</code> |
|
13545 |
|
13546 </li> |
|
13547 |
|
13548 <li class="arg"> |
|
13549 |
|
13550 <code>arguments</code> |
|
13551 |
|
13552 </li> |
|
13553 |
|
13554 </ul><span class="paren">)</span> |
|
13555 </div> |
|
13556 |
|
13557 |
|
13558 |
|
13559 <span class="returns-inline"> |
|
13560 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
13561 </span> |
|
13562 |
|
13563 |
|
13564 |
|
13565 |
|
13566 |
|
13567 |
|
13568 |
|
13569 |
|
13570 |
|
13571 |
|
13572 |
|
13573 |
|
13574 |
|
13575 |
|
13576 <div class="meta"> |
|
13577 |
|
13578 |
|
13579 <p>Inherited from |
|
13580 <a href="../classes/EventTarget.html#method_fire">EventTarget</a>: |
|
13581 |
|
13582 |
|
13583 |
|
13584 <a href="../files/event-custom_js_event-target.js.html#l695"><code>event-custom/js/event-target.js:695</code></a> |
|
13585 |
|
13586 </p> |
|
13587 |
|
13588 |
|
13589 |
|
13590 |
|
13591 |
|
13592 </div> |
|
13593 |
|
13594 <div class="description"> |
|
13595 <p>Fire a custom event by name. The callback functions will be executed |
|
13596 from the context specified when the event was created, and with the |
|
13597 following parameters.</p> |
|
13598 |
|
13599 <p>If the custom event object hasn't been created, then the event hasn't |
|
13600 been published and it has no subscribers. For performance sake, we |
|
13601 immediate exit in this case. This means the event won't bubble, so |
|
13602 if the intention is that a bubble target be notified, the event must |
|
13603 be published on this object first.</p> |
|
13604 |
|
13605 <p>The first argument is the event type, and any additional arguments are |
|
13606 passed to the listeners as parameters. If the first of these is an |
|
13607 object literal, and the event is configured to emit an event facade, |
|
13608 that object is mixed into the event facade and the facade is provided |
|
13609 in place of the original object.</p> |
|
13610 </div> |
|
13611 |
|
13612 |
|
13613 <div class="params"> |
|
13614 <h4>Parameters:</h4> |
|
13615 |
|
13616 <ul class="params-list"> |
|
13617 |
|
13618 <li class="param"> |
|
13619 |
|
13620 <code class="param-name">type</code> |
|
13621 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13622 |
|
13623 |
|
13624 |
|
13625 |
|
13626 <div class="param-description"> |
|
13627 <p>The type of the event, or an object that contains |
|
13628 a 'type' property.</p> |
|
13629 </div> |
|
13630 |
|
13631 |
|
13632 </li> |
|
13633 |
|
13634 <li class="param"> |
|
13635 |
|
13636 <code class="param-name">arguments</code> |
|
13637 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span> |
|
13638 |
|
13639 |
|
13640 |
|
13641 |
|
13642 <div class="param-description"> |
|
13643 <p>an arbitrary set of parameters to pass to |
|
13644 the handler. If the first of these is an object literal and the event is |
|
13645 configured to emit an event facade, the event facade will replace that |
|
13646 parameter after the properties the object literal contains are copied to |
|
13647 the event facade.</p> |
|
13648 </div> |
|
13649 |
|
13650 |
|
13651 </li> |
|
13652 |
|
13653 </ul> |
|
13654 </div> |
|
13655 |
|
13656 |
|
13657 |
|
13658 <div class="returns"> |
|
13659 <h4>Returns:</h4> |
|
13660 |
|
13661 <div class="returns-description"> |
|
13662 |
|
13663 |
|
13664 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>: |
|
13665 |
|
13666 the event host |
|
13667 |
|
13668 </div> |
|
13669 </div> |
|
13670 |
|
13671 |
|
13672 |
|
13673 </div> |
|
13674 |
|
13675 |
|
13676 <div id="method_focus" class="method item inherited"> |
|
13677 <h3 class="name"><code>focus</code></h3> |
|
13678 |
|
13679 |
|
13680 <span class="paren">()</span> |
|
13681 |
|
13682 |
|
13683 |
|
13684 |
|
13685 |
|
13686 |
|
13687 |
|
13688 |
|
13689 |
|
13690 |
|
13691 |
|
13692 |
|
13693 |
|
13694 <span class="flag chainable">chainable</span> |
|
13695 |
|
13696 |
|
13697 |
|
13698 |
|
13699 <div class="meta"> |
|
13700 |
|
13701 |
|
13702 <p>Inherited from |
|
13703 <a href="../classes/Widget.html#method_focus">Widget</a>: |
|
13704 |
|
13705 |
|
13706 |
|
13707 <a href="../files/widget_js_Widget.js.html#l663"><code>widget/js/Widget.js:663</code></a> |
|
13708 |
|
13709 </p> |
|
13710 |
|
13711 |
|
13712 |
|
13713 |
|
13714 |
|
13715 </div> |
|
13716 |
|
13717 <div class="description"> |
|
13718 <p>Causes the Widget to receive the focus by setting the "focused" |
|
13719 attribute to "true".</p> |
|
13720 </div> |
|
13721 |
|
13722 |
|
13723 |
|
13724 |
|
13725 |
|
13726 |
|
13727 </div> |
|
13728 |
|
13729 |
|
13730 <div id="method_get" class="method item inherited"> |
|
13731 <h3 class="name"><code>get</code></h3> |
|
13732 |
|
13733 |
|
13734 <div class="args"> |
|
13735 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13736 |
|
13737 <li class="arg"> |
|
13738 |
|
13739 <code>name</code> |
|
13740 |
|
13741 </li> |
|
13742 |
|
13743 </ul><span class="paren">)</span> |
|
13744 </div> |
|
13745 |
|
13746 |
|
13747 |
|
13748 <span class="returns-inline"> |
|
13749 <span class="type">Any</span> |
|
13750 </span> |
|
13751 |
|
13752 |
|
13753 |
|
13754 |
|
13755 |
|
13756 |
|
13757 |
|
13758 |
|
13759 |
|
13760 |
|
13761 |
|
13762 |
|
13763 |
|
13764 |
|
13765 <div class="meta"> |
|
13766 |
|
13767 |
|
13768 <p>Inherited from |
|
13769 <a href="../classes/AttributeCore.html#method_get">AttributeCore</a>: |
|
13770 |
|
13771 |
|
13772 |
|
13773 <a href="../files/attribute_js_AttributeCore.js.html#l353"><code>attribute/js/AttributeCore.js:353</code></a> |
|
13774 |
|
13775 </p> |
|
13776 |
|
13777 |
|
13778 |
|
13779 |
|
13780 |
|
13781 </div> |
|
13782 |
|
13783 <div class="description"> |
|
13784 <p>Returns the current value of the attribute. If the attribute |
|
13785 has been configured with a 'getter' function, this method will delegate |
|
13786 to the 'getter' to obtain the value of the attribute.</p> |
|
13787 </div> |
|
13788 |
|
13789 |
|
13790 <div class="params"> |
|
13791 <h4>Parameters:</h4> |
|
13792 |
|
13793 <ul class="params-list"> |
|
13794 |
|
13795 <li class="param"> |
|
13796 |
|
13797 <code class="param-name">name</code> |
|
13798 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
13799 |
|
13800 |
|
13801 |
|
13802 |
|
13803 <div class="param-description"> |
|
13804 <p>The name of the attribute. If the value of the attribute is an Object, |
|
13805 dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p> |
|
13806 </div> |
|
13807 |
|
13808 |
|
13809 </li> |
|
13810 |
|
13811 </ul> |
|
13812 </div> |
|
13813 |
|
13814 |
|
13815 |
|
13816 <div class="returns"> |
|
13817 <h4>Returns:</h4> |
|
13818 |
|
13819 <div class="returns-description"> |
|
13820 |
|
13821 |
|
13822 <span class="type">Any</span>: |
|
13823 |
|
13824 The value of the attribute |
|
13825 |
|
13826 </div> |
|
13827 </div> |
|
13828 |
|
13829 |
|
13830 |
|
13831 </div> |
|
13832 |
|
13833 |
|
13834 <div id="method_getAttrs" class="method item inherited"> |
|
13835 <h3 class="name"><code>getAttrs</code></h3> |
|
13836 |
|
13837 |
|
13838 <div class="args"> |
|
13839 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13840 |
|
13841 <li class="arg"> |
|
13842 |
|
13843 <code>attrs</code> |
|
13844 |
|
13845 </li> |
|
13846 |
|
13847 </ul><span class="paren">)</span> |
|
13848 </div> |
|
13849 |
|
13850 |
|
13851 |
|
13852 <span class="returns-inline"> |
|
13853 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
13854 </span> |
|
13855 |
|
13856 |
|
13857 |
|
13858 |
|
13859 |
|
13860 |
|
13861 |
|
13862 |
|
13863 |
|
13864 |
|
13865 |
|
13866 |
|
13867 |
|
13868 |
|
13869 <div class="meta"> |
|
13870 |
|
13871 |
|
13872 <p>Inherited from |
|
13873 <a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>: |
|
13874 |
|
13875 |
|
13876 |
|
13877 <a href="../files/attribute_js_AttributeCore.js.html#l762"><code>attribute/js/AttributeCore.js:762</code></a> |
|
13878 |
|
13879 </p> |
|
13880 |
|
13881 |
|
13882 |
|
13883 |
|
13884 |
|
13885 </div> |
|
13886 |
|
13887 <div class="description"> |
|
13888 <p>Gets multiple attribute values.</p> |
|
13889 </div> |
|
13890 |
|
13891 |
|
13892 <div class="params"> |
|
13893 <h4>Parameters:</h4> |
|
13894 |
|
13895 <ul class="params-list"> |
|
13896 |
|
13897 <li class="param"> |
|
13898 |
|
13899 <code class="param-name">attrs</code> |
|
13900 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span> |
|
13901 |
|
13902 |
|
13903 |
|
13904 |
|
13905 <div class="param-description"> |
|
13906 <p>Optional. An array of attribute names. If omitted, all attribute values are |
|
13907 returned. If set to true, all attributes modified from their initial values are returned.</p> |
|
13908 </div> |
|
13909 |
|
13910 |
|
13911 </li> |
|
13912 |
|
13913 </ul> |
|
13914 </div> |
|
13915 |
|
13916 |
|
13917 |
|
13918 <div class="returns"> |
|
13919 <h4>Returns:</h4> |
|
13920 |
|
13921 <div class="returns-description"> |
|
13922 |
|
13923 |
|
13924 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
13925 |
|
13926 An object with attribute name/value pairs. |
|
13927 |
|
13928 </div> |
|
13929 </div> |
|
13930 |
|
13931 |
|
13932 |
|
13933 </div> |
|
13934 |
|
13935 |
|
13936 <div id="method_getClassName" class="method item inherited"> |
|
13937 <h3 class="name"><code>getClassName</code></h3> |
|
13938 |
|
13939 |
|
13940 <div class="args"> |
|
13941 <span class="paren">(</span><ul class="args-list inline commas"> |
|
13942 |
|
13943 <li class="arg"> |
|
13944 |
|
13945 <code>args</code> |
|
13946 |
|
13947 </li> |
|
13948 |
|
13949 </ul><span class="paren">)</span> |
|
13950 </div> |
|
13951 |
|
13952 |
|
13953 |
|
13954 |
|
13955 |
|
13956 |
|
13957 |
|
13958 |
|
13959 |
|
13960 |
|
13961 |
|
13962 |
|
13963 |
|
13964 |
|
13965 |
|
13966 |
|
13967 <div class="meta"> |
|
13968 |
|
13969 <p>Inherited from |
|
13970 <a href="../classes/Widget.html#method_getClassName"> |
|
13971 Widget |
|
13972 </a> |
|
13973 |
|
13974 but overwritten in |
|
13975 |
|
13976 |
|
13977 |
|
13978 <a href="../files/widget_js_Widget.js.html#l309"><code>widget/js/Widget.js:309</code></a> |
|
13979 |
|
13980 </p> |
|
13981 |
|
13982 |
|
13983 |
|
13984 |
|
13985 |
|
13986 </div> |
|
13987 |
|
13988 <div class="description"> |
|
13989 <p>Generate a standard prefixed classname for the Widget, prefixed by the default prefix defined |
|
13990 by the <code>Y.config.classNamePrefix</code> attribute used by <code>ClassNameManager</code> and |
|
13991 <code>Widget.NAME.toLowerCase()</code> (e.g. "yui-widget-xxxxx-yyyyy", based on default values for |
|
13992 the prefix and widget class name).</p> |
|
13993 |
|
13994 <p> |
|
13995 The instance based version of this method can be used to generate standard prefixed classnames, |
|
13996 based on the instances NAME, as opposed to Widget.NAME. This method should be used when you |
|
13997 need to use a constant class name across different types instances. |
|
13998 </p> |
|
13999 </div> |
|
14000 |
|
14001 |
|
14002 <div class="params"> |
|
14003 <h4>Parameters:</h4> |
|
14004 |
|
14005 <ul class="params-list"> |
|
14006 |
|
14007 <li class="param"> |
|
14008 |
|
14009 <code class="param-name">args</code> |
|
14010 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String*</a></span> |
|
14011 |
|
14012 |
|
14013 |
|
14014 <span class="flag multiple" title="This argument may occur one or more times.">multiple</span> |
|
14015 |
|
14016 |
|
14017 <div class="param-description"> |
|
14018 <p>0..n strings which should be concatenated, using the default separator defined by ClassNameManager, to create the class name</p> |
|
14019 </div> |
|
14020 |
|
14021 |
|
14022 </li> |
|
14023 |
|
14024 </ul> |
|
14025 </div> |
|
14026 |
|
14027 |
|
14028 |
|
14029 |
|
14030 |
|
14031 </div> |
|
14032 |
|
14033 |
|
14034 <div id="method_getDefaultLocale" class="method item inherited"> |
|
14035 <h3 class="name"><code>getDefaultLocale</code></h3> |
|
14036 |
|
14037 |
|
14038 <span class="paren">()</span> |
|
14039 |
|
14040 |
|
14041 |
|
14042 <span class="returns-inline"> |
|
14043 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14044 </span> |
|
14045 |
|
14046 |
|
14047 |
|
14048 |
|
14049 |
|
14050 |
|
14051 |
|
14052 |
|
14053 |
|
14054 |
|
14055 |
|
14056 |
|
14057 |
|
14058 |
|
14059 <div class="meta"> |
|
14060 |
|
14061 |
|
14062 <p>Inherited from |
|
14063 <a href="../classes/Widget.html#method_getDefaultLocale">Widget</a>: |
|
14064 |
|
14065 |
|
14066 |
|
14067 <a href="../files/widget_js_WidgetLocale.js.html#l153"><code>widget/js/WidgetLocale.js:153</code></a> |
|
14068 |
|
14069 </p> |
|
14070 |
|
14071 |
|
14072 |
|
14073 |
|
14074 |
|
14075 </div> |
|
14076 |
|
14077 <div class="description"> |
|
14078 <p>Returns the default locale for the widget (the locale value defined by the |
|
14079 widget class, or provided by the user during construction).</p> |
|
14080 </div> |
|
14081 |
|
14082 |
|
14083 |
|
14084 |
|
14085 <div class="returns"> |
|
14086 <h4>Returns:</h4> |
|
14087 |
|
14088 <div class="returns-description"> |
|
14089 |
|
14090 |
|
14091 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
14092 |
|
14093 The default locale for the widget |
|
14094 |
|
14095 </div> |
|
14096 </div> |
|
14097 |
|
14098 |
|
14099 |
|
14100 </div> |
|
14101 |
|
14102 |
|
14103 <div id="method_getEvent" class="method item inherited"> |
|
14104 <h3 class="name"><code>getEvent</code></h3> |
|
14105 |
|
14106 |
|
14107 <div class="args"> |
|
14108 <span class="paren">(</span><ul class="args-list inline commas"> |
|
14109 |
|
14110 <li class="arg"> |
|
14111 |
|
14112 <code>type</code> |
|
14113 |
|
14114 </li> |
|
14115 |
|
14116 <li class="arg"> |
|
14117 |
|
14118 <code>prefixed</code> |
|
14119 |
|
14120 </li> |
|
14121 |
|
14122 </ul><span class="paren">)</span> |
|
14123 </div> |
|
14124 |
|
14125 |
|
14126 |
|
14127 <span class="returns-inline"> |
|
14128 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
14129 </span> |
|
14130 |
|
14131 |
|
14132 |
|
14133 |
|
14134 |
|
14135 |
|
14136 |
|
14137 |
|
14138 |
|
14139 |
|
14140 |
|
14141 |
|
14142 |
|
14143 |
|
14144 <div class="meta"> |
|
14145 |
|
14146 |
|
14147 <p>Inherited from |
|
14148 <a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>: |
|
14149 |
|
14150 |
|
14151 |
|
14152 <a href="../files/event-custom_js_event-target.js.html#l814"><code>event-custom/js/event-target.js:814</code></a> |
|
14153 |
|
14154 </p> |
|
14155 |
|
14156 |
|
14157 |
|
14158 |
|
14159 |
|
14160 </div> |
|
14161 |
|
14162 <div class="description"> |
|
14163 <p>Returns the custom event of the provided type has been created, a |
|
14164 falsy value otherwise</p> |
|
14165 </div> |
|
14166 |
|
14167 |
|
14168 <div class="params"> |
|
14169 <h4>Parameters:</h4> |
|
14170 |
|
14171 <ul class="params-list"> |
|
14172 |
|
14173 <li class="param"> |
|
14174 |
|
14175 <code class="param-name">type</code> |
|
14176 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14177 |
|
14178 |
|
14179 |
|
14180 |
|
14181 <div class="param-description"> |
|
14182 <p>the type, or name of the event</p> |
|
14183 </div> |
|
14184 |
|
14185 |
|
14186 </li> |
|
14187 |
|
14188 <li class="param"> |
|
14189 |
|
14190 <code class="param-name">prefixed</code> |
|
14191 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14192 |
|
14193 |
|
14194 |
|
14195 |
|
14196 <div class="param-description"> |
|
14197 <p>if true, the type is prefixed already</p> |
|
14198 </div> |
|
14199 |
|
14200 |
|
14201 </li> |
|
14202 |
|
14203 </ul> |
|
14204 </div> |
|
14205 |
|
14206 |
|
14207 |
|
14208 <div class="returns"> |
|
14209 <h4>Returns:</h4> |
|
14210 |
|
14211 <div class="returns-description"> |
|
14212 |
|
14213 |
|
14214 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
14215 |
|
14216 the custom event or null |
|
14217 |
|
14218 </div> |
|
14219 </div> |
|
14220 |
|
14221 |
|
14222 |
|
14223 </div> |
|
14224 |
|
14225 |
|
14226 <div id="method_getNode" class="method item public inherited"> |
|
14227 <h3 class="name"><code>getNode</code></h3> |
|
14228 |
|
14229 |
|
14230 <span class="paren">()</span> |
|
14231 |
|
14232 |
|
14233 |
|
14234 |
|
14235 |
|
14236 |
|
14237 |
|
14238 <span class="flag public">public</span> |
|
14239 |
|
14240 |
|
14241 |
|
14242 |
|
14243 |
|
14244 |
|
14245 |
|
14246 |
|
14247 |
|
14248 |
|
14249 <div class="meta"> |
|
14250 |
|
14251 |
|
14252 <p>Inherited from |
|
14253 <a href="../classes/ButtonCore.html#method_getNode">ButtonCore</a>: |
|
14254 |
|
14255 |
|
14256 |
|
14257 <a href="../files/button_js_core.js.html#l116"><code>button/js/core.js:116</code></a> |
|
14258 |
|
14259 </p> |
|
14260 |
|
14261 |
|
14262 |
|
14263 |
|
14264 |
|
14265 </div> |
|
14266 |
|
14267 <div class="description"> |
|
14268 <p>Gets the host DOM node for this button instance</p> |
|
14269 </div> |
|
14270 |
|
14271 |
|
14272 |
|
14273 |
|
14274 |
|
14275 |
|
14276 </div> |
|
14277 |
|
14278 |
|
14279 <div id="method_getSkinName" class="method item inherited"> |
|
14280 <h3 class="name"><code>getSkinName</code></h3> |
|
14281 |
|
14282 |
|
14283 <div class="args"> |
|
14284 <span class="paren">(</span><ul class="args-list inline commas"> |
|
14285 |
|
14286 <li class="arg"> |
|
14287 |
|
14288 <code class="optional">[skinPrefix]</code> |
|
14289 |
|
14290 </li> |
|
14291 |
|
14292 </ul><span class="paren">)</span> |
|
14293 </div> |
|
14294 |
|
14295 |
|
14296 |
|
14297 <span class="returns-inline"> |
|
14298 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14299 </span> |
|
14300 |
|
14301 |
|
14302 |
|
14303 |
|
14304 |
|
14305 |
|
14306 |
|
14307 |
|
14308 |
|
14309 |
|
14310 |
|
14311 |
|
14312 |
|
14313 |
|
14314 <div class="meta"> |
|
14315 |
|
14316 |
|
14317 <p>Inherited from |
|
14318 <a href="../classes/Widget.html#method_getSkinName">Widget</a>: |
|
14319 |
|
14320 |
|
14321 |
|
14322 <a href="../files/widget_js_WidgetSkin.js.html#l12"><code>widget/js/WidgetSkin.js:12</code></a> |
|
14323 |
|
14324 </p> |
|
14325 |
|
14326 |
|
14327 |
|
14328 |
|
14329 |
|
14330 </div> |
|
14331 |
|
14332 <div class="description"> |
|
14333 <p>Returns the name of the skin that's currently applied to the widget.</p> |
|
14334 |
|
14335 <p>Searches up the Widget's ancestor axis for, by default, a class |
|
14336 yui3-skin-(name), and returns the (name) portion. Otherwise, returns null.</p> |
|
14337 |
|
14338 <p>This is only really useful after the widget's DOM structure is in the |
|
14339 document, either by render or by progressive enhancement.</p> |
|
14340 </div> |
|
14341 |
|
14342 |
|
14343 <div class="params"> |
|
14344 <h4>Parameters:</h4> |
|
14345 |
|
14346 <ul class="params-list"> |
|
14347 |
|
14348 <li class="param"> |
|
14349 |
|
14350 <code class="param-name optional">[skinPrefix]</code> |
|
14351 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14352 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
14353 |
|
14354 |
|
14355 |
|
14356 |
|
14357 <div class="param-description"> |
|
14358 <p>The prefix which the implementation uses for the skin |
|
14359 ("yui3-skin-" is the default).</p> |
|
14360 |
|
14361 <p>NOTE: skinPrefix will be used as part of a regular expression:</p> |
|
14362 |
|
14363 <pre><code>new RegExp('\\b' + skinPrefix + '(\\S+)') |
|
14364 </code></pre> |
|
14365 |
|
14366 <p>Although an unlikely use case, literal characters which may result in an invalid |
|
14367 regular expression should be escaped.</p> |
|
14368 </div> |
|
14369 |
|
14370 |
|
14371 </li> |
|
14372 |
|
14373 </ul> |
|
14374 </div> |
|
14375 |
|
14376 |
|
14377 |
|
14378 <div class="returns"> |
|
14379 <h4>Returns:</h4> |
|
14380 |
|
14381 <div class="returns-description"> |
|
14382 |
|
14383 |
|
14384 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
14385 |
|
14386 The name of the skin, or null, if a matching skin class is not found. |
|
14387 |
|
14388 </div> |
|
14389 </div> |
|
14390 |
|
14391 |
|
14392 |
|
14393 </div> |
|
14394 |
|
14395 |
|
14396 <div id="method_getString" class="method item deprecated inherited"> |
|
14397 <h3 class="name"><code>getString</code></h3> |
|
14398 |
|
14399 |
|
14400 <div class="args"> |
|
14401 <span class="paren">(</span><ul class="args-list inline commas"> |
|
14402 |
|
14403 <li class="arg"> |
|
14404 |
|
14405 <code>key</code> |
|
14406 |
|
14407 </li> |
|
14408 |
|
14409 </ul><span class="paren">)</span> |
|
14410 </div> |
|
14411 |
|
14412 |
|
14413 |
|
14414 <span class="returns-inline"> |
|
14415 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14416 </span> |
|
14417 |
|
14418 |
|
14419 |
|
14420 <span class="flag deprecated" title="Used by deprecated WidgetLocale implementations.">deprecated</span> |
|
14421 |
|
14422 |
|
14423 |
|
14424 |
|
14425 |
|
14426 |
|
14427 |
|
14428 |
|
14429 |
|
14430 |
|
14431 |
|
14432 |
|
14433 <div class="meta"> |
|
14434 |
|
14435 <p>Inherited from |
|
14436 <a href="../classes/Widget.html#method_getString"> |
|
14437 Widget |
|
14438 </a> |
|
14439 |
|
14440 but overwritten in |
|
14441 |
|
14442 |
|
14443 |
|
14444 <a href="../files/widget_js_Widget.js.html#l1225"><code>widget/js/Widget.js:1225</code></a> |
|
14445 |
|
14446 </p> |
|
14447 |
|
14448 |
|
14449 |
|
14450 <p>Deprecated: Used by deprecated WidgetLocale implementations.</p> |
|
14451 |
|
14452 |
|
14453 |
|
14454 </div> |
|
14455 |
|
14456 <div class="description"> |
|
14457 <p>Helper method to get a specific string value</p> |
|
14458 </div> |
|
14459 |
|
14460 |
|
14461 <div class="params"> |
|
14462 <h4>Parameters:</h4> |
|
14463 |
|
14464 <ul class="params-list"> |
|
14465 |
|
14466 <li class="param"> |
|
14467 |
|
14468 <code class="param-name">key</code> |
|
14469 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14470 |
|
14471 |
|
14472 |
|
14473 |
|
14474 <div class="param-description"> |
|
14475 |
|
14476 </div> |
|
14477 |
|
14478 |
|
14479 </li> |
|
14480 |
|
14481 </ul> |
|
14482 </div> |
|
14483 |
|
14484 |
|
14485 |
|
14486 <div class="returns"> |
|
14487 <h4>Returns:</h4> |
|
14488 |
|
14489 <div class="returns-description"> |
|
14490 |
|
14491 |
|
14492 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
14493 |
|
14494 The string |
|
14495 |
|
14496 </div> |
|
14497 </div> |
|
14498 |
|
14499 |
|
14500 |
|
14501 </div> |
|
14502 |
|
14503 |
|
14504 <div id="method_getStrings" class="method item deprecated inherited"> |
|
14505 <h3 class="name"><code>getStrings</code></h3> |
|
14506 |
|
14507 |
|
14508 <div class="args"> |
|
14509 <span class="paren">(</span><ul class="args-list inline commas"> |
|
14510 |
|
14511 <li class="arg"> |
|
14512 |
|
14513 <code>key</code> |
|
14514 |
|
14515 </li> |
|
14516 |
|
14517 </ul><span class="paren">)</span> |
|
14518 </div> |
|
14519 |
|
14520 |
|
14521 |
|
14522 <span class="returns-inline"> |
|
14523 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14524 </span> |
|
14525 |
|
14526 |
|
14527 |
|
14528 <span class="flag deprecated" title="Used by deprecated WidgetLocale implementations.">deprecated</span> |
|
14529 |
|
14530 |
|
14531 |
|
14532 |
|
14533 |
|
14534 |
|
14535 |
|
14536 |
|
14537 |
|
14538 |
|
14539 |
|
14540 |
|
14541 <div class="meta"> |
|
14542 |
|
14543 <p>Inherited from |
|
14544 <a href="../classes/Widget.html#method_getStrings"> |
|
14545 Widget |
|
14546 </a> |
|
14547 |
|
14548 but overwritten in |
|
14549 |
|
14550 |
|
14551 |
|
14552 <a href="../files/widget_js_Widget.js.html#l1237"><code>widget/js/Widget.js:1237</code></a> |
|
14553 |
|
14554 </p> |
|
14555 |
|
14556 |
|
14557 |
|
14558 <p>Deprecated: Used by deprecated WidgetLocale implementations.</p> |
|
14559 |
|
14560 |
|
14561 |
|
14562 </div> |
|
14563 |
|
14564 <div class="description"> |
|
14565 <p>Helper method to get the complete set of strings for the widget</p> |
|
14566 </div> |
|
14567 |
|
14568 |
|
14569 <div class="params"> |
|
14570 <h4>Parameters:</h4> |
|
14571 |
|
14572 <ul class="params-list"> |
|
14573 |
|
14574 <li class="param"> |
|
14575 |
|
14576 <code class="param-name">key</code> |
|
14577 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
14578 |
|
14579 |
|
14580 |
|
14581 |
|
14582 <div class="param-description"> |
|
14583 |
|
14584 </div> |
|
14585 |
|
14586 |
|
14587 </li> |
|
14588 |
|
14589 </ul> |
|
14590 </div> |
|
14591 |
|
14592 |
|
14593 |
|
14594 <div class="returns"> |
|
14595 <h4>Returns:</h4> |
|
14596 |
|
14597 <div class="returns-description"> |
|
14598 |
|
14599 |
|
14600 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
14601 |
|
14602 The strings |
|
14603 |
|
14604 </div> |
|
14605 </div> |
|
14606 |
|
14607 |
|
14608 |
|
14609 </div> |
|
14610 |
|
14611 |
|
14612 <div id="method_getTargets" class="method item inherited"> |
|
14613 <h3 class="name"><code>getTargets</code></h3> |
|
14614 |
|
14615 |
|
14616 <span class="paren">()</span> |
|
14617 |
|
14618 |
|
14619 |
|
14620 <span class="returns-inline"> |
|
14621 <span class="type"></span> |
|
14622 </span> |
|
14623 |
|
14624 |
|
14625 |
|
14626 |
|
14627 |
|
14628 |
|
14629 |
|
14630 |
|
14631 |
|
14632 |
|
14633 |
|
14634 |
|
14635 |
|
14636 |
|
14637 <div class="meta"> |
|
14638 |
|
14639 |
|
14640 <p>Inherited from |
|
14641 <a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>: |
|
14642 |
|
14643 |
|
14644 |
|
14645 <a href="../files/event-custom_js_event-facade.js.html#l479"><code>event-custom/js/event-facade.js:479</code></a> |
|
14646 |
|
14647 </p> |
|
14648 |
|
14649 |
|
14650 |
|
14651 |
|
14652 |
|
14653 </div> |
|
14654 |
|
14655 <div class="description"> |
|
14656 <p>Returns an array of bubble targets for this object.</p> |
|
14657 </div> |
|
14658 |
|
14659 |
|
14660 |
|
14661 |
|
14662 <div class="returns"> |
|
14663 <h4>Returns:</h4> |
|
14664 |
|
14665 <div class="returns-description"> |
|
14666 |
|
14667 |
|
14668 EventTarget[] |
|
14669 |
|
14670 </div> |
|
14671 </div> |
|
14672 |
|
14673 |
|
14674 |
|
14675 </div> |
|
14676 |
|
14677 |
|
14678 <div id="method_hide" class="method item inherited"> |
|
14679 <h3 class="name"><code>hide</code></h3> |
|
14680 |
|
14681 |
|
14682 <span class="paren">()</span> |
|
14683 |
|
14684 |
|
14685 |
|
14686 |
|
14687 |
|
14688 |
|
14689 |
|
14690 |
|
14691 |
|
14692 |
|
14693 |
|
14694 |
|
14695 |
|
14696 <span class="flag chainable">chainable</span> |
|
14697 |
|
14698 |
|
14699 |
|
14700 |
|
14701 <div class="meta"> |
|
14702 |
|
14703 |
|
14704 <p>Inherited from |
|
14705 <a href="../classes/Widget.html#method_hide">Widget</a>: |
|
14706 |
|
14707 |
|
14708 |
|
14709 <a href="../files/widget_js_Widget.js.html#l645"><code>widget/js/Widget.js:645</code></a> |
|
14710 |
|
14711 </p> |
|
14712 |
|
14713 |
|
14714 |
|
14715 |
|
14716 |
|
14717 </div> |
|
14718 |
|
14719 <div class="description"> |
|
14720 <p>Hides the Widget by setting the "visible" attribute to "false".</p> |
|
14721 </div> |
|
14722 |
|
14723 |
|
14724 |
|
14725 |
|
14726 |
|
14727 |
|
14728 </div> |
|
14729 |
|
14730 |
|
14731 <div id="method_init" class="method item inherited"> |
|
14732 <h3 class="name"><code>init</code></h3> |
|
14733 |
|
14734 |
|
14735 <div class="args"> |
|
14736 <span class="paren">(</span><ul class="args-list inline commas"> |
|
14737 |
|
14738 <li class="arg"> |
|
14739 |
|
14740 <code>cfg</code> |
|
14741 |
|
14742 </li> |
|
14743 |
|
14744 </ul><span class="paren">)</span> |
|
14745 </div> |
|
14746 |
|
14747 |
|
14748 |
|
14749 <span class="returns-inline"> |
|
14750 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span> |
|
14751 </span> |
|
14752 |
|
14753 |
|
14754 |
|
14755 |
|
14756 |
|
14757 |
|
14758 |
|
14759 |
|
14760 |
|
14761 |
|
14762 |
|
14763 <span class="flag chainable">chainable</span> |
|
14764 |
|
14765 |
|
14766 |
|
14767 |
|
14768 <div class="meta"> |
|
14769 |
|
14770 <p>Inherited from |
|
14771 <a href="../classes/BaseObservable.html#method_init"> |
|
14772 BaseObservable |
|
14773 </a> |
|
14774 |
|
14775 but overwritten in |
|
14776 |
|
14777 |
|
14778 |
|
14779 <a href="../files/base_js_BaseCore.js.html#l264"><code>base/js/BaseCore.js:264</code></a> |
|
14780 |
|
14781 </p> |
|
14782 |
|
14783 |
|
14784 |
|
14785 |
|
14786 |
|
14787 </div> |
|
14788 |
|
14789 <div class="description"> |
|
14790 <p>Init lifecycle method, invoked during construction. Sets up attributes |
|
14791 and invokes initializers for the class hierarchy.</p> |
|
14792 </div> |
|
14793 |
|
14794 |
|
14795 <div class="params"> |
|
14796 <h4>Parameters:</h4> |
|
14797 |
|
14798 <ul class="params-list"> |
|
14799 |
|
14800 <li class="param"> |
|
14801 |
|
14802 <code class="param-name">cfg</code> |
|
14803 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
14804 |
|
14805 |
|
14806 |
|
14807 |
|
14808 <div class="param-description"> |
|
14809 <p>Object with configuration property name/value pairs</p> |
|
14810 </div> |
|
14811 |
|
14812 |
|
14813 </li> |
|
14814 |
|
14815 </ul> |
|
14816 </div> |
|
14817 |
|
14818 |
|
14819 |
|
14820 <div class="returns"> |
|
14821 <h4>Returns:</h4> |
|
14822 |
|
14823 <div class="returns-description"> |
|
14824 |
|
14825 |
|
14826 <span class="type"><a href="../classes/BaseCore.html" class="crosslink">BaseCore</a></span>: |
|
14827 |
|
14828 A reference to this object |
|
14829 |
|
14830 </div> |
|
14831 </div> |
|
14832 |
|
14833 |
|
14834 |
|
14835 </div> |
|
14836 |
|
14837 |
|
14838 <div id="method_initializer" class="method item"> |
|
14839 <h3 class="name"><code>initializer</code></h3> |
|
14840 |
|
14841 |
|
14842 <span class="paren">()</span> |
|
14843 |
|
14844 |
|
14845 |
|
14846 |
|
14847 |
|
14848 |
|
14849 |
|
14850 |
|
14851 |
|
14852 |
|
14853 |
|
14854 |
|
14855 |
|
14856 |
|
14857 |
|
14858 |
|
14859 <div class="meta"> |
|
14860 |
|
14861 <p>Inherited from |
|
14862 <a href="../classes/Widget.html#method_initializer"> |
|
14863 Widget |
|
14864 </a> |
|
14865 |
|
14866 but overwritten in |
|
14867 |
|
14868 |
|
14869 |
|
14870 <a href="../files/button_js_button.js.html#l205"><code>button/js/button.js:205</code></a> |
|
14871 |
|
14872 </p> |
|
14873 |
|
14874 |
|
14875 |
|
14876 |
|
14877 |
|
14878 </div> |
|
14879 |
|
14880 <div class="description"> |
|
14881 |
|
14882 </div> |
|
14883 |
|
14884 |
|
14885 |
|
14886 |
|
14887 |
|
14888 |
|
14889 </div> |
|
14890 |
|
14891 |
|
14892 <div id="method_isRoot" class="method item inherited"> |
|
14893 <h3 class="name"><code>isRoot</code></h3> |
|
14894 |
|
14895 |
|
14896 <span class="paren">()</span> |
|
14897 |
|
14898 |
|
14899 |
|
14900 <span class="returns-inline"> |
|
14901 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
14902 </span> |
|
14903 |
|
14904 |
|
14905 |
|
14906 |
|
14907 |
|
14908 |
|
14909 |
|
14910 |
|
14911 |
|
14912 |
|
14913 |
|
14914 |
|
14915 |
|
14916 |
|
14917 <div class="meta"> |
|
14918 |
|
14919 |
|
14920 <p>Inherited from |
|
14921 <a href="../classes/Widget.html#method_isRoot">Widget</a>: |
|
14922 |
|
14923 |
|
14924 |
|
14925 <a href="../files/widget-child_js_Widget-Child.js.html#l267"><code>widget-child/js/Widget-Child.js:267</code></a> |
|
14926 |
|
14927 </p> |
|
14928 |
|
14929 |
|
14930 |
|
14931 |
|
14932 |
|
14933 </div> |
|
14934 |
|
14935 <div class="description"> |
|
14936 <p>Determines if the Widget is the root Widget in the |
|
14937 object hierarchy.</p> |
|
14938 </div> |
|
14939 |
|
14940 |
|
14941 |
|
14942 |
|
14943 <div class="returns"> |
|
14944 <h4>Returns:</h4> |
|
14945 |
|
14946 <div class="returns-description"> |
|
14947 |
|
14948 |
|
14949 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>: |
|
14950 |
|
14951 Boolean indicating if Widget is the root Widget in the |
|
14952 object hierarchy. |
|
14953 |
|
14954 </div> |
|
14955 </div> |
|
14956 |
|
14957 |
|
14958 |
|
14959 </div> |
|
14960 |
|
14961 |
|
14962 <div id="method_modifyAttr" class="method item inherited"> |
|
14963 <h3 class="name"><code>modifyAttr</code></h3> |
|
14964 |
|
14965 |
|
14966 <div class="args"> |
|
14967 <span class="paren">(</span><ul class="args-list inline commas"> |
|
14968 |
|
14969 <li class="arg"> |
|
14970 |
|
14971 <code>name</code> |
|
14972 |
|
14973 </li> |
|
14974 |
|
14975 <li class="arg"> |
|
14976 |
|
14977 <code>config</code> |
|
14978 |
|
14979 </li> |
|
14980 |
|
14981 </ul><span class="paren">)</span> |
|
14982 </div> |
|
14983 |
|
14984 |
|
14985 |
|
14986 |
|
14987 |
|
14988 |
|
14989 |
|
14990 |
|
14991 |
|
14992 |
|
14993 |
|
14994 |
|
14995 |
|
14996 |
|
14997 |
|
14998 |
|
14999 <div class="meta"> |
|
15000 |
|
15001 |
|
15002 <p>Inherited from |
|
15003 <a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>: |
|
15004 |
|
15005 |
|
15006 |
|
15007 <a href="../files/attribute_js_AttributeExtras.js.html#l40"><code>attribute/js/AttributeExtras.js:40</code></a> |
|
15008 |
|
15009 </p> |
|
15010 |
|
15011 |
|
15012 |
|
15013 |
|
15014 |
|
15015 </div> |
|
15016 |
|
15017 <div class="description"> |
|
15018 <p>Updates the configuration of an attribute which has already been added.</p> |
|
15019 |
|
15020 <p> |
|
15021 The properties which can be modified through this interface are limited |
|
15022 to the following subset of attributes, which can be safely modified |
|
15023 after a value has already been set on the attribute: readOnly, writeOnce, |
|
15024 broadcast and getter. |
|
15025 </p> |
|
15026 </div> |
|
15027 |
|
15028 |
|
15029 <div class="params"> |
|
15030 <h4>Parameters:</h4> |
|
15031 |
|
15032 <ul class="params-list"> |
|
15033 |
|
15034 <li class="param"> |
|
15035 |
|
15036 <code class="param-name">name</code> |
|
15037 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15038 |
|
15039 |
|
15040 |
|
15041 |
|
15042 <div class="param-description"> |
|
15043 <p>The name of the attribute whose configuration is to be updated.</p> |
|
15044 </div> |
|
15045 |
|
15046 |
|
15047 </li> |
|
15048 |
|
15049 <li class="param"> |
|
15050 |
|
15051 <code class="param-name">config</code> |
|
15052 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
15053 |
|
15054 |
|
15055 |
|
15056 |
|
15057 <div class="param-description"> |
|
15058 <p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p> |
|
15059 </div> |
|
15060 |
|
15061 |
|
15062 </li> |
|
15063 |
|
15064 </ul> |
|
15065 </div> |
|
15066 |
|
15067 |
|
15068 |
|
15069 |
|
15070 |
|
15071 </div> |
|
15072 |
|
15073 |
|
15074 <div id="method_next" class="method item inherited"> |
|
15075 <h3 class="name"><code>next</code></h3> |
|
15076 |
|
15077 |
|
15078 <div class="args"> |
|
15079 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15080 |
|
15081 <li class="arg"> |
|
15082 |
|
15083 <code>circular</code> |
|
15084 |
|
15085 </li> |
|
15086 |
|
15087 </ul><span class="paren">)</span> |
|
15088 </div> |
|
15089 |
|
15090 |
|
15091 |
|
15092 <span class="returns-inline"> |
|
15093 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span> |
|
15094 </span> |
|
15095 |
|
15096 |
|
15097 |
|
15098 |
|
15099 |
|
15100 |
|
15101 |
|
15102 |
|
15103 |
|
15104 |
|
15105 |
|
15106 |
|
15107 |
|
15108 |
|
15109 <div class="meta"> |
|
15110 |
|
15111 |
|
15112 <p>Inherited from |
|
15113 <a href="../classes/Widget.html#method_next">Widget</a>: |
|
15114 |
|
15115 |
|
15116 |
|
15117 <a href="../files/widget-child_js_Widget-Child.js.html#l191"><code>widget-child/js/Widget-Child.js:191</code></a> |
|
15118 |
|
15119 </p> |
|
15120 |
|
15121 |
|
15122 |
|
15123 |
|
15124 |
|
15125 </div> |
|
15126 |
|
15127 <div class="description"> |
|
15128 <p>Returns the Widget's next sibling.</p> |
|
15129 </div> |
|
15130 |
|
15131 |
|
15132 <div class="params"> |
|
15133 <h4>Parameters:</h4> |
|
15134 |
|
15135 <ul class="params-list"> |
|
15136 |
|
15137 <li class="param"> |
|
15138 |
|
15139 <code class="param-name">circular</code> |
|
15140 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
15141 |
|
15142 |
|
15143 |
|
15144 |
|
15145 <div class="param-description"> |
|
15146 <p>Boolean indicating if the parent's first child |
|
15147 should be returned if the child has no next sibling.</p> |
|
15148 </div> |
|
15149 |
|
15150 |
|
15151 </li> |
|
15152 |
|
15153 </ul> |
|
15154 </div> |
|
15155 |
|
15156 |
|
15157 |
|
15158 <div class="returns"> |
|
15159 <h4>Returns:</h4> |
|
15160 |
|
15161 <div class="returns-description"> |
|
15162 |
|
15163 |
|
15164 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>: |
|
15165 |
|
15166 Widget instance. |
|
15167 |
|
15168 </div> |
|
15169 </div> |
|
15170 |
|
15171 |
|
15172 |
|
15173 </div> |
|
15174 |
|
15175 |
|
15176 <div id="method_on" class="method item inherited"> |
|
15177 <h3 class="name"><code>on</code></h3> |
|
15178 |
|
15179 |
|
15180 <div class="args"> |
|
15181 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15182 |
|
15183 <li class="arg"> |
|
15184 |
|
15185 <code>type</code> |
|
15186 |
|
15187 </li> |
|
15188 |
|
15189 <li class="arg"> |
|
15190 |
|
15191 <code>fn</code> |
|
15192 |
|
15193 </li> |
|
15194 |
|
15195 <li class="arg"> |
|
15196 |
|
15197 <code class="optional">[context]</code> |
|
15198 |
|
15199 </li> |
|
15200 |
|
15201 <li class="arg"> |
|
15202 |
|
15203 <code class="optional">[arg*]</code> |
|
15204 |
|
15205 </li> |
|
15206 |
|
15207 </ul><span class="paren">)</span> |
|
15208 </div> |
|
15209 |
|
15210 |
|
15211 |
|
15212 <span class="returns-inline"> |
|
15213 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
15214 </span> |
|
15215 |
|
15216 |
|
15217 |
|
15218 |
|
15219 |
|
15220 |
|
15221 |
|
15222 |
|
15223 |
|
15224 |
|
15225 |
|
15226 |
|
15227 |
|
15228 |
|
15229 <div class="meta"> |
|
15230 |
|
15231 |
|
15232 <p>Inherited from |
|
15233 <a href="../classes/EventTarget.html#method_on">EventTarget</a>: |
|
15234 |
|
15235 |
|
15236 |
|
15237 <a href="../files/event-custom_js_event-target.js.html#l188"><code>event-custom/js/event-target.js:188</code></a> |
|
15238 |
|
15239 </p> |
|
15240 |
|
15241 |
|
15242 |
|
15243 |
|
15244 |
|
15245 </div> |
|
15246 |
|
15247 <div class="description"> |
|
15248 <p>Subscribe a callback function to a custom event fired by this object or |
|
15249 from an object that bubbles its events to this object.</p> |
|
15250 |
|
15251 <p>Callback functions for events published with <code>emitFacade = true</code> will |
|
15252 receive an <code>EventFacade</code> as the first argument (typically named "e"). |
|
15253 These callbacks can then call <code>e.preventDefault()</code> to disable the |
|
15254 behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code> |
|
15255 API for all available properties and methods. Subscribers to |
|
15256 non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code> |
|
15257 after the event name.</p> |
|
15258 |
|
15259 <p>To subscribe to multiple events at once, pass an object as the first |
|
15260 argument, where the key:value pairs correspond to the eventName:callback, |
|
15261 or pass an array of event names as the first argument to subscribe to |
|
15262 all listed events with the same callback.</p> |
|
15263 |
|
15264 <p>Returning <code>false</code> from a callback is supported as an alternative to |
|
15265 calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is |
|
15266 recommended to use the event methods whenever possible.</p> |
|
15267 </div> |
|
15268 |
|
15269 |
|
15270 <div class="params"> |
|
15271 <h4>Parameters:</h4> |
|
15272 |
|
15273 <ul class="params-list"> |
|
15274 |
|
15275 <li class="param"> |
|
15276 |
|
15277 <code class="param-name">type</code> |
|
15278 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15279 |
|
15280 |
|
15281 |
|
15282 |
|
15283 <div class="param-description"> |
|
15284 <p>The name of the event</p> |
|
15285 </div> |
|
15286 |
|
15287 |
|
15288 </li> |
|
15289 |
|
15290 <li class="param"> |
|
15291 |
|
15292 <code class="param-name">fn</code> |
|
15293 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
15294 |
|
15295 |
|
15296 |
|
15297 |
|
15298 <div class="param-description"> |
|
15299 <p>The callback to execute in response to the event</p> |
|
15300 </div> |
|
15301 |
|
15302 |
|
15303 </li> |
|
15304 |
|
15305 <li class="param"> |
|
15306 |
|
15307 <code class="param-name optional">[context]</code> |
|
15308 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
15309 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15310 |
|
15311 |
|
15312 |
|
15313 |
|
15314 <div class="param-description"> |
|
15315 <p>Override <code>this</code> object in callback</p> |
|
15316 </div> |
|
15317 |
|
15318 |
|
15319 </li> |
|
15320 |
|
15321 <li class="param"> |
|
15322 |
|
15323 <code class="param-name optional">[arg*]</code> |
|
15324 <span class="type">Any</span> |
|
15325 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15326 |
|
15327 |
|
15328 |
|
15329 |
|
15330 <div class="param-description"> |
|
15331 <p>0..n additional arguments to supply to the subscriber</p> |
|
15332 </div> |
|
15333 |
|
15334 |
|
15335 </li> |
|
15336 |
|
15337 </ul> |
|
15338 </div> |
|
15339 |
|
15340 |
|
15341 |
|
15342 <div class="returns"> |
|
15343 <h4>Returns:</h4> |
|
15344 |
|
15345 <div class="returns-description"> |
|
15346 |
|
15347 |
|
15348 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
15349 |
|
15350 A subscription handle capable of detaching that |
|
15351 subscription |
|
15352 |
|
15353 </div> |
|
15354 </div> |
|
15355 |
|
15356 |
|
15357 |
|
15358 </div> |
|
15359 |
|
15360 |
|
15361 <div id="method_once" class="method item inherited"> |
|
15362 <h3 class="name"><code>once</code></h3> |
|
15363 |
|
15364 |
|
15365 <div class="args"> |
|
15366 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15367 |
|
15368 <li class="arg"> |
|
15369 |
|
15370 <code>type</code> |
|
15371 |
|
15372 </li> |
|
15373 |
|
15374 <li class="arg"> |
|
15375 |
|
15376 <code>fn</code> |
|
15377 |
|
15378 </li> |
|
15379 |
|
15380 <li class="arg"> |
|
15381 |
|
15382 <code class="optional">[context]</code> |
|
15383 |
|
15384 </li> |
|
15385 |
|
15386 <li class="arg"> |
|
15387 |
|
15388 <code class="optional">[arg*]</code> |
|
15389 |
|
15390 </li> |
|
15391 |
|
15392 </ul><span class="paren">)</span> |
|
15393 </div> |
|
15394 |
|
15395 |
|
15396 |
|
15397 <span class="returns-inline"> |
|
15398 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
15399 </span> |
|
15400 |
|
15401 |
|
15402 |
|
15403 |
|
15404 |
|
15405 |
|
15406 |
|
15407 |
|
15408 |
|
15409 |
|
15410 |
|
15411 |
|
15412 |
|
15413 |
|
15414 <div class="meta"> |
|
15415 |
|
15416 |
|
15417 <p>Inherited from |
|
15418 <a href="../classes/EventTarget.html#method_once">EventTarget</a>: |
|
15419 |
|
15420 |
|
15421 |
|
15422 <a href="../files/event-custom_js_event-target.js.html#l124"><code>event-custom/js/event-target.js:124</code></a> |
|
15423 |
|
15424 </p> |
|
15425 |
|
15426 |
|
15427 |
|
15428 |
|
15429 |
|
15430 </div> |
|
15431 |
|
15432 <div class="description"> |
|
15433 <p>Listen to a custom event hosted by this object one time. |
|
15434 This is the equivalent to <code>on</code> except the |
|
15435 listener is immediatelly detached when it is executed.</p> |
|
15436 </div> |
|
15437 |
|
15438 |
|
15439 <div class="params"> |
|
15440 <h4>Parameters:</h4> |
|
15441 |
|
15442 <ul class="params-list"> |
|
15443 |
|
15444 <li class="param"> |
|
15445 |
|
15446 <code class="param-name">type</code> |
|
15447 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15448 |
|
15449 |
|
15450 |
|
15451 |
|
15452 <div class="param-description"> |
|
15453 <p>The name of the event</p> |
|
15454 </div> |
|
15455 |
|
15456 |
|
15457 </li> |
|
15458 |
|
15459 <li class="param"> |
|
15460 |
|
15461 <code class="param-name">fn</code> |
|
15462 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
15463 |
|
15464 |
|
15465 |
|
15466 |
|
15467 <div class="param-description"> |
|
15468 <p>The callback to execute in response to the event</p> |
|
15469 </div> |
|
15470 |
|
15471 |
|
15472 </li> |
|
15473 |
|
15474 <li class="param"> |
|
15475 |
|
15476 <code class="param-name optional">[context]</code> |
|
15477 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
15478 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15479 |
|
15480 |
|
15481 |
|
15482 |
|
15483 <div class="param-description"> |
|
15484 <p>Override <code>this</code> object in callback</p> |
|
15485 </div> |
|
15486 |
|
15487 |
|
15488 </li> |
|
15489 |
|
15490 <li class="param"> |
|
15491 |
|
15492 <code class="param-name optional">[arg*]</code> |
|
15493 <span class="type">Any</span> |
|
15494 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15495 |
|
15496 |
|
15497 |
|
15498 |
|
15499 <div class="param-description"> |
|
15500 <p>0..n additional arguments to supply to the subscriber</p> |
|
15501 </div> |
|
15502 |
|
15503 |
|
15504 </li> |
|
15505 |
|
15506 </ul> |
|
15507 </div> |
|
15508 |
|
15509 |
|
15510 |
|
15511 <div class="returns"> |
|
15512 <h4>Returns:</h4> |
|
15513 |
|
15514 <div class="returns-description"> |
|
15515 |
|
15516 |
|
15517 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
15518 |
|
15519 A subscription handle capable of detaching the |
|
15520 subscription |
|
15521 |
|
15522 </div> |
|
15523 </div> |
|
15524 |
|
15525 |
|
15526 |
|
15527 </div> |
|
15528 |
|
15529 |
|
15530 <div id="method_onceAfter" class="method item inherited"> |
|
15531 <h3 class="name"><code>onceAfter</code></h3> |
|
15532 |
|
15533 |
|
15534 <div class="args"> |
|
15535 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15536 |
|
15537 <li class="arg"> |
|
15538 |
|
15539 <code>type</code> |
|
15540 |
|
15541 </li> |
|
15542 |
|
15543 <li class="arg"> |
|
15544 |
|
15545 <code>fn</code> |
|
15546 |
|
15547 </li> |
|
15548 |
|
15549 <li class="arg"> |
|
15550 |
|
15551 <code class="optional">[context]</code> |
|
15552 |
|
15553 </li> |
|
15554 |
|
15555 <li class="arg"> |
|
15556 |
|
15557 <code class="optional">[arg*]</code> |
|
15558 |
|
15559 </li> |
|
15560 |
|
15561 </ul><span class="paren">)</span> |
|
15562 </div> |
|
15563 |
|
15564 |
|
15565 |
|
15566 <span class="returns-inline"> |
|
15567 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span> |
|
15568 </span> |
|
15569 |
|
15570 |
|
15571 |
|
15572 |
|
15573 |
|
15574 |
|
15575 |
|
15576 |
|
15577 |
|
15578 |
|
15579 |
|
15580 |
|
15581 |
|
15582 |
|
15583 <div class="meta"> |
|
15584 |
|
15585 |
|
15586 <p>Inherited from |
|
15587 <a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>: |
|
15588 |
|
15589 |
|
15590 |
|
15591 <a href="../files/event-custom_js_event-target.js.html#l146"><code>event-custom/js/event-target.js:146</code></a> |
|
15592 |
|
15593 </p> |
|
15594 |
|
15595 |
|
15596 |
|
15597 |
|
15598 |
|
15599 </div> |
|
15600 |
|
15601 <div class="description"> |
|
15602 <p>Listen to a custom event hosted by this object one time. |
|
15603 This is the equivalent to <code>after</code> except the |
|
15604 listener is immediatelly detached when it is executed.</p> |
|
15605 </div> |
|
15606 |
|
15607 |
|
15608 <div class="params"> |
|
15609 <h4>Parameters:</h4> |
|
15610 |
|
15611 <ul class="params-list"> |
|
15612 |
|
15613 <li class="param"> |
|
15614 |
|
15615 <code class="param-name">type</code> |
|
15616 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15617 |
|
15618 |
|
15619 |
|
15620 |
|
15621 <div class="param-description"> |
|
15622 <p>The name of the event</p> |
|
15623 </div> |
|
15624 |
|
15625 |
|
15626 </li> |
|
15627 |
|
15628 <li class="param"> |
|
15629 |
|
15630 <code class="param-name">fn</code> |
|
15631 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span> |
|
15632 |
|
15633 |
|
15634 |
|
15635 |
|
15636 <div class="param-description"> |
|
15637 <p>The callback to execute in response to the event</p> |
|
15638 </div> |
|
15639 |
|
15640 |
|
15641 </li> |
|
15642 |
|
15643 <li class="param"> |
|
15644 |
|
15645 <code class="param-name optional">[context]</code> |
|
15646 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
15647 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15648 |
|
15649 |
|
15650 |
|
15651 |
|
15652 <div class="param-description"> |
|
15653 <p>Override <code>this</code> object in callback</p> |
|
15654 </div> |
|
15655 |
|
15656 |
|
15657 </li> |
|
15658 |
|
15659 <li class="param"> |
|
15660 |
|
15661 <code class="param-name optional">[arg*]</code> |
|
15662 <span class="type">Any</span> |
|
15663 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15664 |
|
15665 |
|
15666 |
|
15667 |
|
15668 <div class="param-description"> |
|
15669 <p>0..n additional arguments to supply to the subscriber</p> |
|
15670 </div> |
|
15671 |
|
15672 |
|
15673 </li> |
|
15674 |
|
15675 </ul> |
|
15676 </div> |
|
15677 |
|
15678 |
|
15679 |
|
15680 <div class="returns"> |
|
15681 <h4>Returns:</h4> |
|
15682 |
|
15683 <div class="returns-description"> |
|
15684 |
|
15685 |
|
15686 <span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>: |
|
15687 |
|
15688 A subscription handle capable of detaching that |
|
15689 subscription |
|
15690 |
|
15691 </div> |
|
15692 </div> |
|
15693 |
|
15694 |
|
15695 |
|
15696 </div> |
|
15697 |
|
15698 |
|
15699 <div id="method_parseType" class="method item inherited"> |
|
15700 <h3 class="name"><code>parseType</code></h3> |
|
15701 |
|
15702 |
|
15703 <div class="args"> |
|
15704 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15705 |
|
15706 <li class="arg"> |
|
15707 |
|
15708 <code>type</code> |
|
15709 |
|
15710 </li> |
|
15711 |
|
15712 <li class="arg"> |
|
15713 |
|
15714 <code class="optional">[pre=this._yuievt.config.prefix]</code> |
|
15715 |
|
15716 </li> |
|
15717 |
|
15718 </ul><span class="paren">)</span> |
|
15719 </div> |
|
15720 |
|
15721 |
|
15722 |
|
15723 <span class="returns-inline"> |
|
15724 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span> |
|
15725 </span> |
|
15726 |
|
15727 |
|
15728 |
|
15729 |
|
15730 |
|
15731 |
|
15732 |
|
15733 |
|
15734 |
|
15735 |
|
15736 |
|
15737 |
|
15738 |
|
15739 |
|
15740 <div class="meta"> |
|
15741 |
|
15742 |
|
15743 <p>Inherited from |
|
15744 <a href="../classes/EventTarget.html#method_parseType">EventTarget</a>: |
|
15745 |
|
15746 |
|
15747 |
|
15748 <a href="../files/event-custom_js_event-target.js.html#l168"><code>event-custom/js/event-target.js:168</code></a> |
|
15749 |
|
15750 </p> |
|
15751 |
|
15752 |
|
15753 |
|
15754 |
|
15755 |
|
15756 <p>Available since 3.3.0</p> |
|
15757 |
|
15758 </div> |
|
15759 |
|
15760 <div class="description"> |
|
15761 <p>Takes the type parameter passed to 'on' and parses out the |
|
15762 various pieces that could be included in the type. If the |
|
15763 event type is passed without a prefix, it will be expanded |
|
15764 to include the prefix one is supplied or the event target |
|
15765 is configured with a default prefix.</p> |
|
15766 </div> |
|
15767 |
|
15768 |
|
15769 <div class="params"> |
|
15770 <h4>Parameters:</h4> |
|
15771 |
|
15772 <ul class="params-list"> |
|
15773 |
|
15774 <li class="param"> |
|
15775 |
|
15776 <code class="param-name">type</code> |
|
15777 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15778 |
|
15779 |
|
15780 |
|
15781 |
|
15782 <div class="param-description"> |
|
15783 <p>the type</p> |
|
15784 </div> |
|
15785 |
|
15786 |
|
15787 </li> |
|
15788 |
|
15789 <li class="param"> |
|
15790 |
|
15791 <code class="param-name optional">[pre=this._yuievt.config.prefix]</code> |
|
15792 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
15793 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
15794 |
|
15795 |
|
15796 |
|
15797 |
|
15798 <div class="param-description"> |
|
15799 <p>the prefix</p> |
|
15800 </div> |
|
15801 |
|
15802 |
|
15803 </li> |
|
15804 |
|
15805 </ul> |
|
15806 </div> |
|
15807 |
|
15808 |
|
15809 |
|
15810 <div class="returns"> |
|
15811 <h4>Returns:</h4> |
|
15812 |
|
15813 <div class="returns-description"> |
|
15814 |
|
15815 |
|
15816 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>: |
|
15817 |
|
15818 an array containing: |
|
15819 * the detach category, if supplied, |
|
15820 * the prefixed event type, |
|
15821 * whether or not this is an after listener, |
|
15822 * the supplied event type |
|
15823 |
|
15824 </div> |
|
15825 </div> |
|
15826 |
|
15827 |
|
15828 |
|
15829 </div> |
|
15830 |
|
15831 |
|
15832 <div id="method_previous" class="method item inherited"> |
|
15833 <h3 class="name"><code>previous</code></h3> |
|
15834 |
|
15835 |
|
15836 <div class="args"> |
|
15837 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15838 |
|
15839 <li class="arg"> |
|
15840 |
|
15841 <code>circular</code> |
|
15842 |
|
15843 </li> |
|
15844 |
|
15845 </ul><span class="paren">)</span> |
|
15846 </div> |
|
15847 |
|
15848 |
|
15849 |
|
15850 <span class="returns-inline"> |
|
15851 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span> |
|
15852 </span> |
|
15853 |
|
15854 |
|
15855 |
|
15856 |
|
15857 |
|
15858 |
|
15859 |
|
15860 |
|
15861 |
|
15862 |
|
15863 |
|
15864 |
|
15865 |
|
15866 |
|
15867 <div class="meta"> |
|
15868 |
|
15869 |
|
15870 <p>Inherited from |
|
15871 <a href="../classes/Widget.html#method_previous">Widget</a>: |
|
15872 |
|
15873 |
|
15874 |
|
15875 <a href="../files/widget-child_js_Widget-Child.js.html#l216"><code>widget-child/js/Widget-Child.js:216</code></a> |
|
15876 |
|
15877 </p> |
|
15878 |
|
15879 |
|
15880 |
|
15881 |
|
15882 |
|
15883 </div> |
|
15884 |
|
15885 <div class="description"> |
|
15886 <p>Returns the Widget's previous sibling.</p> |
|
15887 </div> |
|
15888 |
|
15889 |
|
15890 <div class="params"> |
|
15891 <h4>Parameters:</h4> |
|
15892 |
|
15893 <ul class="params-list"> |
|
15894 |
|
15895 <li class="param"> |
|
15896 |
|
15897 <code class="param-name">circular</code> |
|
15898 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
15899 |
|
15900 |
|
15901 |
|
15902 |
|
15903 <div class="param-description"> |
|
15904 <p>Boolean indicating if the parent's last child |
|
15905 should be returned if the child has no previous sibling.</p> |
|
15906 </div> |
|
15907 |
|
15908 |
|
15909 </li> |
|
15910 |
|
15911 </ul> |
|
15912 </div> |
|
15913 |
|
15914 |
|
15915 |
|
15916 <div class="returns"> |
|
15917 <h4>Returns:</h4> |
|
15918 |
|
15919 <div class="returns-description"> |
|
15920 |
|
15921 |
|
15922 <span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>: |
|
15923 |
|
15924 Widget instance. |
|
15925 |
|
15926 </div> |
|
15927 </div> |
|
15928 |
|
15929 |
|
15930 |
|
15931 </div> |
|
15932 |
|
15933 |
|
15934 <div id="method_publish" class="method item inherited"> |
|
15935 <h3 class="name"><code>publish</code></h3> |
|
15936 |
|
15937 |
|
15938 <div class="args"> |
|
15939 <span class="paren">(</span><ul class="args-list inline commas"> |
|
15940 |
|
15941 <li class="arg"> |
|
15942 |
|
15943 <code>type</code> |
|
15944 |
|
15945 </li> |
|
15946 |
|
15947 <li class="arg"> |
|
15948 |
|
15949 <code>opts</code> |
|
15950 |
|
15951 </li> |
|
15952 |
|
15953 </ul><span class="paren">)</span> |
|
15954 </div> |
|
15955 |
|
15956 |
|
15957 |
|
15958 <span class="returns-inline"> |
|
15959 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span> |
|
15960 </span> |
|
15961 |
|
15962 |
|
15963 |
|
15964 |
|
15965 |
|
15966 |
|
15967 |
|
15968 |
|
15969 |
|
15970 |
|
15971 |
|
15972 |
|
15973 |
|
15974 |
|
15975 <div class="meta"> |
|
15976 |
|
15977 |
|
15978 <p>Inherited from |
|
15979 <a href="../classes/EventTarget.html#method_publish">EventTarget</a>: |
|
15980 |
|
15981 |
|
15982 |
|
15983 <a href="../files/event-custom_js_event-target.js.html#l493"><code>event-custom/js/event-target.js:493</code></a> |
|
15984 |
|
15985 </p> |
|
15986 |
|
15987 |
|
15988 |
|
15989 |
|
15990 |
|
15991 </div> |
|
15992 |
|
15993 <div class="description"> |
|
15994 <p>Creates a new custom event of the specified type. If a custom event |
|
15995 by that name already exists, it will not be re-created. In either |
|
15996 case the custom event is returned.</p> |
|
15997 </div> |
|
15998 |
|
15999 |
|
16000 <div class="params"> |
|
16001 <h4>Parameters:</h4> |
|
16002 |
|
16003 <ul class="params-list"> |
|
16004 |
|
16005 <li class="param"> |
|
16006 |
|
16007 <code class="param-name">type</code> |
|
16008 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16009 |
|
16010 |
|
16011 |
|
16012 |
|
16013 <div class="param-description"> |
|
16014 <p>the type, or name of the event</p> |
|
16015 </div> |
|
16016 |
|
16017 |
|
16018 </li> |
|
16019 |
|
16020 <li class="param"> |
|
16021 |
|
16022 <code class="param-name">opts</code> |
|
16023 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16024 |
|
16025 |
|
16026 |
|
16027 |
|
16028 <div class="param-description"> |
|
16029 <p>optional config params. Valid properties are:</p> |
|
16030 |
|
16031 <p><ul> |
|
16032 <li> |
|
16033 'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false) |
|
16034 </li> |
|
16035 <li> |
|
16036 'bubbles': whether or not this event bubbles (true) |
|
16037 Events can only bubble if emitFacade is true. |
|
16038 </li> |
|
16039 <li> |
|
16040 'context': the default execution context for the listeners (this) |
|
16041 </li> |
|
16042 <li> |
|
16043 'defaultFn': the default function to execute when this event fires if preventDefault was not called |
|
16044 </li> |
|
16045 <li> |
|
16046 'emitFacade': whether or not this event emits a facade (false) |
|
16047 </li> |
|
16048 <li> |
|
16049 'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click' |
|
16050 </li> |
|
16051 <li> |
|
16052 'fireOnce': if an event is configured to fire once, new subscribers after |
|
16053 the fire will be notified immediately. |
|
16054 </li> |
|
16055 <li> |
|
16056 'async': fireOnce event listeners will fire synchronously if the event has already |
|
16057 fired unless async is true. |
|
16058 </li> |
|
16059 <li> |
|
16060 'preventable': whether or not preventDefault() has an effect (true) |
|
16061 </li> |
|
16062 <li> |
|
16063 'preventedFn': a function that is executed when preventDefault is called |
|
16064 </li> |
|
16065 <li> |
|
16066 'queuable': whether or not this event can be queued during bubbling (false) |
|
16067 </li> |
|
16068 <li> |
|
16069 'silent': if silent is true, debug messages are not provided for this event. |
|
16070 </li> |
|
16071 <li> |
|
16072 'stoppedFn': a function that is executed when stopPropagation is called |
|
16073 </li></p> |
|
16074 |
|
16075 <p><li> |
|
16076 'monitored': specifies whether or not this event should send notifications about |
|
16077 when the event has been attached, detached, or published. |
|
16078 </li> |
|
16079 <li> |
|
16080 'type': the event type (valid option if not provided as the first parameter to publish) |
|
16081 </li> |
|
16082 </ul></p> |
|
16083 </div> |
|
16084 |
|
16085 |
|
16086 </li> |
|
16087 |
|
16088 </ul> |
|
16089 </div> |
|
16090 |
|
16091 |
|
16092 |
|
16093 <div class="returns"> |
|
16094 <h4>Returns:</h4> |
|
16095 |
|
16096 <div class="returns-description"> |
|
16097 |
|
16098 |
|
16099 <span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>: |
|
16100 |
|
16101 the custom event |
|
16102 |
|
16103 </div> |
|
16104 </div> |
|
16105 |
|
16106 |
|
16107 |
|
16108 </div> |
|
16109 |
|
16110 |
|
16111 <div id="method_removeAttr" class="method item inherited"> |
|
16112 <h3 class="name"><code>removeAttr</code></h3> |
|
16113 |
|
16114 |
|
16115 <div class="args"> |
|
16116 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16117 |
|
16118 <li class="arg"> |
|
16119 |
|
16120 <code>name</code> |
|
16121 |
|
16122 </li> |
|
16123 |
|
16124 </ul><span class="paren">)</span> |
|
16125 </div> |
|
16126 |
|
16127 |
|
16128 |
|
16129 |
|
16130 |
|
16131 |
|
16132 |
|
16133 |
|
16134 |
|
16135 |
|
16136 |
|
16137 |
|
16138 |
|
16139 |
|
16140 |
|
16141 |
|
16142 <div class="meta"> |
|
16143 |
|
16144 |
|
16145 <p>Inherited from |
|
16146 <a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>: |
|
16147 |
|
16148 |
|
16149 |
|
16150 <a href="../files/attribute_js_AttributeExtras.js.html#l79"><code>attribute/js/AttributeExtras.js:79</code></a> |
|
16151 |
|
16152 </p> |
|
16153 |
|
16154 |
|
16155 |
|
16156 |
|
16157 |
|
16158 </div> |
|
16159 |
|
16160 <div class="description"> |
|
16161 <p>Removes an attribute from the host object</p> |
|
16162 </div> |
|
16163 |
|
16164 |
|
16165 <div class="params"> |
|
16166 <h4>Parameters:</h4> |
|
16167 |
|
16168 <ul class="params-list"> |
|
16169 |
|
16170 <li class="param"> |
|
16171 |
|
16172 <code class="param-name">name</code> |
|
16173 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16174 |
|
16175 |
|
16176 |
|
16177 |
|
16178 <div class="param-description"> |
|
16179 <p>The name of the attribute to be removed.</p> |
|
16180 </div> |
|
16181 |
|
16182 |
|
16183 </li> |
|
16184 |
|
16185 </ul> |
|
16186 </div> |
|
16187 |
|
16188 |
|
16189 |
|
16190 |
|
16191 |
|
16192 </div> |
|
16193 |
|
16194 |
|
16195 <div id="method_removeTarget" class="method item inherited"> |
|
16196 <h3 class="name"><code>removeTarget</code></h3> |
|
16197 |
|
16198 |
|
16199 <div class="args"> |
|
16200 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16201 |
|
16202 <li class="arg"> |
|
16203 |
|
16204 <code>o</code> |
|
16205 |
|
16206 </li> |
|
16207 |
|
16208 </ul><span class="paren">)</span> |
|
16209 </div> |
|
16210 |
|
16211 |
|
16212 |
|
16213 |
|
16214 |
|
16215 |
|
16216 |
|
16217 |
|
16218 |
|
16219 |
|
16220 |
|
16221 |
|
16222 |
|
16223 |
|
16224 |
|
16225 |
|
16226 <div class="meta"> |
|
16227 |
|
16228 |
|
16229 <p>Inherited from |
|
16230 <a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>: |
|
16231 |
|
16232 |
|
16233 |
|
16234 <a href="../files/event-custom_js_event-facade.js.html#l489"><code>event-custom/js/event-facade.js:489</code></a> |
|
16235 |
|
16236 </p> |
|
16237 |
|
16238 |
|
16239 |
|
16240 |
|
16241 |
|
16242 </div> |
|
16243 |
|
16244 <div class="description"> |
|
16245 <p>Removes a bubble target</p> |
|
16246 </div> |
|
16247 |
|
16248 |
|
16249 <div class="params"> |
|
16250 <h4>Parameters:</h4> |
|
16251 |
|
16252 <ul class="params-list"> |
|
16253 |
|
16254 <li class="param"> |
|
16255 |
|
16256 <code class="param-name">o</code> |
|
16257 <span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span> |
|
16258 |
|
16259 |
|
16260 |
|
16261 |
|
16262 <div class="param-description"> |
|
16263 <p>the target to remove</p> |
|
16264 </div> |
|
16265 |
|
16266 |
|
16267 </li> |
|
16268 |
|
16269 </ul> |
|
16270 </div> |
|
16271 |
|
16272 |
|
16273 |
|
16274 |
|
16275 |
|
16276 </div> |
|
16277 |
|
16278 |
|
16279 <div id="method_render" class="method item inherited"> |
|
16280 <h3 class="name"><code>render</code></h3> |
|
16281 |
|
16282 |
|
16283 <div class="args"> |
|
16284 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16285 |
|
16286 <li class="arg"> |
|
16287 |
|
16288 <code>parentNode</code> |
|
16289 |
|
16290 </li> |
|
16291 |
|
16292 </ul><span class="paren">)</span> |
|
16293 </div> |
|
16294 |
|
16295 |
|
16296 |
|
16297 |
|
16298 |
|
16299 |
|
16300 |
|
16301 |
|
16302 |
|
16303 <span class="flag final">final</span> |
|
16304 |
|
16305 |
|
16306 |
|
16307 |
|
16308 |
|
16309 <span class="flag chainable">chainable</span> |
|
16310 |
|
16311 |
|
16312 |
|
16313 |
|
16314 <div class="meta"> |
|
16315 |
|
16316 |
|
16317 <p>Inherited from |
|
16318 <a href="../classes/Widget.html#method_render">Widget</a>: |
|
16319 |
|
16320 |
|
16321 |
|
16322 <a href="../files/widget_js_Widget.js.html#l513"><code>widget/js/Widget.js:513</code></a> |
|
16323 |
|
16324 </p> |
|
16325 |
|
16326 |
|
16327 |
|
16328 |
|
16329 |
|
16330 </div> |
|
16331 |
|
16332 <div class="description"> |
|
16333 <p>Establishes the initial DOM for the widget. Invoking this |
|
16334 method will lead to the creating of all DOM elements for |
|
16335 the widget (or the manipulation of existing DOM elements |
|
16336 for the progressive enhancement use case).</p> |
|
16337 |
|
16338 <p> |
|
16339 This method should only be invoked once for an initialized |
|
16340 widget. |
|
16341 </p> |
|
16342 |
|
16343 <p> |
|
16344 It delegates to the widget specific renderer method to do |
|
16345 the actual work. |
|
16346 </p> |
|
16347 </div> |
|
16348 |
|
16349 |
|
16350 <div class="params"> |
|
16351 <h4>Parameters:</h4> |
|
16352 |
|
16353 <ul class="params-list"> |
|
16354 |
|
16355 <li class="param"> |
|
16356 |
|
16357 <code class="param-name">parentNode</code> |
|
16358 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16359 |
|
16360 |
|
16361 |
|
16362 |
|
16363 <div class="param-description"> |
|
16364 <p>Optional. The Node under which the |
|
16365 Widget is to be rendered. This can be a Node instance or a CSS selector string.</p> |
|
16366 |
|
16367 <p> |
|
16368 If the selector string returns more than one Node, the first node will be used |
|
16369 as the parentNode. NOTE: This argument is required if both the boundingBox and contentBox |
|
16370 are not currently in the document. If it's not provided, the Widget will be rendered |
|
16371 to the body of the current document in this case. |
|
16372 </p> |
|
16373 </div> |
|
16374 |
|
16375 |
|
16376 </li> |
|
16377 |
|
16378 </ul> |
|
16379 </div> |
|
16380 |
|
16381 |
|
16382 |
|
16383 |
|
16384 |
|
16385 </div> |
|
16386 |
|
16387 |
|
16388 <div id="method_renderer" class="method item protected inherited"> |
|
16389 <h3 class="name"><code>renderer</code></h3> |
|
16390 |
|
16391 |
|
16392 <span class="paren">()</span> |
|
16393 |
|
16394 |
|
16395 |
|
16396 |
|
16397 |
|
16398 |
|
16399 |
|
16400 <span class="flag protected">protected</span> |
|
16401 |
|
16402 |
|
16403 |
|
16404 |
|
16405 |
|
16406 |
|
16407 |
|
16408 |
|
16409 |
|
16410 |
|
16411 <div class="meta"> |
|
16412 |
|
16413 |
|
16414 <p>Inherited from |
|
16415 <a href="../classes/Widget.html#method_renderer">Widget</a>: |
|
16416 |
|
16417 |
|
16418 |
|
16419 <a href="../files/widget_js_Widget.js.html#l588"><code>widget/js/Widget.js:588</code></a> |
|
16420 |
|
16421 </p> |
|
16422 |
|
16423 |
|
16424 |
|
16425 |
|
16426 |
|
16427 </div> |
|
16428 |
|
16429 <div class="description"> |
|
16430 <p>Creates DOM (or manipulates DOM for progressive enhancement) |
|
16431 This method is invoked by render() and is not chained |
|
16432 automatically for the class hierarchy (unlike initializer, destructor) |
|
16433 so it should be chained manually for subclasses if required.</p> |
|
16434 </div> |
|
16435 |
|
16436 |
|
16437 |
|
16438 |
|
16439 |
|
16440 |
|
16441 </div> |
|
16442 |
|
16443 |
|
16444 <div id="method_renderUI" class="method item private inherited"> |
|
16445 <h3 class="name"><code>renderUI</code></h3> |
|
16446 |
|
16447 |
|
16448 <div class="args"> |
|
16449 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16450 |
|
16451 <li class="arg"> |
|
16452 |
|
16453 <code>config</code> |
|
16454 |
|
16455 </li> |
|
16456 |
|
16457 </ul><span class="paren">)</span> |
|
16458 </div> |
|
16459 |
|
16460 |
|
16461 |
|
16462 |
|
16463 |
|
16464 |
|
16465 |
|
16466 <span class="flag private">private</span> |
|
16467 |
|
16468 |
|
16469 |
|
16470 |
|
16471 |
|
16472 |
|
16473 |
|
16474 |
|
16475 |
|
16476 |
|
16477 <div class="meta"> |
|
16478 |
|
16479 <p>Inherited from |
|
16480 <a href="../classes/Widget.html#method_renderUI"> |
|
16481 Widget |
|
16482 </a> |
|
16483 |
|
16484 but overwritten in |
|
16485 |
|
16486 |
|
16487 |
|
16488 <a href="../files/button_js_core.js.html#l80"><code>button/js/core.js:80</code></a> |
|
16489 |
|
16490 </p> |
|
16491 |
|
16492 |
|
16493 |
|
16494 |
|
16495 |
|
16496 </div> |
|
16497 |
|
16498 <div class="description"> |
|
16499 <p>Renders any UI/DOM elements for Button instances</p> |
|
16500 </div> |
|
16501 |
|
16502 |
|
16503 <div class="params"> |
|
16504 <h4>Parameters:</h4> |
|
16505 |
|
16506 <ul class="params-list"> |
|
16507 |
|
16508 <li class="param"> |
|
16509 |
|
16510 <code class="param-name">config</code> |
|
16511 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16512 |
|
16513 |
|
16514 |
|
16515 |
|
16516 <div class="param-description"> |
|
16517 <p>Config object.</p> |
|
16518 </div> |
|
16519 |
|
16520 |
|
16521 </li> |
|
16522 |
|
16523 </ul> |
|
16524 </div> |
|
16525 |
|
16526 |
|
16527 |
|
16528 |
|
16529 |
|
16530 </div> |
|
16531 |
|
16532 |
|
16533 <div id="method_reset" class="method item inherited"> |
|
16534 <h3 class="name"><code>reset</code></h3> |
|
16535 |
|
16536 |
|
16537 <div class="args"> |
|
16538 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16539 |
|
16540 <li class="arg"> |
|
16541 |
|
16542 <code>name</code> |
|
16543 |
|
16544 </li> |
|
16545 |
|
16546 </ul><span class="paren">)</span> |
|
16547 </div> |
|
16548 |
|
16549 |
|
16550 |
|
16551 <span class="returns-inline"> |
|
16552 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16553 </span> |
|
16554 |
|
16555 |
|
16556 |
|
16557 |
|
16558 |
|
16559 |
|
16560 |
|
16561 |
|
16562 |
|
16563 |
|
16564 |
|
16565 <span class="flag chainable">chainable</span> |
|
16566 |
|
16567 |
|
16568 |
|
16569 |
|
16570 <div class="meta"> |
|
16571 |
|
16572 |
|
16573 <p>Inherited from |
|
16574 <a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>: |
|
16575 |
|
16576 |
|
16577 |
|
16578 <a href="../files/attribute_js_AttributeExtras.js.html#l89"><code>attribute/js/AttributeExtras.js:89</code></a> |
|
16579 |
|
16580 </p> |
|
16581 |
|
16582 |
|
16583 |
|
16584 |
|
16585 |
|
16586 </div> |
|
16587 |
|
16588 <div class="description"> |
|
16589 <p>Resets the attribute (or all attributes) to its initial value, as long as |
|
16590 the attribute is not readOnly, or writeOnce.</p> |
|
16591 </div> |
|
16592 |
|
16593 |
|
16594 <div class="params"> |
|
16595 <h4>Parameters:</h4> |
|
16596 |
|
16597 <ul class="params-list"> |
|
16598 |
|
16599 <li class="param"> |
|
16600 |
|
16601 <code class="param-name">name</code> |
|
16602 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16603 |
|
16604 |
|
16605 |
|
16606 |
|
16607 <div class="param-description"> |
|
16608 <p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p> |
|
16609 </div> |
|
16610 |
|
16611 |
|
16612 </li> |
|
16613 |
|
16614 </ul> |
|
16615 </div> |
|
16616 |
|
16617 |
|
16618 |
|
16619 <div class="returns"> |
|
16620 <h4>Returns:</h4> |
|
16621 |
|
16622 <div class="returns-description"> |
|
16623 |
|
16624 |
|
16625 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
16626 |
|
16627 A reference to the host object. |
|
16628 |
|
16629 </div> |
|
16630 </div> |
|
16631 |
|
16632 |
|
16633 |
|
16634 </div> |
|
16635 |
|
16636 |
|
16637 <div id="method_set" class="method item inherited"> |
|
16638 <h3 class="name"><code>set</code></h3> |
|
16639 |
|
16640 |
|
16641 <div class="args"> |
|
16642 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16643 |
|
16644 <li class="arg"> |
|
16645 |
|
16646 <code>name</code> |
|
16647 |
|
16648 </li> |
|
16649 |
|
16650 <li class="arg"> |
|
16651 |
|
16652 <code>value</code> |
|
16653 |
|
16654 </li> |
|
16655 |
|
16656 <li class="arg"> |
|
16657 |
|
16658 <code class="optional">[opts]</code> |
|
16659 |
|
16660 </li> |
|
16661 |
|
16662 </ul><span class="paren">)</span> |
|
16663 </div> |
|
16664 |
|
16665 |
|
16666 |
|
16667 <span class="returns-inline"> |
|
16668 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16669 </span> |
|
16670 |
|
16671 |
|
16672 |
|
16673 |
|
16674 |
|
16675 |
|
16676 |
|
16677 |
|
16678 |
|
16679 |
|
16680 |
|
16681 <span class="flag chainable">chainable</span> |
|
16682 |
|
16683 |
|
16684 |
|
16685 |
|
16686 <div class="meta"> |
|
16687 |
|
16688 <p>Inherited from |
|
16689 <a href="../classes/AttributeObservable.html#method_set"> |
|
16690 AttributeObservable |
|
16691 </a> |
|
16692 |
|
16693 but overwritten in |
|
16694 |
|
16695 |
|
16696 |
|
16697 <a href="../files/attribute_js_AttributeCore.js.html#l410"><code>attribute/js/AttributeCore.js:410</code></a> |
|
16698 |
|
16699 </p> |
|
16700 |
|
16701 |
|
16702 |
|
16703 |
|
16704 |
|
16705 </div> |
|
16706 |
|
16707 <div class="description"> |
|
16708 <p>Sets the value of an attribute.</p> |
|
16709 </div> |
|
16710 |
|
16711 |
|
16712 <div class="params"> |
|
16713 <h4>Parameters:</h4> |
|
16714 |
|
16715 <ul class="params-list"> |
|
16716 |
|
16717 <li class="param"> |
|
16718 |
|
16719 <code class="param-name">name</code> |
|
16720 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
16721 |
|
16722 |
|
16723 |
|
16724 |
|
16725 <div class="param-description"> |
|
16726 <p>The name of the attribute. If the |
|
16727 current value of the attribute is an Object, dot notation can be used |
|
16728 to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p> |
|
16729 </div> |
|
16730 |
|
16731 |
|
16732 </li> |
|
16733 |
|
16734 <li class="param"> |
|
16735 |
|
16736 <code class="param-name">value</code> |
|
16737 <span class="type">Any</span> |
|
16738 |
|
16739 |
|
16740 |
|
16741 |
|
16742 <div class="param-description"> |
|
16743 <p>The value to set the attribute to.</p> |
|
16744 </div> |
|
16745 |
|
16746 |
|
16747 </li> |
|
16748 |
|
16749 <li class="param"> |
|
16750 |
|
16751 <code class="param-name optional">[opts]</code> |
|
16752 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16753 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
16754 |
|
16755 |
|
16756 |
|
16757 |
|
16758 <div class="param-description"> |
|
16759 <p>Optional data providing the circumstances for the change.</p> |
|
16760 </div> |
|
16761 |
|
16762 |
|
16763 </li> |
|
16764 |
|
16765 </ul> |
|
16766 </div> |
|
16767 |
|
16768 |
|
16769 |
|
16770 <div class="returns"> |
|
16771 <h4>Returns:</h4> |
|
16772 |
|
16773 <div class="returns-description"> |
|
16774 |
|
16775 |
|
16776 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
16777 |
|
16778 A reference to the host object. |
|
16779 |
|
16780 </div> |
|
16781 </div> |
|
16782 |
|
16783 |
|
16784 |
|
16785 </div> |
|
16786 |
|
16787 |
|
16788 <div id="method_setAttrs" class="method item inherited"> |
|
16789 <h3 class="name"><code>setAttrs</code></h3> |
|
16790 |
|
16791 |
|
16792 <div class="args"> |
|
16793 <span class="paren">(</span><ul class="args-list inline commas"> |
|
16794 |
|
16795 <li class="arg"> |
|
16796 |
|
16797 <code>attrs</code> |
|
16798 |
|
16799 </li> |
|
16800 |
|
16801 <li class="arg"> |
|
16802 |
|
16803 <code class="optional">[opts]</code> |
|
16804 |
|
16805 </li> |
|
16806 |
|
16807 </ul><span class="paren">)</span> |
|
16808 </div> |
|
16809 |
|
16810 |
|
16811 |
|
16812 <span class="returns-inline"> |
|
16813 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16814 </span> |
|
16815 |
|
16816 |
|
16817 |
|
16818 |
|
16819 |
|
16820 |
|
16821 |
|
16822 |
|
16823 |
|
16824 |
|
16825 |
|
16826 <span class="flag chainable">chainable</span> |
|
16827 |
|
16828 |
|
16829 |
|
16830 |
|
16831 <div class="meta"> |
|
16832 |
|
16833 <p>Inherited from |
|
16834 <a href="../classes/AttributeObservable.html#method_setAttrs"> |
|
16835 AttributeObservable |
|
16836 </a> |
|
16837 |
|
16838 but overwritten in |
|
16839 |
|
16840 |
|
16841 |
|
16842 <a href="../files/attribute_js_AttributeCore.js.html#l729"><code>attribute/js/AttributeCore.js:729</code></a> |
|
16843 |
|
16844 </p> |
|
16845 |
|
16846 |
|
16847 |
|
16848 |
|
16849 |
|
16850 </div> |
|
16851 |
|
16852 <div class="description"> |
|
16853 <p>Sets multiple attribute values.</p> |
|
16854 </div> |
|
16855 |
|
16856 |
|
16857 <div class="params"> |
|
16858 <h4>Parameters:</h4> |
|
16859 |
|
16860 <ul class="params-list"> |
|
16861 |
|
16862 <li class="param"> |
|
16863 |
|
16864 <code class="param-name">attrs</code> |
|
16865 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16866 |
|
16867 |
|
16868 |
|
16869 |
|
16870 <div class="param-description"> |
|
16871 <p>An object with attributes name/value pairs.</p> |
|
16872 </div> |
|
16873 |
|
16874 |
|
16875 </li> |
|
16876 |
|
16877 <li class="param"> |
|
16878 |
|
16879 <code class="param-name optional">[opts]</code> |
|
16880 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
16881 <span class="flag optional" title="This parameter is optional.">optional</span> |
|
16882 |
|
16883 |
|
16884 |
|
16885 |
|
16886 <div class="param-description"> |
|
16887 <p>Optional data providing the circumstances for the change.</p> |
|
16888 </div> |
|
16889 |
|
16890 |
|
16891 </li> |
|
16892 |
|
16893 </ul> |
|
16894 </div> |
|
16895 |
|
16896 |
|
16897 |
|
16898 <div class="returns"> |
|
16899 <h4>Returns:</h4> |
|
16900 |
|
16901 <div class="returns-description"> |
|
16902 |
|
16903 |
|
16904 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>: |
|
16905 |
|
16906 A reference to the host object. |
|
16907 |
|
16908 </div> |
|
16909 </div> |
|
16910 |
|
16911 |
|
16912 |
|
16913 </div> |
|
16914 |
|
16915 |
|
16916 <div id="method_show" class="method item inherited"> |
|
16917 <h3 class="name"><code>show</code></h3> |
|
16918 |
|
16919 |
|
16920 <span class="paren">()</span> |
|
16921 |
|
16922 |
|
16923 |
|
16924 |
|
16925 |
|
16926 |
|
16927 |
|
16928 |
|
16929 |
|
16930 |
|
16931 |
|
16932 |
|
16933 |
|
16934 <span class="flag chainable">chainable</span> |
|
16935 |
|
16936 |
|
16937 |
|
16938 |
|
16939 <div class="meta"> |
|
16940 |
|
16941 |
|
16942 <p>Inherited from |
|
16943 <a href="../classes/Widget.html#method_show">Widget</a>: |
|
16944 |
|
16945 |
|
16946 |
|
16947 <a href="../files/widget_js_Widget.js.html#l654"><code>widget/js/Widget.js:654</code></a> |
|
16948 |
|
16949 </p> |
|
16950 |
|
16951 |
|
16952 |
|
16953 |
|
16954 |
|
16955 </div> |
|
16956 |
|
16957 <div class="description"> |
|
16958 <p>Shows the Widget by setting the "visible" attribute to "true".</p> |
|
16959 </div> |
|
16960 |
|
16961 |
|
16962 |
|
16963 |
|
16964 |
|
16965 |
|
16966 </div> |
|
16967 |
|
16968 |
|
16969 <div id="method_subscribe" class="method item deprecated inherited"> |
|
16970 <h3 class="name"><code>subscribe</code></h3> |
|
16971 |
|
16972 |
|
16973 <span class="paren">()</span> |
|
16974 |
|
16975 |
|
16976 |
|
16977 |
|
16978 |
|
16979 <span class="flag deprecated" title="use on">deprecated</span> |
|
16980 |
|
16981 |
|
16982 |
|
16983 |
|
16984 |
|
16985 |
|
16986 |
|
16987 |
|
16988 |
|
16989 |
|
16990 |
|
16991 |
|
16992 <div class="meta"> |
|
16993 |
|
16994 |
|
16995 <p>Inherited from |
|
16996 <a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>: |
|
16997 |
|
16998 |
|
16999 |
|
17000 <a href="../files/event-custom_js_event-target.js.html#l336"><code>event-custom/js/event-target.js:336</code></a> |
|
17001 |
|
17002 </p> |
|
17003 |
|
17004 |
|
17005 |
|
17006 <p>Deprecated: use on</p> |
|
17007 |
|
17008 |
|
17009 |
|
17010 </div> |
|
17011 |
|
17012 <div class="description"> |
|
17013 <p>subscribe to an event</p> |
|
17014 </div> |
|
17015 |
|
17016 |
|
17017 |
|
17018 |
|
17019 |
|
17020 |
|
17021 </div> |
|
17022 |
|
17023 |
|
17024 <div id="method_syncUI" class="method item"> |
|
17025 <h3 class="name"><code>syncUI</code></h3> |
|
17026 |
|
17027 |
|
17028 <span class="paren">()</span> |
|
17029 |
|
17030 |
|
17031 |
|
17032 |
|
17033 |
|
17034 |
|
17035 |
|
17036 |
|
17037 |
|
17038 |
|
17039 |
|
17040 |
|
17041 |
|
17042 |
|
17043 |
|
17044 |
|
17045 <div class="meta"> |
|
17046 |
|
17047 <p>Inherited from |
|
17048 <a href="../classes/Widget.html#method_syncUI"> |
|
17049 Widget |
|
17050 </a> |
|
17051 |
|
17052 but overwritten in |
|
17053 |
|
17054 |
|
17055 |
|
17056 <a href="../files/button_js_button.js.html#l245"><code>button/js/button.js:245</code></a> |
|
17057 |
|
17058 </p> |
|
17059 |
|
17060 |
|
17061 |
|
17062 |
|
17063 |
|
17064 </div> |
|
17065 |
|
17066 <div class="description"> |
|
17067 <p>Syncs the UI for the widget</p> |
|
17068 </div> |
|
17069 |
|
17070 |
|
17071 |
|
17072 |
|
17073 |
|
17074 |
|
17075 </div> |
|
17076 |
|
17077 |
|
17078 <div id="method_toggle" class="method item public"> |
|
17079 <h3 class="name"><code>toggle</code></h3> |
|
17080 |
|
17081 |
|
17082 <span class="paren">()</span> |
|
17083 |
|
17084 |
|
17085 |
|
17086 |
|
17087 |
|
17088 |
|
17089 |
|
17090 <span class="flag public">public</span> |
|
17091 |
|
17092 |
|
17093 |
|
17094 |
|
17095 |
|
17096 |
|
17097 |
|
17098 |
|
17099 |
|
17100 |
|
17101 <div class="meta"> |
|
17102 |
|
17103 |
|
17104 |
|
17105 <p> |
|
17106 |
|
17107 Defined in |
|
17108 |
|
17109 |
|
17110 |
|
17111 |
|
17112 <a href="../files/button_js_button.js.html#l286"><code>button/js/button.js:286</code></a> |
|
17113 |
|
17114 </p> |
|
17115 |
|
17116 |
|
17117 |
|
17118 |
|
17119 |
|
17120 </div> |
|
17121 |
|
17122 <div class="description"> |
|
17123 <p>Toggles the selected/pressed/checked state of a ToggleButton</p> |
|
17124 </div> |
|
17125 |
|
17126 |
|
17127 |
|
17128 |
|
17129 |
|
17130 |
|
17131 </div> |
|
17132 |
|
17133 |
|
17134 <div id="method_toString" class="method item inherited"> |
|
17135 <h3 class="name"><code>toString</code></h3> |
|
17136 |
|
17137 |
|
17138 <span class="paren">()</span> |
|
17139 |
|
17140 |
|
17141 |
|
17142 <span class="returns-inline"> |
|
17143 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17144 </span> |
|
17145 |
|
17146 |
|
17147 |
|
17148 |
|
17149 |
|
17150 |
|
17151 |
|
17152 |
|
17153 |
|
17154 |
|
17155 |
|
17156 |
|
17157 |
|
17158 |
|
17159 <div class="meta"> |
|
17160 |
|
17161 <p>Inherited from |
|
17162 <a href="../classes/BaseCore.html#method_toString"> |
|
17163 BaseCore |
|
17164 </a> |
|
17165 |
|
17166 but overwritten in |
|
17167 |
|
17168 |
|
17169 |
|
17170 <a href="../files/widget_js_Widget.js.html#l1107"><code>widget/js/Widget.js:1107</code></a> |
|
17171 |
|
17172 </p> |
|
17173 |
|
17174 |
|
17175 |
|
17176 |
|
17177 |
|
17178 </div> |
|
17179 |
|
17180 <div class="description"> |
|
17181 <p>Generic toString implementation for all widgets.</p> |
|
17182 </div> |
|
17183 |
|
17184 |
|
17185 |
|
17186 |
|
17187 <div class="returns"> |
|
17188 <h4>Returns:</h4> |
|
17189 |
|
17190 <div class="returns-description"> |
|
17191 |
|
17192 |
|
17193 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>: |
|
17194 |
|
17195 The default string value for the widget [ displays the NAME of the instance, and the unique id ] |
|
17196 |
|
17197 </div> |
|
17198 </div> |
|
17199 |
|
17200 |
|
17201 |
|
17202 </div> |
|
17203 |
|
17204 |
|
17205 <div id="method_unsubscribe" class="method item deprecated inherited"> |
|
17206 <h3 class="name"><code>unsubscribe</code></h3> |
|
17207 |
|
17208 |
|
17209 <span class="paren">()</span> |
|
17210 |
|
17211 |
|
17212 |
|
17213 |
|
17214 |
|
17215 <span class="flag deprecated" title="use detach">deprecated</span> |
|
17216 |
|
17217 |
|
17218 |
|
17219 |
|
17220 |
|
17221 |
|
17222 |
|
17223 |
|
17224 |
|
17225 |
|
17226 |
|
17227 |
|
17228 <div class="meta"> |
|
17229 |
|
17230 |
|
17231 <p>Inherited from |
|
17232 <a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>: |
|
17233 |
|
17234 |
|
17235 |
|
17236 <a href="../files/event-custom_js_event-target.js.html#l459"><code>event-custom/js/event-target.js:459</code></a> |
|
17237 |
|
17238 </p> |
|
17239 |
|
17240 |
|
17241 |
|
17242 <p>Deprecated: use detach</p> |
|
17243 |
|
17244 |
|
17245 |
|
17246 </div> |
|
17247 |
|
17248 <div class="description"> |
|
17249 <p>detach a listener</p> |
|
17250 </div> |
|
17251 |
|
17252 |
|
17253 |
|
17254 |
|
17255 |
|
17256 |
|
17257 </div> |
|
17258 |
|
17259 |
|
17260 <div id="method_unsubscribeAll" class="method item deprecated inherited"> |
|
17261 <h3 class="name"><code>unsubscribeAll</code></h3> |
|
17262 |
|
17263 |
|
17264 <div class="args"> |
|
17265 <span class="paren">(</span><ul class="args-list inline commas"> |
|
17266 |
|
17267 <li class="arg"> |
|
17268 |
|
17269 <code>type</code> |
|
17270 |
|
17271 </li> |
|
17272 |
|
17273 </ul><span class="paren">)</span> |
|
17274 </div> |
|
17275 |
|
17276 |
|
17277 |
|
17278 |
|
17279 |
|
17280 <span class="flag deprecated" title="use detachAll">deprecated</span> |
|
17281 |
|
17282 |
|
17283 |
|
17284 |
|
17285 |
|
17286 |
|
17287 |
|
17288 |
|
17289 |
|
17290 |
|
17291 |
|
17292 |
|
17293 <div class="meta"> |
|
17294 |
|
17295 |
|
17296 <p>Inherited from |
|
17297 <a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>: |
|
17298 |
|
17299 |
|
17300 |
|
17301 <a href="../files/event-custom_js_event-target.js.html#l480"><code>event-custom/js/event-target.js:480</code></a> |
|
17302 |
|
17303 </p> |
|
17304 |
|
17305 |
|
17306 |
|
17307 <p>Deprecated: use detachAll</p> |
|
17308 |
|
17309 |
|
17310 |
|
17311 </div> |
|
17312 |
|
17313 <div class="description"> |
|
17314 <p>Removes all listeners from the specified event. If the event type |
|
17315 is not specified, all listeners from all hosted custom events will |
|
17316 be removed.</p> |
|
17317 </div> |
|
17318 |
|
17319 |
|
17320 <div class="params"> |
|
17321 <h4>Parameters:</h4> |
|
17322 |
|
17323 <ul class="params-list"> |
|
17324 |
|
17325 <li class="param"> |
|
17326 |
|
17327 <code class="param-name">type</code> |
|
17328 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17329 |
|
17330 |
|
17331 |
|
17332 |
|
17333 <div class="param-description"> |
|
17334 <p>The type, or name of the event</p> |
|
17335 </div> |
|
17336 |
|
17337 |
|
17338 </li> |
|
17339 |
|
17340 </ul> |
|
17341 </div> |
|
17342 |
|
17343 |
|
17344 |
|
17345 |
|
17346 |
|
17347 </div> |
|
17348 |
|
17349 |
|
17350 </div> |
|
17351 |
|
17352 |
|
17353 |
|
17354 <div id="properties" class="api-class-tabpanel"> |
|
17355 <h2 class="off-left">Properties</h2> |
|
17356 |
|
17357 |
|
17358 <div id="property__allowAdHocAttrs" class="property item protected inherited"> |
|
17359 <h3 class="name"><code>_allowAdHocAttrs</code></h3> |
|
17360 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
17361 |
|
17362 |
|
17363 |
|
17364 |
|
17365 <span class="flag protected">protected</span> |
|
17366 |
|
17367 |
|
17368 |
|
17369 |
|
17370 |
|
17371 |
|
17372 <div class="meta"> |
|
17373 |
|
17374 |
|
17375 <p>Inherited from |
|
17376 <a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>: |
|
17377 |
|
17378 |
|
17379 |
|
17380 <a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a> |
|
17381 |
|
17382 </p> |
|
17383 |
|
17384 |
|
17385 |
|
17386 |
|
17387 </div> |
|
17388 |
|
17389 <div class="description"> |
|
17390 <p>This property controls whether or not instances of this class should |
|
17391 allow users to add ad-hoc attributes through the constructor configuration |
|
17392 hash.</p> |
|
17393 |
|
17394 <p>AdHoc attributes are attributes which are not defined by the class, and are |
|
17395 not handled by the MyClass.<em>NON</em>ATTRS_CFG</p> |
|
17396 </div> |
|
17397 |
|
17398 |
|
17399 <p><strong>Default:</strong> undefined (false)</p> |
|
17400 |
|
17401 |
|
17402 |
|
17403 |
|
17404 |
|
17405 </div> |
|
17406 |
|
17407 |
|
17408 <div id="property__UI_ATTRS" class="property item private inherited"> |
|
17409 <h3 class="name"><code>_UI_ATTRS</code></h3> |
|
17410 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17411 |
|
17412 |
|
17413 |
|
17414 |
|
17415 <span class="flag private">private</span> |
|
17416 |
|
17417 |
|
17418 |
|
17419 |
|
17420 |
|
17421 |
|
17422 <div class="meta"> |
|
17423 |
|
17424 |
|
17425 <p>Inherited from |
|
17426 <a href="../classes/Widget.html#property__UI_ATTRS">Widget</a>: |
|
17427 |
|
17428 |
|
17429 |
|
17430 <a href="../files/widget_js_Widget.js.html#l1249"><code>widget/js/Widget.js:1249</code></a> |
|
17431 |
|
17432 </p> |
|
17433 |
|
17434 |
|
17435 |
|
17436 |
|
17437 </div> |
|
17438 |
|
17439 <div class="description"> |
|
17440 <p>The lists of UI attributes to bind and sync for widget's _bindUI and _syncUI implementations</p> |
|
17441 </div> |
|
17442 |
|
17443 |
|
17444 |
|
17445 |
|
17446 |
|
17447 |
|
17448 </div> |
|
17449 |
|
17450 |
|
17451 <div id="property_ARIA_ROLES" class="property item protected"> |
|
17452 <h3 class="name"><code>ARIA_ROLES</code></h3> |
|
17453 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17454 |
|
17455 |
|
17456 |
|
17457 |
|
17458 <span class="flag protected">protected</span> |
|
17459 |
|
17460 |
|
17461 |
|
17462 |
|
17463 |
|
17464 <span class="flag static">static</span> |
|
17465 |
|
17466 |
|
17467 <div class="meta"> |
|
17468 |
|
17469 |
|
17470 |
|
17471 <p> |
|
17472 |
|
17473 Defined in |
|
17474 |
|
17475 |
|
17476 |
|
17477 |
|
17478 <a href="../files/button_js_button.js.html#l356"><code>button/js/button.js:356</code></a> |
|
17479 |
|
17480 </p> |
|
17481 |
|
17482 |
|
17483 |
|
17484 |
|
17485 </div> |
|
17486 |
|
17487 <div class="description"> |
|
17488 |
|
17489 </div> |
|
17490 |
|
17491 |
|
17492 |
|
17493 |
|
17494 |
|
17495 |
|
17496 </div> |
|
17497 |
|
17498 |
|
17499 <div id="property_ARIA_STATES" class="property item protected"> |
|
17500 <h3 class="name"><code>ARIA_STATES</code></h3> |
|
17501 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17502 |
|
17503 |
|
17504 |
|
17505 |
|
17506 <span class="flag protected">protected</span> |
|
17507 |
|
17508 |
|
17509 |
|
17510 |
|
17511 |
|
17512 <span class="flag static">static</span> |
|
17513 |
|
17514 |
|
17515 <div class="meta"> |
|
17516 |
|
17517 |
|
17518 |
|
17519 <p> |
|
17520 |
|
17521 Defined in |
|
17522 |
|
17523 |
|
17524 |
|
17525 |
|
17526 <a href="../files/button_js_button.js.html#l348"><code>button/js/button.js:348</code></a> |
|
17527 |
|
17528 </p> |
|
17529 |
|
17530 |
|
17531 |
|
17532 |
|
17533 </div> |
|
17534 |
|
17535 <div class="description"> |
|
17536 |
|
17537 </div> |
|
17538 |
|
17539 |
|
17540 |
|
17541 |
|
17542 |
|
17543 |
|
17544 </div> |
|
17545 |
|
17546 |
|
17547 <div id="property_ATTRS" class="property item protected"> |
|
17548 <h3 class="name"><code>ATTRS</code></h3> |
|
17549 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17550 |
|
17551 |
|
17552 |
|
17553 |
|
17554 <span class="flag protected">protected</span> |
|
17555 |
|
17556 |
|
17557 |
|
17558 |
|
17559 |
|
17560 <span class="flag static">static</span> |
|
17561 |
|
17562 |
|
17563 <div class="meta"> |
|
17564 |
|
17565 |
|
17566 |
|
17567 <p> |
|
17568 |
|
17569 Defined in |
|
17570 |
|
17571 |
|
17572 |
|
17573 |
|
17574 <a href="../files/button_js_button.js.html#l310"><code>button/js/button.js:310</code></a> |
|
17575 |
|
17576 </p> |
|
17577 |
|
17578 |
|
17579 |
|
17580 |
|
17581 </div> |
|
17582 |
|
17583 <div class="description"> |
|
17584 <p>Static property used to define the default attribute configuration of |
|
17585 the Widget.</p> |
|
17586 </div> |
|
17587 |
|
17588 |
|
17589 |
|
17590 |
|
17591 |
|
17592 |
|
17593 </div> |
|
17594 |
|
17595 |
|
17596 <div id="property_BOUNDING_TEMPLATE" class="property item inherited"> |
|
17597 <h3 class="name"><code>BOUNDING_TEMPLATE</code></h3> |
|
17598 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17599 |
|
17600 |
|
17601 |
|
17602 |
|
17603 |
|
17604 |
|
17605 |
|
17606 |
|
17607 |
|
17608 <div class="meta"> |
|
17609 |
|
17610 <p>Inherited from |
|
17611 <a href="../classes/Widget.html#property_BOUNDING_TEMPLATE"> |
|
17612 Widget |
|
17613 </a> |
|
17614 |
|
17615 but overwritten in |
|
17616 |
|
17617 |
|
17618 |
|
17619 <a href="../files/button_js_button.js.html#l28"><code>button/js/button.js:28</code></a> |
|
17620 |
|
17621 </p> |
|
17622 |
|
17623 |
|
17624 |
|
17625 |
|
17626 </div> |
|
17627 |
|
17628 <div class="description"> |
|
17629 <p>Bounding box template that will contain the Button's DOM subtree.</p> |
|
17630 </div> |
|
17631 |
|
17632 |
|
17633 <p><strong>Default:</strong> <button/></p> |
|
17634 |
|
17635 |
|
17636 |
|
17637 |
|
17638 |
|
17639 </div> |
|
17640 |
|
17641 |
|
17642 <div id="property_CLASS_NAMES" class="property item"> |
|
17643 <h3 class="name"><code>CLASS_NAMES</code></h3> |
|
17644 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17645 |
|
17646 |
|
17647 |
|
17648 |
|
17649 |
|
17650 |
|
17651 |
|
17652 |
|
17653 <span class="flag static">static</span> |
|
17654 |
|
17655 |
|
17656 <div class="meta"> |
|
17657 |
|
17658 |
|
17659 |
|
17660 <p> |
|
17661 |
|
17662 Defined in |
|
17663 |
|
17664 |
|
17665 |
|
17666 |
|
17667 <a href="../files/button_js_button.js.html#l364"><code>button/js/button.js:364</code></a> |
|
17668 |
|
17669 </p> |
|
17670 |
|
17671 |
|
17672 |
|
17673 |
|
17674 </div> |
|
17675 |
|
17676 <div class="description"> |
|
17677 <p>Array of static constants used to identify the classnames applied to DOM nodes</p> |
|
17678 </div> |
|
17679 |
|
17680 |
|
17681 |
|
17682 |
|
17683 |
|
17684 |
|
17685 </div> |
|
17686 |
|
17687 |
|
17688 <div id="property_constructor" class="property item private inherited"> |
|
17689 <h3 class="name"><code>constructor</code></h3> |
|
17690 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17691 |
|
17692 |
|
17693 |
|
17694 |
|
17695 <span class="flag private">private</span> |
|
17696 |
|
17697 |
|
17698 |
|
17699 |
|
17700 |
|
17701 |
|
17702 <div class="meta"> |
|
17703 |
|
17704 |
|
17705 <p>Inherited from |
|
17706 <a href="../classes/ButtonCore.html#property_constructor">ButtonCore</a>: |
|
17707 |
|
17708 |
|
17709 |
|
17710 <a href="../files/button_js_core.js.html#l31"><code>button/js/core.js:31</code></a> |
|
17711 |
|
17712 </p> |
|
17713 |
|
17714 |
|
17715 |
|
17716 |
|
17717 </div> |
|
17718 |
|
17719 <div class="description"> |
|
17720 |
|
17721 </div> |
|
17722 |
|
17723 |
|
17724 <p><strong>Default:</strong> ButtonCore</p> |
|
17725 |
|
17726 |
|
17727 |
|
17728 |
|
17729 |
|
17730 </div> |
|
17731 |
|
17732 |
|
17733 <div id="property_CONTENT_TEMPLATE" class="property item inherited"> |
|
17734 <h3 class="name"><code>CONTENT_TEMPLATE</code></h3> |
|
17735 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17736 |
|
17737 |
|
17738 |
|
17739 |
|
17740 |
|
17741 |
|
17742 |
|
17743 |
|
17744 |
|
17745 <div class="meta"> |
|
17746 |
|
17747 <p>Inherited from |
|
17748 <a href="../classes/Widget.html#property_CONTENT_TEMPLATE"> |
|
17749 Widget |
|
17750 </a> |
|
17751 |
|
17752 but overwritten in |
|
17753 |
|
17754 |
|
17755 |
|
17756 <a href="../files/button_js_button.js.html#l37"><code>button/js/button.js:37</code></a> |
|
17757 |
|
17758 </p> |
|
17759 |
|
17760 |
|
17761 |
|
17762 |
|
17763 </div> |
|
17764 |
|
17765 <div class="description"> |
|
17766 <p>Content box template</p> |
|
17767 </div> |
|
17768 |
|
17769 |
|
17770 <p><strong>Default:</strong> null</p> |
|
17771 |
|
17772 |
|
17773 |
|
17774 |
|
17775 |
|
17776 </div> |
|
17777 |
|
17778 |
|
17779 <div id="property_DEF_PARENT_NODE" class="property item inherited"> |
|
17780 <h3 class="name"><code>DEF_PARENT_NODE</code></h3> |
|
17781 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
17782 |
|
17783 |
|
17784 |
|
17785 |
|
17786 |
|
17787 |
|
17788 |
|
17789 |
|
17790 |
|
17791 <div class="meta"> |
|
17792 |
|
17793 |
|
17794 <p>Inherited from |
|
17795 <a href="../classes/Widget.html#property_DEF_PARENT_NODE">Widget</a>: |
|
17796 |
|
17797 |
|
17798 |
|
17799 <a href="../files/widget_js_Widget.js.html#l1126"><code>widget/js/Widget.js:1126</code></a> |
|
17800 |
|
17801 </p> |
|
17802 |
|
17803 |
|
17804 |
|
17805 |
|
17806 </div> |
|
17807 |
|
17808 <div class="description"> |
|
17809 <p>Default node to render the bounding box to. If not set, |
|
17810 will default to the current document body.</p> |
|
17811 </div> |
|
17812 |
|
17813 |
|
17814 |
|
17815 |
|
17816 |
|
17817 |
|
17818 </div> |
|
17819 |
|
17820 |
|
17821 <div id="property_DEF_UNIT" class="property item inherited"> |
|
17822 <h3 class="name"><code>DEF_UNIT</code></h3> |
|
17823 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17824 |
|
17825 |
|
17826 |
|
17827 |
|
17828 |
|
17829 |
|
17830 |
|
17831 |
|
17832 |
|
17833 <div class="meta"> |
|
17834 |
|
17835 |
|
17836 <p>Inherited from |
|
17837 <a href="../classes/Widget.html#property_DEF_UNIT">Widget</a>: |
|
17838 |
|
17839 |
|
17840 |
|
17841 <a href="../files/widget_js_Widget.js.html#l1118"><code>widget/js/Widget.js:1118</code></a> |
|
17842 |
|
17843 </p> |
|
17844 |
|
17845 |
|
17846 |
|
17847 |
|
17848 </div> |
|
17849 |
|
17850 <div class="description"> |
|
17851 <p>Default unit to use for dimension values</p> |
|
17852 </div> |
|
17853 |
|
17854 |
|
17855 |
|
17856 |
|
17857 |
|
17858 |
|
17859 </div> |
|
17860 |
|
17861 |
|
17862 <div id="property_HTML_PARSER" class="property item protected"> |
|
17863 <h3 class="name"><code>HTML_PARSER</code></h3> |
|
17864 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
17865 |
|
17866 |
|
17867 |
|
17868 |
|
17869 <span class="flag protected">protected</span> |
|
17870 |
|
17871 |
|
17872 |
|
17873 |
|
17874 |
|
17875 <span class="flag static">static</span> |
|
17876 |
|
17877 |
|
17878 <div class="meta"> |
|
17879 |
|
17880 |
|
17881 |
|
17882 <p> |
|
17883 |
|
17884 Defined in |
|
17885 |
|
17886 |
|
17887 |
|
17888 |
|
17889 <a href="../files/button_js_button.js.html#l333"><code>button/js/button.js:333</code></a> |
|
17890 |
|
17891 </p> |
|
17892 |
|
17893 |
|
17894 |
|
17895 |
|
17896 </div> |
|
17897 |
|
17898 <div class="description"> |
|
17899 |
|
17900 </div> |
|
17901 |
|
17902 |
|
17903 |
|
17904 |
|
17905 |
|
17906 |
|
17907 </div> |
|
17908 |
|
17909 |
|
17910 <div id="property_NAME" class="property item protected"> |
|
17911 <h3 class="name"><code>NAME</code></h3> |
|
17912 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17913 |
|
17914 |
|
17915 |
|
17916 |
|
17917 <span class="flag protected">protected</span> |
|
17918 |
|
17919 |
|
17920 |
|
17921 |
|
17922 |
|
17923 <span class="flag static">static</span> |
|
17924 |
|
17925 |
|
17926 <div class="meta"> |
|
17927 |
|
17928 |
|
17929 |
|
17930 <p> |
|
17931 |
|
17932 Defined in |
|
17933 |
|
17934 |
|
17935 |
|
17936 |
|
17937 <a href="../files/button_js_button.js.html#l298"><code>button/js/button.js:298</code></a> |
|
17938 |
|
17939 </p> |
|
17940 |
|
17941 |
|
17942 |
|
17943 |
|
17944 </div> |
|
17945 |
|
17946 <div class="description"> |
|
17947 <p>The identity of the widget.</p> |
|
17948 </div> |
|
17949 |
|
17950 |
|
17951 <p><strong>Default:</strong> 'buttongroup'</p> |
|
17952 |
|
17953 |
|
17954 |
|
17955 |
|
17956 |
|
17957 </div> |
|
17958 |
|
17959 |
|
17960 <div id="property_name" class="property item deprecated inherited"> |
|
17961 <h3 class="name"><code>name</code></h3> |
|
17962 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
17963 |
|
17964 |
|
17965 <span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span> |
|
17966 |
|
17967 |
|
17968 |
|
17969 |
|
17970 |
|
17971 |
|
17972 |
|
17973 |
|
17974 <div class="meta"> |
|
17975 |
|
17976 |
|
17977 <p>Inherited from |
|
17978 <a href="../classes/BaseCore.html#property_name">BaseCore</a>: |
|
17979 |
|
17980 |
|
17981 |
|
17982 <a href="../files/base_js_BaseCore.js.html#l242"><code>base/js/BaseCore.js:242</code></a> |
|
17983 |
|
17984 </p> |
|
17985 |
|
17986 |
|
17987 <p>Deprecated: Use this.constructor.NAME</p> |
|
17988 |
|
17989 |
|
17990 |
|
17991 </div> |
|
17992 |
|
17993 <div class="description"> |
|
17994 <p>The string used to identify the class of this object.</p> |
|
17995 </div> |
|
17996 |
|
17997 |
|
17998 |
|
17999 |
|
18000 |
|
18001 |
|
18002 </div> |
|
18003 |
|
18004 |
|
18005 <div id="property_selectedAttrName" class="property item"> |
|
18006 <h3 class="name"><code>selectedAttrName</code></h3> |
|
18007 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18008 |
|
18009 |
|
18010 |
|
18011 |
|
18012 |
|
18013 |
|
18014 |
|
18015 |
|
18016 |
|
18017 <div class="meta"> |
|
18018 |
|
18019 |
|
18020 |
|
18021 <p> |
|
18022 |
|
18023 Defined in |
|
18024 |
|
18025 |
|
18026 |
|
18027 |
|
18028 <a href="../files/button_js_button.js.html#l196"><code>button/js/button.js:196</code></a> |
|
18029 |
|
18030 </p> |
|
18031 |
|
18032 |
|
18033 |
|
18034 |
|
18035 </div> |
|
18036 |
|
18037 <div class="description"> |
|
18038 |
|
18039 </div> |
|
18040 |
|
18041 |
|
18042 |
|
18043 |
|
18044 |
|
18045 |
|
18046 </div> |
|
18047 |
|
18048 |
|
18049 <div id="property_TEMPLATE" class="property item inherited"> |
|
18050 <h3 class="name"><code>TEMPLATE</code></h3> |
|
18051 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18052 |
|
18053 |
|
18054 |
|
18055 |
|
18056 |
|
18057 |
|
18058 |
|
18059 |
|
18060 |
|
18061 <div class="meta"> |
|
18062 |
|
18063 |
|
18064 <p>Inherited from |
|
18065 <a href="../classes/ButtonCore.html#property_TEMPLATE">ButtonCore</a>: |
|
18066 |
|
18067 |
|
18068 |
|
18069 <a href="../files/button_js_core.js.html#l23"><code>button/js/core.js:23</code></a> |
|
18070 |
|
18071 </p> |
|
18072 |
|
18073 |
|
18074 |
|
18075 |
|
18076 </div> |
|
18077 |
|
18078 <div class="description"> |
|
18079 |
|
18080 </div> |
|
18081 |
|
18082 |
|
18083 <p><strong>Default:</strong> <button/></p> |
|
18084 |
|
18085 |
|
18086 |
|
18087 |
|
18088 |
|
18089 </div> |
|
18090 |
|
18091 |
|
18092 <div id="property_trigger" class="property item"> |
|
18093 <h3 class="name"><code>trigger</code></h3> |
|
18094 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18095 |
|
18096 |
|
18097 |
|
18098 |
|
18099 |
|
18100 |
|
18101 |
|
18102 |
|
18103 |
|
18104 <div class="meta"> |
|
18105 |
|
18106 |
|
18107 |
|
18108 <p> |
|
18109 |
|
18110 Defined in |
|
18111 |
|
18112 |
|
18113 |
|
18114 |
|
18115 <a href="../files/button_js_button.js.html#l187"><code>button/js/button.js:187</code></a> |
|
18116 |
|
18117 </p> |
|
18118 |
|
18119 |
|
18120 |
|
18121 |
|
18122 </div> |
|
18123 |
|
18124 <div class="description"> |
|
18125 |
|
18126 </div> |
|
18127 |
|
18128 |
|
18129 |
|
18130 |
|
18131 |
|
18132 |
|
18133 </div> |
|
18134 |
|
18135 |
|
18136 <div id="property_UI_EVENTS" class="property item inherited"> |
|
18137 <h3 class="name"><code>UI_EVENTS</code></h3> |
|
18138 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
18139 |
|
18140 |
|
18141 |
|
18142 |
|
18143 |
|
18144 |
|
18145 |
|
18146 |
|
18147 |
|
18148 <div class="meta"> |
|
18149 |
|
18150 |
|
18151 <p>Inherited from |
|
18152 <a href="../classes/Widget.html#property_UI_EVENTS">Widget</a>: |
|
18153 |
|
18154 |
|
18155 |
|
18156 <a href="../files/widget_js_WidgetUIEvents.js.html#l52"><code>widget/js/WidgetUIEvents.js:52</code></a> |
|
18157 |
|
18158 </p> |
|
18159 |
|
18160 |
|
18161 |
|
18162 |
|
18163 </div> |
|
18164 |
|
18165 <div class="description"> |
|
18166 <p>Map of DOM events that should be fired as Custom Events by the |
|
18167 Widget instance.</p> |
|
18168 </div> |
|
18169 |
|
18170 |
|
18171 |
|
18172 |
|
18173 |
|
18174 |
|
18175 </div> |
|
18176 |
|
18177 |
|
18178 </div> |
|
18179 |
|
18180 |
|
18181 |
|
18182 <div id="attrs" class="api-class-tabpanel"> |
|
18183 <h2 class="off-left">Attributes</h2> |
|
18184 |
|
18185 |
|
18186 <div id="attr_boundingBox" class="attr item inherited"> |
|
18187 <a name="config_boundingBox"></a> |
|
18188 <h3 class="name"><code>boundingBox</code></h3> |
|
18189 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
18190 |
|
18191 |
|
18192 |
|
18193 |
|
18194 |
|
18195 |
|
18196 |
|
18197 |
|
18198 |
|
18199 |
|
18200 |
|
18201 |
|
18202 |
|
18203 |
|
18204 |
|
18205 <div class="meta"> |
|
18206 |
|
18207 |
|
18208 <p>Inherited from |
|
18209 <a href="../classes/Widget.html#attr_boundingBox">Widget</a>: |
|
18210 |
|
18211 |
|
18212 |
|
18213 <a href="../files/widget_js_Widget.js.html#l175"><code>widget/js/Widget.js:175</code></a> |
|
18214 |
|
18215 </p> |
|
18216 |
|
18217 |
|
18218 |
|
18219 |
|
18220 </div> |
|
18221 |
|
18222 <div class="description"> |
|
18223 <p>The outermost DOM node for the Widget, used for sizing and positioning |
|
18224 of a Widget as well as a containing element for any decorator elements used |
|
18225 for skinning.</p> |
|
18226 </div> |
|
18227 |
|
18228 |
|
18229 |
|
18230 |
|
18231 <div class="emits box"> |
|
18232 <h4>Fires event <code>boundingBoxChange</code></h4> |
|
18233 |
|
18234 <p> |
|
18235 Fires when the value for the configuration attribute <code>boundingBox</code> is |
|
18236 changed. You can listen for the event using the <code>on</code> method if you |
|
18237 wish to be notified before the attribute's value has changed, or |
|
18238 using the <code>after</code> method if you wish to be notified after the |
|
18239 attribute's value has changed. |
|
18240 </p> |
|
18241 |
|
18242 <div class="params"> |
|
18243 <h4>Parameters:</h4> |
|
18244 |
|
18245 <ul class="params-list"> |
|
18246 <li class="param"> |
|
18247 <code class="param-name">e</code> |
|
18248 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18249 |
|
18250 <div class="param-description"> |
|
18251 An Event Facade object with the following |
|
18252 attribute-specific properties added: |
|
18253 </div> |
|
18254 |
|
18255 <ul class="params-list"> |
|
18256 <li class="param"> |
|
18257 <code class="param-name">prevVal</code> |
|
18258 <span class="type">Any</span> |
|
18259 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18260 </li> |
|
18261 <li class="param"> |
|
18262 <code class="param-name">newVal</code> |
|
18263 <span class="type">Any</span> |
|
18264 <div class="param-description">The value the attribute is to be set to.</div> |
|
18265 </li> |
|
18266 <li class="param"> |
|
18267 <code class="param-name">attrName</code> |
|
18268 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18269 <div class="param-description">The name of the attribute being set.</div> |
|
18270 </li> |
|
18271 <li class="param"> |
|
18272 <code class="param-name">subAttrName</code> |
|
18273 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18274 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18275 </li> |
|
18276 </ul> |
|
18277 </li> |
|
18278 </ul> |
|
18279 </div> |
|
18280 </div> |
|
18281 |
|
18282 |
|
18283 |
|
18284 </div> |
|
18285 |
|
18286 |
|
18287 <div id="attr_contentBox" class="attr item inherited"> |
|
18288 <a name="config_contentBox"></a> |
|
18289 <h3 class="name"><code>contentBox</code></h3> |
|
18290 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
18291 |
|
18292 |
|
18293 |
|
18294 |
|
18295 |
|
18296 |
|
18297 |
|
18298 |
|
18299 |
|
18300 |
|
18301 |
|
18302 |
|
18303 |
|
18304 |
|
18305 |
|
18306 <div class="meta"> |
|
18307 |
|
18308 |
|
18309 <p>Inherited from |
|
18310 <a href="../classes/Widget.html#attr_contentBox">Widget</a>: |
|
18311 |
|
18312 |
|
18313 |
|
18314 <a href="../files/widget_js_Widget.js.html#l189"><code>widget/js/Widget.js:189</code></a> |
|
18315 |
|
18316 </p> |
|
18317 |
|
18318 |
|
18319 |
|
18320 |
|
18321 </div> |
|
18322 |
|
18323 <div class="description"> |
|
18324 <p>A DOM node that is a direct descendant of a Widget's bounding box that |
|
18325 houses its content.</p> |
|
18326 </div> |
|
18327 |
|
18328 |
|
18329 |
|
18330 |
|
18331 <div class="emits box"> |
|
18332 <h4>Fires event <code>contentBoxChange</code></h4> |
|
18333 |
|
18334 <p> |
|
18335 Fires when the value for the configuration attribute <code>contentBox</code> is |
|
18336 changed. You can listen for the event using the <code>on</code> method if you |
|
18337 wish to be notified before the attribute's value has changed, or |
|
18338 using the <code>after</code> method if you wish to be notified after the |
|
18339 attribute's value has changed. |
|
18340 </p> |
|
18341 |
|
18342 <div class="params"> |
|
18343 <h4>Parameters:</h4> |
|
18344 |
|
18345 <ul class="params-list"> |
|
18346 <li class="param"> |
|
18347 <code class="param-name">e</code> |
|
18348 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18349 |
|
18350 <div class="param-description"> |
|
18351 An Event Facade object with the following |
|
18352 attribute-specific properties added: |
|
18353 </div> |
|
18354 |
|
18355 <ul class="params-list"> |
|
18356 <li class="param"> |
|
18357 <code class="param-name">prevVal</code> |
|
18358 <span class="type">Any</span> |
|
18359 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18360 </li> |
|
18361 <li class="param"> |
|
18362 <code class="param-name">newVal</code> |
|
18363 <span class="type">Any</span> |
|
18364 <div class="param-description">The value the attribute is to be set to.</div> |
|
18365 </li> |
|
18366 <li class="param"> |
|
18367 <code class="param-name">attrName</code> |
|
18368 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18369 <div class="param-description">The name of the attribute being set.</div> |
|
18370 </li> |
|
18371 <li class="param"> |
|
18372 <code class="param-name">subAttrName</code> |
|
18373 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18374 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18375 </li> |
|
18376 </ul> |
|
18377 </li> |
|
18378 </ul> |
|
18379 </div> |
|
18380 </div> |
|
18381 |
|
18382 |
|
18383 |
|
18384 </div> |
|
18385 |
|
18386 |
|
18387 <div id="attr_destroyed" class="attr item inherited"> |
|
18388 <a name="config_destroyed"></a> |
|
18389 <h3 class="name"><code>destroyed</code></h3> |
|
18390 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
18391 |
|
18392 |
|
18393 |
|
18394 |
|
18395 |
|
18396 |
|
18397 |
|
18398 |
|
18399 |
|
18400 |
|
18401 |
|
18402 |
|
18403 |
|
18404 |
|
18405 <span class="flag readonly">readonly</span> |
|
18406 |
|
18407 |
|
18408 <div class="meta"> |
|
18409 |
|
18410 |
|
18411 <p>Inherited from |
|
18412 <a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>: |
|
18413 |
|
18414 |
|
18415 |
|
18416 <a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a> |
|
18417 |
|
18418 </p> |
|
18419 |
|
18420 |
|
18421 |
|
18422 |
|
18423 </div> |
|
18424 |
|
18425 <div class="description"> |
|
18426 <p>Flag indicating whether or not this object |
|
18427 has been through the destroy lifecycle phase.</p> |
|
18428 </div> |
|
18429 |
|
18430 |
|
18431 <p><strong>Default:</strong> false</p> |
|
18432 |
|
18433 |
|
18434 |
|
18435 <div class="emits box"> |
|
18436 <h4>Fires event <code>destroyedChange</code></h4> |
|
18437 |
|
18438 <p> |
|
18439 Fires when the value for the configuration attribute <code>destroyed</code> is |
|
18440 changed. You can listen for the event using the <code>on</code> method if you |
|
18441 wish to be notified before the attribute's value has changed, or |
|
18442 using the <code>after</code> method if you wish to be notified after the |
|
18443 attribute's value has changed. |
|
18444 </p> |
|
18445 |
|
18446 <div class="params"> |
|
18447 <h4>Parameters:</h4> |
|
18448 |
|
18449 <ul class="params-list"> |
|
18450 <li class="param"> |
|
18451 <code class="param-name">e</code> |
|
18452 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18453 |
|
18454 <div class="param-description"> |
|
18455 An Event Facade object with the following |
|
18456 attribute-specific properties added: |
|
18457 </div> |
|
18458 |
|
18459 <ul class="params-list"> |
|
18460 <li class="param"> |
|
18461 <code class="param-name">prevVal</code> |
|
18462 <span class="type">Any</span> |
|
18463 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18464 </li> |
|
18465 <li class="param"> |
|
18466 <code class="param-name">newVal</code> |
|
18467 <span class="type">Any</span> |
|
18468 <div class="param-description">The value the attribute is to be set to.</div> |
|
18469 </li> |
|
18470 <li class="param"> |
|
18471 <code class="param-name">attrName</code> |
|
18472 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18473 <div class="param-description">The name of the attribute being set.</div> |
|
18474 </li> |
|
18475 <li class="param"> |
|
18476 <code class="param-name">subAttrName</code> |
|
18477 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18478 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18479 </li> |
|
18480 </ul> |
|
18481 </li> |
|
18482 </ul> |
|
18483 </div> |
|
18484 </div> |
|
18485 |
|
18486 |
|
18487 |
|
18488 </div> |
|
18489 |
|
18490 |
|
18491 <div id="attr_disabled" class="attr item inherited"> |
|
18492 <a name="config_disabled"></a> |
|
18493 <h3 class="name"><code>disabled</code></h3> |
|
18494 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
18495 |
|
18496 |
|
18497 |
|
18498 |
|
18499 |
|
18500 |
|
18501 |
|
18502 |
|
18503 |
|
18504 |
|
18505 |
|
18506 |
|
18507 |
|
18508 |
|
18509 |
|
18510 <div class="meta"> |
|
18511 |
|
18512 <p>Inherited from |
|
18513 <a href="../classes/Widget.html#attr_disabled"> |
|
18514 Widget |
|
18515 </a> |
|
18516 |
|
18517 but overwritten in |
|
18518 |
|
18519 |
|
18520 |
|
18521 <a href="../files/button_js_core.js.html#l205"><code>button/js/core.js:205</code></a> |
|
18522 |
|
18523 </p> |
|
18524 |
|
18525 |
|
18526 |
|
18527 |
|
18528 </div> |
|
18529 |
|
18530 <div class="description"> |
|
18531 <p>The button's enabled/disabled state</p> |
|
18532 </div> |
|
18533 |
|
18534 |
|
18535 |
|
18536 |
|
18537 <div class="emits box"> |
|
18538 <h4>Fires event <code>disabledChange</code></h4> |
|
18539 |
|
18540 <p> |
|
18541 Fires when the value for the configuration attribute <code>disabled</code> is |
|
18542 changed. You can listen for the event using the <code>on</code> method if you |
|
18543 wish to be notified before the attribute's value has changed, or |
|
18544 using the <code>after</code> method if you wish to be notified after the |
|
18545 attribute's value has changed. |
|
18546 </p> |
|
18547 |
|
18548 <div class="params"> |
|
18549 <h4>Parameters:</h4> |
|
18550 |
|
18551 <ul class="params-list"> |
|
18552 <li class="param"> |
|
18553 <code class="param-name">e</code> |
|
18554 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18555 |
|
18556 <div class="param-description"> |
|
18557 An Event Facade object with the following |
|
18558 attribute-specific properties added: |
|
18559 </div> |
|
18560 |
|
18561 <ul class="params-list"> |
|
18562 <li class="param"> |
|
18563 <code class="param-name">prevVal</code> |
|
18564 <span class="type">Any</span> |
|
18565 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18566 </li> |
|
18567 <li class="param"> |
|
18568 <code class="param-name">newVal</code> |
|
18569 <span class="type">Any</span> |
|
18570 <div class="param-description">The value the attribute is to be set to.</div> |
|
18571 </li> |
|
18572 <li class="param"> |
|
18573 <code class="param-name">attrName</code> |
|
18574 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18575 <div class="param-description">The name of the attribute being set.</div> |
|
18576 </li> |
|
18577 <li class="param"> |
|
18578 <code class="param-name">subAttrName</code> |
|
18579 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18580 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18581 </li> |
|
18582 </ul> |
|
18583 </li> |
|
18584 </ul> |
|
18585 </div> |
|
18586 </div> |
|
18587 |
|
18588 |
|
18589 |
|
18590 </div> |
|
18591 |
|
18592 |
|
18593 <div id="attr_focused" class="attr item inherited"> |
|
18594 <a name="config_focused"></a> |
|
18595 <h3 class="name"><code>focused</code></h3> |
|
18596 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
18597 |
|
18598 |
|
18599 |
|
18600 |
|
18601 |
|
18602 |
|
18603 |
|
18604 |
|
18605 |
|
18606 |
|
18607 |
|
18608 |
|
18609 |
|
18610 |
|
18611 <span class="flag readonly">readonly</span> |
|
18612 |
|
18613 |
|
18614 <div class="meta"> |
|
18615 |
|
18616 |
|
18617 <p>Inherited from |
|
18618 <a href="../classes/Widget.html#attr_focused">Widget</a>: |
|
18619 |
|
18620 |
|
18621 |
|
18622 <a href="../files/widget_js_Widget.js.html#l218"><code>widget/js/Widget.js:218</code></a> |
|
18623 |
|
18624 </p> |
|
18625 |
|
18626 |
|
18627 |
|
18628 |
|
18629 </div> |
|
18630 |
|
18631 <div class="description"> |
|
18632 <p>Boolean indicating if the Widget, or one of its descendants, |
|
18633 has focus.</p> |
|
18634 </div> |
|
18635 |
|
18636 |
|
18637 <p><strong>Default:</strong> false</p> |
|
18638 |
|
18639 |
|
18640 |
|
18641 <div class="emits box"> |
|
18642 <h4>Fires event <code>focusedChange</code></h4> |
|
18643 |
|
18644 <p> |
|
18645 Fires when the value for the configuration attribute <code>focused</code> is |
|
18646 changed. You can listen for the event using the <code>on</code> method if you |
|
18647 wish to be notified before the attribute's value has changed, or |
|
18648 using the <code>after</code> method if you wish to be notified after the |
|
18649 attribute's value has changed. |
|
18650 </p> |
|
18651 |
|
18652 <div class="params"> |
|
18653 <h4>Parameters:</h4> |
|
18654 |
|
18655 <ul class="params-list"> |
|
18656 <li class="param"> |
|
18657 <code class="param-name">e</code> |
|
18658 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18659 |
|
18660 <div class="param-description"> |
|
18661 An Event Facade object with the following |
|
18662 attribute-specific properties added: |
|
18663 </div> |
|
18664 |
|
18665 <ul class="params-list"> |
|
18666 <li class="param"> |
|
18667 <code class="param-name">prevVal</code> |
|
18668 <span class="type">Any</span> |
|
18669 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18670 </li> |
|
18671 <li class="param"> |
|
18672 <code class="param-name">newVal</code> |
|
18673 <span class="type">Any</span> |
|
18674 <div class="param-description">The value the attribute is to be set to.</div> |
|
18675 </li> |
|
18676 <li class="param"> |
|
18677 <code class="param-name">attrName</code> |
|
18678 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18679 <div class="param-description">The name of the attribute being set.</div> |
|
18680 </li> |
|
18681 <li class="param"> |
|
18682 <code class="param-name">subAttrName</code> |
|
18683 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18684 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18685 </li> |
|
18686 </ul> |
|
18687 </li> |
|
18688 </ul> |
|
18689 </div> |
|
18690 </div> |
|
18691 |
|
18692 |
|
18693 |
|
18694 </div> |
|
18695 |
|
18696 |
|
18697 <div id="attr_height" class="attr item inherited"> |
|
18698 <a name="config_height"></a> |
|
18699 <h3 class="name"><code>height</code></h3> |
|
18700 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
18701 |
|
18702 |
|
18703 |
|
18704 |
|
18705 |
|
18706 |
|
18707 |
|
18708 |
|
18709 |
|
18710 |
|
18711 |
|
18712 |
|
18713 |
|
18714 |
|
18715 |
|
18716 <div class="meta"> |
|
18717 |
|
18718 |
|
18719 <p>Inherited from |
|
18720 <a href="../classes/Widget.html#attr_height">Widget</a>: |
|
18721 |
|
18722 |
|
18723 |
|
18724 <a href="../files/widget_js_Widget.js.html#l252"><code>widget/js/Widget.js:252</code></a> |
|
18725 |
|
18726 </p> |
|
18727 |
|
18728 |
|
18729 |
|
18730 |
|
18731 </div> |
|
18732 |
|
18733 <div class="description"> |
|
18734 <p>String with units, or number, representing the height of the Widget. If a number is provided, |
|
18735 the default unit, defined by the Widgets DEF_UNIT, property is used.</p> |
|
18736 </div> |
|
18737 |
|
18738 |
|
18739 <p><strong>Default:</strong> EMPTY_STR</p> |
|
18740 |
|
18741 |
|
18742 |
|
18743 <div class="emits box"> |
|
18744 <h4>Fires event <code>heightChange</code></h4> |
|
18745 |
|
18746 <p> |
|
18747 Fires when the value for the configuration attribute <code>height</code> is |
|
18748 changed. You can listen for the event using the <code>on</code> method if you |
|
18749 wish to be notified before the attribute's value has changed, or |
|
18750 using the <code>after</code> method if you wish to be notified after the |
|
18751 attribute's value has changed. |
|
18752 </p> |
|
18753 |
|
18754 <div class="params"> |
|
18755 <h4>Parameters:</h4> |
|
18756 |
|
18757 <ul class="params-list"> |
|
18758 <li class="param"> |
|
18759 <code class="param-name">e</code> |
|
18760 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18761 |
|
18762 <div class="param-description"> |
|
18763 An Event Facade object with the following |
|
18764 attribute-specific properties added: |
|
18765 </div> |
|
18766 |
|
18767 <ul class="params-list"> |
|
18768 <li class="param"> |
|
18769 <code class="param-name">prevVal</code> |
|
18770 <span class="type">Any</span> |
|
18771 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18772 </li> |
|
18773 <li class="param"> |
|
18774 <code class="param-name">newVal</code> |
|
18775 <span class="type">Any</span> |
|
18776 <div class="param-description">The value the attribute is to be set to.</div> |
|
18777 </li> |
|
18778 <li class="param"> |
|
18779 <code class="param-name">attrName</code> |
|
18780 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18781 <div class="param-description">The name of the attribute being set.</div> |
|
18782 </li> |
|
18783 <li class="param"> |
|
18784 <code class="param-name">subAttrName</code> |
|
18785 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18786 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18787 </li> |
|
18788 </ul> |
|
18789 </li> |
|
18790 </ul> |
|
18791 </div> |
|
18792 </div> |
|
18793 |
|
18794 |
|
18795 |
|
18796 </div> |
|
18797 |
|
18798 |
|
18799 <div id="attr_id" class="attr item inherited"> |
|
18800 <a name="config_id"></a> |
|
18801 <h3 class="name"><code>id</code></h3> |
|
18802 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18803 |
|
18804 |
|
18805 |
|
18806 |
|
18807 |
|
18808 |
|
18809 |
|
18810 |
|
18811 |
|
18812 |
|
18813 |
|
18814 |
|
18815 |
|
18816 |
|
18817 |
|
18818 <div class="meta"> |
|
18819 |
|
18820 |
|
18821 <p>Inherited from |
|
18822 <a href="../classes/Widget.html#attr_id">Widget</a>: |
|
18823 |
|
18824 |
|
18825 |
|
18826 <a href="../files/widget_js_Widget.js.html#l149"><code>widget/js/Widget.js:149</code></a> |
|
18827 |
|
18828 </p> |
|
18829 |
|
18830 |
|
18831 |
|
18832 |
|
18833 </div> |
|
18834 |
|
18835 <div class="description"> |
|
18836 |
|
18837 </div> |
|
18838 |
|
18839 |
|
18840 <p><strong>Default:</strong> Generated using guid()</p> |
|
18841 |
|
18842 |
|
18843 |
|
18844 <div class="emits box"> |
|
18845 <h4>Fires event <code>idChange</code></h4> |
|
18846 |
|
18847 <p> |
|
18848 Fires when the value for the configuration attribute <code>id</code> is |
|
18849 changed. You can listen for the event using the <code>on</code> method if you |
|
18850 wish to be notified before the attribute's value has changed, or |
|
18851 using the <code>after</code> method if you wish to be notified after the |
|
18852 attribute's value has changed. |
|
18853 </p> |
|
18854 |
|
18855 <div class="params"> |
|
18856 <h4>Parameters:</h4> |
|
18857 |
|
18858 <ul class="params-list"> |
|
18859 <li class="param"> |
|
18860 <code class="param-name">e</code> |
|
18861 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18862 |
|
18863 <div class="param-description"> |
|
18864 An Event Facade object with the following |
|
18865 attribute-specific properties added: |
|
18866 </div> |
|
18867 |
|
18868 <ul class="params-list"> |
|
18869 <li class="param"> |
|
18870 <code class="param-name">prevVal</code> |
|
18871 <span class="type">Any</span> |
|
18872 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18873 </li> |
|
18874 <li class="param"> |
|
18875 <code class="param-name">newVal</code> |
|
18876 <span class="type">Any</span> |
|
18877 <div class="param-description">The value the attribute is to be set to.</div> |
|
18878 </li> |
|
18879 <li class="param"> |
|
18880 <code class="param-name">attrName</code> |
|
18881 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18882 <div class="param-description">The name of the attribute being set.</div> |
|
18883 </li> |
|
18884 <li class="param"> |
|
18885 <code class="param-name">subAttrName</code> |
|
18886 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18887 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18888 </li> |
|
18889 </ul> |
|
18890 </li> |
|
18891 </ul> |
|
18892 </div> |
|
18893 </div> |
|
18894 |
|
18895 |
|
18896 |
|
18897 </div> |
|
18898 |
|
18899 |
|
18900 <div id="attr_initialized" class="attr item inherited"> |
|
18901 <a name="config_initialized"></a> |
|
18902 <h3 class="name"><code>initialized</code></h3> |
|
18903 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
18904 |
|
18905 |
|
18906 |
|
18907 |
|
18908 |
|
18909 |
|
18910 |
|
18911 |
|
18912 |
|
18913 |
|
18914 |
|
18915 |
|
18916 |
|
18917 |
|
18918 <span class="flag readonly">readonly</span> |
|
18919 |
|
18920 |
|
18921 <div class="meta"> |
|
18922 |
|
18923 |
|
18924 <p>Inherited from |
|
18925 <a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>: |
|
18926 |
|
18927 |
|
18928 |
|
18929 <a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a> |
|
18930 |
|
18931 </p> |
|
18932 |
|
18933 |
|
18934 |
|
18935 |
|
18936 </div> |
|
18937 |
|
18938 <div class="description"> |
|
18939 <p>Flag indicating whether or not this object |
|
18940 has been through the init lifecycle phase.</p> |
|
18941 </div> |
|
18942 |
|
18943 |
|
18944 <p><strong>Default:</strong> false</p> |
|
18945 |
|
18946 |
|
18947 |
|
18948 <div class="emits box"> |
|
18949 <h4>Fires event <code>initializedChange</code></h4> |
|
18950 |
|
18951 <p> |
|
18952 Fires when the value for the configuration attribute <code>initialized</code> is |
|
18953 changed. You can listen for the event using the <code>on</code> method if you |
|
18954 wish to be notified before the attribute's value has changed, or |
|
18955 using the <code>after</code> method if you wish to be notified after the |
|
18956 attribute's value has changed. |
|
18957 </p> |
|
18958 |
|
18959 <div class="params"> |
|
18960 <h4>Parameters:</h4> |
|
18961 |
|
18962 <ul class="params-list"> |
|
18963 <li class="param"> |
|
18964 <code class="param-name">e</code> |
|
18965 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
18966 |
|
18967 <div class="param-description"> |
|
18968 An Event Facade object with the following |
|
18969 attribute-specific properties added: |
|
18970 </div> |
|
18971 |
|
18972 <ul class="params-list"> |
|
18973 <li class="param"> |
|
18974 <code class="param-name">prevVal</code> |
|
18975 <span class="type">Any</span> |
|
18976 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
18977 </li> |
|
18978 <li class="param"> |
|
18979 <code class="param-name">newVal</code> |
|
18980 <span class="type">Any</span> |
|
18981 <div class="param-description">The value the attribute is to be set to.</div> |
|
18982 </li> |
|
18983 <li class="param"> |
|
18984 <code class="param-name">attrName</code> |
|
18985 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18986 <div class="param-description">The name of the attribute being set.</div> |
|
18987 </li> |
|
18988 <li class="param"> |
|
18989 <code class="param-name">subAttrName</code> |
|
18990 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
18991 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
18992 </li> |
|
18993 </ul> |
|
18994 </li> |
|
18995 </ul> |
|
18996 </div> |
|
18997 </div> |
|
18998 |
|
18999 |
|
19000 |
|
19001 </div> |
|
19002 |
|
19003 |
|
19004 <div id="attr_label" class="attr item inherited"> |
|
19005 <a name="config_label"></a> |
|
19006 <h3 class="name"><code>label</code></h3> |
|
19007 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19008 |
|
19009 |
|
19010 |
|
19011 |
|
19012 |
|
19013 |
|
19014 |
|
19015 |
|
19016 |
|
19017 |
|
19018 |
|
19019 |
|
19020 |
|
19021 |
|
19022 |
|
19023 <div class="meta"> |
|
19024 |
|
19025 <p>Inherited from |
|
19026 <a href="../classes/ButtonCore.html#attr_label"> |
|
19027 ButtonCore |
|
19028 </a> |
|
19029 |
|
19030 but overwritten in |
|
19031 |
|
19032 |
|
19033 |
|
19034 <a href="../files/button_js_button.js.html#l131"><code>button/js/button.js:131</code></a> |
|
19035 |
|
19036 </p> |
|
19037 |
|
19038 |
|
19039 |
|
19040 |
|
19041 </div> |
|
19042 |
|
19043 <div class="description"> |
|
19044 <p>The text of the button (the <code>value</code> or <code>text</code> property)</p> |
|
19045 </div> |
|
19046 |
|
19047 |
|
19048 |
|
19049 |
|
19050 <div class="emits box"> |
|
19051 <h4>Fires event <code>labelChange</code></h4> |
|
19052 |
|
19053 <p> |
|
19054 Fires when the value for the configuration attribute <code>label</code> is |
|
19055 changed. You can listen for the event using the <code>on</code> method if you |
|
19056 wish to be notified before the attribute's value has changed, or |
|
19057 using the <code>after</code> method if you wish to be notified after the |
|
19058 attribute's value has changed. |
|
19059 </p> |
|
19060 |
|
19061 <div class="params"> |
|
19062 <h4>Parameters:</h4> |
|
19063 |
|
19064 <ul class="params-list"> |
|
19065 <li class="param"> |
|
19066 <code class="param-name">e</code> |
|
19067 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19068 |
|
19069 <div class="param-description"> |
|
19070 An Event Facade object with the following |
|
19071 attribute-specific properties added: |
|
19072 </div> |
|
19073 |
|
19074 <ul class="params-list"> |
|
19075 <li class="param"> |
|
19076 <code class="param-name">prevVal</code> |
|
19077 <span class="type">Any</span> |
|
19078 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19079 </li> |
|
19080 <li class="param"> |
|
19081 <code class="param-name">newVal</code> |
|
19082 <span class="type">Any</span> |
|
19083 <div class="param-description">The value the attribute is to be set to.</div> |
|
19084 </li> |
|
19085 <li class="param"> |
|
19086 <code class="param-name">attrName</code> |
|
19087 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19088 <div class="param-description">The name of the attribute being set.</div> |
|
19089 </li> |
|
19090 <li class="param"> |
|
19091 <code class="param-name">subAttrName</code> |
|
19092 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19093 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19094 </li> |
|
19095 </ul> |
|
19096 </li> |
|
19097 </ul> |
|
19098 </div> |
|
19099 </div> |
|
19100 |
|
19101 |
|
19102 |
|
19103 </div> |
|
19104 |
|
19105 |
|
19106 <div id="attr_locale" class="attr item deprecated inherited"> |
|
19107 <a name="config_locale"></a> |
|
19108 <h3 class="name"><code>locale</code></h3> |
|
19109 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19110 |
|
19111 |
|
19112 <span class="flag deprecated" title="Use Y.config.lang and Y.Intl externalization support">deprecated</span> |
|
19113 |
|
19114 |
|
19115 |
|
19116 |
|
19117 |
|
19118 |
|
19119 |
|
19120 |
|
19121 |
|
19122 |
|
19123 |
|
19124 |
|
19125 |
|
19126 |
|
19127 <div class="meta"> |
|
19128 |
|
19129 |
|
19130 <p>Inherited from |
|
19131 <a href="../classes/Widget.html#attr_locale">Widget</a>: |
|
19132 |
|
19133 |
|
19134 |
|
19135 <a href="../files/widget_js_WidgetLocale.js.html#l17"><code>widget/js/WidgetLocale.js:17</code></a> |
|
19136 |
|
19137 </p> |
|
19138 |
|
19139 |
|
19140 <p>Deprecated: Use Y.config.lang and Y.Intl externalization support</p> |
|
19141 |
|
19142 |
|
19143 |
|
19144 </div> |
|
19145 |
|
19146 <div class="description"> |
|
19147 <p>The default locale for the widget. NOTE: Using get/set on the "strings" attribute will |
|
19148 return/set strings for this locale.</p> |
|
19149 </div> |
|
19150 |
|
19151 |
|
19152 <p><strong>Default:</strong> "en"</p> |
|
19153 |
|
19154 |
|
19155 |
|
19156 <div class="emits box"> |
|
19157 <h4>Fires event <code>localeChange</code></h4> |
|
19158 |
|
19159 <p> |
|
19160 Fires when the value for the configuration attribute <code>locale</code> is |
|
19161 changed. You can listen for the event using the <code>on</code> method if you |
|
19162 wish to be notified before the attribute's value has changed, or |
|
19163 using the <code>after</code> method if you wish to be notified after the |
|
19164 attribute's value has changed. |
|
19165 </p> |
|
19166 |
|
19167 <div class="params"> |
|
19168 <h4>Parameters:</h4> |
|
19169 |
|
19170 <ul class="params-list"> |
|
19171 <li class="param"> |
|
19172 <code class="param-name">e</code> |
|
19173 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19174 |
|
19175 <div class="param-description"> |
|
19176 An Event Facade object with the following |
|
19177 attribute-specific properties added: |
|
19178 </div> |
|
19179 |
|
19180 <ul class="params-list"> |
|
19181 <li class="param"> |
|
19182 <code class="param-name">prevVal</code> |
|
19183 <span class="type">Any</span> |
|
19184 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19185 </li> |
|
19186 <li class="param"> |
|
19187 <code class="param-name">newVal</code> |
|
19188 <span class="type">Any</span> |
|
19189 <div class="param-description">The value the attribute is to be set to.</div> |
|
19190 </li> |
|
19191 <li class="param"> |
|
19192 <code class="param-name">attrName</code> |
|
19193 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19194 <div class="param-description">The name of the attribute being set.</div> |
|
19195 </li> |
|
19196 <li class="param"> |
|
19197 <code class="param-name">subAttrName</code> |
|
19198 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19199 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19200 </li> |
|
19201 </ul> |
|
19202 </li> |
|
19203 </ul> |
|
19204 </div> |
|
19205 </div> |
|
19206 |
|
19207 |
|
19208 |
|
19209 </div> |
|
19210 |
|
19211 |
|
19212 <div id="attr_render" class="attr item inherited"> |
|
19213 <a name="config_render"></a> |
|
19214 <h3 class="name"><code>render</code></h3> |
|
19215 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
19216 |
|
19217 |
|
19218 |
|
19219 |
|
19220 |
|
19221 |
|
19222 |
|
19223 |
|
19224 |
|
19225 |
|
19226 |
|
19227 |
|
19228 |
|
19229 |
|
19230 |
|
19231 <div class="meta"> |
|
19232 |
|
19233 |
|
19234 <p>Inherited from |
|
19235 <a href="../classes/Widget.html#attr_render">Widget</a>: |
|
19236 |
|
19237 |
|
19238 |
|
19239 <a href="../files/widget_js_Widget.js.html#l286"><code>widget/js/Widget.js:286</code></a> |
|
19240 |
|
19241 </p> |
|
19242 |
|
19243 |
|
19244 |
|
19245 |
|
19246 </div> |
|
19247 |
|
19248 <div class="description"> |
|
19249 <p>Whether or not to render the widget automatically after init, and optionally, to which parent node.</p> |
|
19250 </div> |
|
19251 |
|
19252 |
|
19253 |
|
19254 |
|
19255 <div class="emits box"> |
|
19256 <h4>Fires event <code>renderChange</code></h4> |
|
19257 |
|
19258 <p> |
|
19259 Fires when the value for the configuration attribute <code>render</code> is |
|
19260 changed. You can listen for the event using the <code>on</code> method if you |
|
19261 wish to be notified before the attribute's value has changed, or |
|
19262 using the <code>after</code> method if you wish to be notified after the |
|
19263 attribute's value has changed. |
|
19264 </p> |
|
19265 |
|
19266 <div class="params"> |
|
19267 <h4>Parameters:</h4> |
|
19268 |
|
19269 <ul class="params-list"> |
|
19270 <li class="param"> |
|
19271 <code class="param-name">e</code> |
|
19272 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19273 |
|
19274 <div class="param-description"> |
|
19275 An Event Facade object with the following |
|
19276 attribute-specific properties added: |
|
19277 </div> |
|
19278 |
|
19279 <ul class="params-list"> |
|
19280 <li class="param"> |
|
19281 <code class="param-name">prevVal</code> |
|
19282 <span class="type">Any</span> |
|
19283 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19284 </li> |
|
19285 <li class="param"> |
|
19286 <code class="param-name">newVal</code> |
|
19287 <span class="type">Any</span> |
|
19288 <div class="param-description">The value the attribute is to be set to.</div> |
|
19289 </li> |
|
19290 <li class="param"> |
|
19291 <code class="param-name">attrName</code> |
|
19292 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19293 <div class="param-description">The name of the attribute being set.</div> |
|
19294 </li> |
|
19295 <li class="param"> |
|
19296 <code class="param-name">subAttrName</code> |
|
19297 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19298 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19299 </li> |
|
19300 </ul> |
|
19301 </li> |
|
19302 </ul> |
|
19303 </div> |
|
19304 </div> |
|
19305 |
|
19306 |
|
19307 |
|
19308 </div> |
|
19309 |
|
19310 |
|
19311 <div id="attr_rendered" class="attr item inherited"> |
|
19312 <a name="config_rendered"></a> |
|
19313 <h3 class="name"><code>rendered</code></h3> |
|
19314 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
19315 |
|
19316 |
|
19317 |
|
19318 |
|
19319 |
|
19320 |
|
19321 |
|
19322 |
|
19323 |
|
19324 |
|
19325 |
|
19326 |
|
19327 |
|
19328 |
|
19329 <span class="flag readonly">readonly</span> |
|
19330 |
|
19331 |
|
19332 <div class="meta"> |
|
19333 |
|
19334 |
|
19335 <p>Inherited from |
|
19336 <a href="../classes/Widget.html#attr_rendered">Widget</a>: |
|
19337 |
|
19338 |
|
19339 |
|
19340 <a href="../files/widget_js_Widget.js.html#l161"><code>widget/js/Widget.js:161</code></a> |
|
19341 |
|
19342 </p> |
|
19343 |
|
19344 |
|
19345 |
|
19346 |
|
19347 </div> |
|
19348 |
|
19349 <div class="description"> |
|
19350 <p>Flag indicating whether or not this Widget |
|
19351 has been through the render lifecycle phase.</p> |
|
19352 </div> |
|
19353 |
|
19354 |
|
19355 <p><strong>Default:</strong> false</p> |
|
19356 |
|
19357 |
|
19358 |
|
19359 <div class="emits box"> |
|
19360 <h4>Fires event <code>renderedChange</code></h4> |
|
19361 |
|
19362 <p> |
|
19363 Fires when the value for the configuration attribute <code>rendered</code> is |
|
19364 changed. You can listen for the event using the <code>on</code> method if you |
|
19365 wish to be notified before the attribute's value has changed, or |
|
19366 using the <code>after</code> method if you wish to be notified after the |
|
19367 attribute's value has changed. |
|
19368 </p> |
|
19369 |
|
19370 <div class="params"> |
|
19371 <h4>Parameters:</h4> |
|
19372 |
|
19373 <ul class="params-list"> |
|
19374 <li class="param"> |
|
19375 <code class="param-name">e</code> |
|
19376 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19377 |
|
19378 <div class="param-description"> |
|
19379 An Event Facade object with the following |
|
19380 attribute-specific properties added: |
|
19381 </div> |
|
19382 |
|
19383 <ul class="params-list"> |
|
19384 <li class="param"> |
|
19385 <code class="param-name">prevVal</code> |
|
19386 <span class="type">Any</span> |
|
19387 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19388 </li> |
|
19389 <li class="param"> |
|
19390 <code class="param-name">newVal</code> |
|
19391 <span class="type">Any</span> |
|
19392 <div class="param-description">The value the attribute is to be set to.</div> |
|
19393 </li> |
|
19394 <li class="param"> |
|
19395 <code class="param-name">attrName</code> |
|
19396 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19397 <div class="param-description">The name of the attribute being set.</div> |
|
19398 </li> |
|
19399 <li class="param"> |
|
19400 <code class="param-name">subAttrName</code> |
|
19401 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19402 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19403 </li> |
|
19404 </ul> |
|
19405 </li> |
|
19406 </ul> |
|
19407 </div> |
|
19408 </div> |
|
19409 |
|
19410 |
|
19411 |
|
19412 </div> |
|
19413 |
|
19414 |
|
19415 <div id="attr_srcNode" class="attr item inherited"> |
|
19416 <a name="config_srcNode"></a> |
|
19417 <h3 class="name"><code>srcNode</code></h3> |
|
19418 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Node.html" class="crosslink">Node</a></span> |
|
19419 |
|
19420 |
|
19421 |
|
19422 |
|
19423 |
|
19424 |
|
19425 |
|
19426 |
|
19427 |
|
19428 |
|
19429 |
|
19430 |
|
19431 |
|
19432 |
|
19433 |
|
19434 <div class="meta"> |
|
19435 |
|
19436 |
|
19437 <p>Inherited from |
|
19438 <a href="../classes/Widget.html#attr_srcNode">Widget</a>: |
|
19439 |
|
19440 |
|
19441 |
|
19442 <a href="../files/widget_js_WidgetHTMLParser.js.html#l58"><code>widget/js/WidgetHTMLParser.js:58</code></a> |
|
19443 |
|
19444 </p> |
|
19445 |
|
19446 |
|
19447 |
|
19448 |
|
19449 </div> |
|
19450 |
|
19451 <div class="description"> |
|
19452 <p>The DOM node to parse for configuration values, passed to the Widget's HTML_PARSER definition</p> |
|
19453 </div> |
|
19454 |
|
19455 |
|
19456 |
|
19457 |
|
19458 <div class="emits box"> |
|
19459 <h4>Fires event <code>srcNodeChange</code></h4> |
|
19460 |
|
19461 <p> |
|
19462 Fires when the value for the configuration attribute <code>srcNode</code> is |
|
19463 changed. You can listen for the event using the <code>on</code> method if you |
|
19464 wish to be notified before the attribute's value has changed, or |
|
19465 using the <code>after</code> method if you wish to be notified after the |
|
19466 attribute's value has changed. |
|
19467 </p> |
|
19468 |
|
19469 <div class="params"> |
|
19470 <h4>Parameters:</h4> |
|
19471 |
|
19472 <ul class="params-list"> |
|
19473 <li class="param"> |
|
19474 <code class="param-name">e</code> |
|
19475 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19476 |
|
19477 <div class="param-description"> |
|
19478 An Event Facade object with the following |
|
19479 attribute-specific properties added: |
|
19480 </div> |
|
19481 |
|
19482 <ul class="params-list"> |
|
19483 <li class="param"> |
|
19484 <code class="param-name">prevVal</code> |
|
19485 <span class="type">Any</span> |
|
19486 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19487 </li> |
|
19488 <li class="param"> |
|
19489 <code class="param-name">newVal</code> |
|
19490 <span class="type">Any</span> |
|
19491 <div class="param-description">The value the attribute is to be set to.</div> |
|
19492 </li> |
|
19493 <li class="param"> |
|
19494 <code class="param-name">attrName</code> |
|
19495 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19496 <div class="param-description">The name of the attribute being set.</div> |
|
19497 </li> |
|
19498 <li class="param"> |
|
19499 <code class="param-name">subAttrName</code> |
|
19500 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19501 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19502 </li> |
|
19503 </ul> |
|
19504 </li> |
|
19505 </ul> |
|
19506 </div> |
|
19507 </div> |
|
19508 |
|
19509 |
|
19510 |
|
19511 </div> |
|
19512 |
|
19513 |
|
19514 <div id="attr_strings" class="attr item inherited"> |
|
19515 <a name="config_strings"></a> |
|
19516 <h3 class="name"><code>strings</code></h3> |
|
19517 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span> |
|
19518 |
|
19519 |
|
19520 |
|
19521 |
|
19522 |
|
19523 |
|
19524 |
|
19525 |
|
19526 |
|
19527 |
|
19528 |
|
19529 |
|
19530 |
|
19531 |
|
19532 |
|
19533 <div class="meta"> |
|
19534 |
|
19535 |
|
19536 <p>Inherited from |
|
19537 <a href="../classes/Widget.html#attr_strings">Widget</a>: |
|
19538 |
|
19539 |
|
19540 |
|
19541 <a href="../files/widget_js_Widget.js.html#l274"><code>widget/js/Widget.js:274</code></a> |
|
19542 |
|
19543 </p> |
|
19544 |
|
19545 |
|
19546 |
|
19547 |
|
19548 </div> |
|
19549 |
|
19550 <div class="description"> |
|
19551 <p>Collection of strings used to label elements of the Widget's UI.</p> |
|
19552 </div> |
|
19553 |
|
19554 |
|
19555 <p><strong>Default:</strong> null</p> |
|
19556 |
|
19557 |
|
19558 |
|
19559 <div class="emits box"> |
|
19560 <h4>Fires event <code>stringsChange</code></h4> |
|
19561 |
|
19562 <p> |
|
19563 Fires when the value for the configuration attribute <code>strings</code> is |
|
19564 changed. You can listen for the event using the <code>on</code> method if you |
|
19565 wish to be notified before the attribute's value has changed, or |
|
19566 using the <code>after</code> method if you wish to be notified after the |
|
19567 attribute's value has changed. |
|
19568 </p> |
|
19569 |
|
19570 <div class="params"> |
|
19571 <h4>Parameters:</h4> |
|
19572 |
|
19573 <ul class="params-list"> |
|
19574 <li class="param"> |
|
19575 <code class="param-name">e</code> |
|
19576 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19577 |
|
19578 <div class="param-description"> |
|
19579 An Event Facade object with the following |
|
19580 attribute-specific properties added: |
|
19581 </div> |
|
19582 |
|
19583 <ul class="params-list"> |
|
19584 <li class="param"> |
|
19585 <code class="param-name">prevVal</code> |
|
19586 <span class="type">Any</span> |
|
19587 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19588 </li> |
|
19589 <li class="param"> |
|
19590 <code class="param-name">newVal</code> |
|
19591 <span class="type">Any</span> |
|
19592 <div class="param-description">The value the attribute is to be set to.</div> |
|
19593 </li> |
|
19594 <li class="param"> |
|
19595 <code class="param-name">attrName</code> |
|
19596 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19597 <div class="param-description">The name of the attribute being set.</div> |
|
19598 </li> |
|
19599 <li class="param"> |
|
19600 <code class="param-name">subAttrName</code> |
|
19601 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19602 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19603 </li> |
|
19604 </ul> |
|
19605 </li> |
|
19606 </ul> |
|
19607 </div> |
|
19608 </div> |
|
19609 |
|
19610 |
|
19611 |
|
19612 </div> |
|
19613 |
|
19614 |
|
19615 <div id="attr_tabIndex" class="attr item inherited"> |
|
19616 <a name="config_tabIndex"></a> |
|
19617 <h3 class="name"><code>tabIndex</code></h3> |
|
19618 <span class="type"><a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
19619 |
|
19620 |
|
19621 |
|
19622 |
|
19623 |
|
19624 |
|
19625 |
|
19626 |
|
19627 |
|
19628 |
|
19629 |
|
19630 |
|
19631 |
|
19632 |
|
19633 |
|
19634 <div class="meta"> |
|
19635 |
|
19636 |
|
19637 <p>Inherited from |
|
19638 <a href="../classes/Widget.html#attr_tabIndex">Widget</a>: |
|
19639 |
|
19640 |
|
19641 |
|
19642 <a href="../files/widget_js_Widget.js.html#l202"><code>widget/js/Widget.js:202</code></a> |
|
19643 |
|
19644 </p> |
|
19645 |
|
19646 |
|
19647 |
|
19648 |
|
19649 </div> |
|
19650 |
|
19651 <div class="description"> |
|
19652 <p>Number (between -32767 to 32767) indicating the widget's |
|
19653 position in the default tab flow. The value is used to set the |
|
19654 "tabIndex" attribute on the widget's bounding box. Negative values allow |
|
19655 the widget to receive DOM focus programmatically (by calling the focus |
|
19656 method), while being removed from the default tab flow. A value of |
|
19657 null removes the "tabIndex" attribute from the widget's bounding box.</p> |
|
19658 </div> |
|
19659 |
|
19660 |
|
19661 <p><strong>Default:</strong> null</p> |
|
19662 |
|
19663 |
|
19664 |
|
19665 <div class="emits box"> |
|
19666 <h4>Fires event <code>tabIndexChange</code></h4> |
|
19667 |
|
19668 <p> |
|
19669 Fires when the value for the configuration attribute <code>tabIndex</code> is |
|
19670 changed. You can listen for the event using the <code>on</code> method if you |
|
19671 wish to be notified before the attribute's value has changed, or |
|
19672 using the <code>after</code> method if you wish to be notified after the |
|
19673 attribute's value has changed. |
|
19674 </p> |
|
19675 |
|
19676 <div class="params"> |
|
19677 <h4>Parameters:</h4> |
|
19678 |
|
19679 <ul class="params-list"> |
|
19680 <li class="param"> |
|
19681 <code class="param-name">e</code> |
|
19682 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19683 |
|
19684 <div class="param-description"> |
|
19685 An Event Facade object with the following |
|
19686 attribute-specific properties added: |
|
19687 </div> |
|
19688 |
|
19689 <ul class="params-list"> |
|
19690 <li class="param"> |
|
19691 <code class="param-name">prevVal</code> |
|
19692 <span class="type">Any</span> |
|
19693 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19694 </li> |
|
19695 <li class="param"> |
|
19696 <code class="param-name">newVal</code> |
|
19697 <span class="type">Any</span> |
|
19698 <div class="param-description">The value the attribute is to be set to.</div> |
|
19699 </li> |
|
19700 <li class="param"> |
|
19701 <code class="param-name">attrName</code> |
|
19702 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19703 <div class="param-description">The name of the attribute being set.</div> |
|
19704 </li> |
|
19705 <li class="param"> |
|
19706 <code class="param-name">subAttrName</code> |
|
19707 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19708 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19709 </li> |
|
19710 </ul> |
|
19711 </li> |
|
19712 </ul> |
|
19713 </div> |
|
19714 </div> |
|
19715 |
|
19716 |
|
19717 |
|
19718 </div> |
|
19719 |
|
19720 |
|
19721 <div id="attr_type" class="attr item"> |
|
19722 <a name="config_type"></a> |
|
19723 <h3 class="name"><code>type</code></h3> |
|
19724 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19725 |
|
19726 |
|
19727 |
|
19728 |
|
19729 |
|
19730 |
|
19731 |
|
19732 |
|
19733 |
|
19734 |
|
19735 |
|
19736 |
|
19737 |
|
19738 |
|
19739 |
|
19740 <div class="meta"> |
|
19741 |
|
19742 |
|
19743 |
|
19744 <p> |
|
19745 |
|
19746 Defined in |
|
19747 |
|
19748 |
|
19749 |
|
19750 |
|
19751 <a href="../files/button_js_button.js.html#l321"><code>button/js/button.js:321</code></a> |
|
19752 |
|
19753 </p> |
|
19754 |
|
19755 |
|
19756 |
|
19757 |
|
19758 </div> |
|
19759 |
|
19760 <div class="description"> |
|
19761 |
|
19762 </div> |
|
19763 |
|
19764 |
|
19765 |
|
19766 |
|
19767 <div class="emits box"> |
|
19768 <h4>Fires event <code>typeChange</code></h4> |
|
19769 |
|
19770 <p> |
|
19771 Fires when the value for the configuration attribute <code>type</code> is |
|
19772 changed. You can listen for the event using the <code>on</code> method if you |
|
19773 wish to be notified before the attribute's value has changed, or |
|
19774 using the <code>after</code> method if you wish to be notified after the |
|
19775 attribute's value has changed. |
|
19776 </p> |
|
19777 |
|
19778 <div class="params"> |
|
19779 <h4>Parameters:</h4> |
|
19780 |
|
19781 <ul class="params-list"> |
|
19782 <li class="param"> |
|
19783 <code class="param-name">e</code> |
|
19784 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19785 |
|
19786 <div class="param-description"> |
|
19787 An Event Facade object with the following |
|
19788 attribute-specific properties added: |
|
19789 </div> |
|
19790 |
|
19791 <ul class="params-list"> |
|
19792 <li class="param"> |
|
19793 <code class="param-name">prevVal</code> |
|
19794 <span class="type">Any</span> |
|
19795 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19796 </li> |
|
19797 <li class="param"> |
|
19798 <code class="param-name">newVal</code> |
|
19799 <span class="type">Any</span> |
|
19800 <div class="param-description">The value the attribute is to be set to.</div> |
|
19801 </li> |
|
19802 <li class="param"> |
|
19803 <code class="param-name">attrName</code> |
|
19804 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19805 <div class="param-description">The name of the attribute being set.</div> |
|
19806 </li> |
|
19807 <li class="param"> |
|
19808 <code class="param-name">subAttrName</code> |
|
19809 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19810 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19811 </li> |
|
19812 </ul> |
|
19813 </li> |
|
19814 </ul> |
|
19815 </div> |
|
19816 </div> |
|
19817 |
|
19818 |
|
19819 |
|
19820 </div> |
|
19821 |
|
19822 |
|
19823 <div id="attr_visible" class="attr item inherited"> |
|
19824 <a name="config_visible"></a> |
|
19825 <h3 class="name"><code>visible</code></h3> |
|
19826 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span> |
|
19827 |
|
19828 |
|
19829 |
|
19830 |
|
19831 |
|
19832 |
|
19833 |
|
19834 |
|
19835 |
|
19836 |
|
19837 |
|
19838 |
|
19839 |
|
19840 |
|
19841 |
|
19842 <div class="meta"> |
|
19843 |
|
19844 |
|
19845 <p>Inherited from |
|
19846 <a href="../classes/Widget.html#attr_visible">Widget</a>: |
|
19847 |
|
19848 |
|
19849 |
|
19850 <a href="../files/widget_js_Widget.js.html#l242"><code>widget/js/Widget.js:242</code></a> |
|
19851 |
|
19852 </p> |
|
19853 |
|
19854 |
|
19855 |
|
19856 |
|
19857 </div> |
|
19858 |
|
19859 <div class="description"> |
|
19860 <p>Boolean indicating whether or not the Widget is visible.</p> |
|
19861 </div> |
|
19862 |
|
19863 |
|
19864 <p><strong>Default:</strong> TRUE</p> |
|
19865 |
|
19866 |
|
19867 |
|
19868 <div class="emits box"> |
|
19869 <h4>Fires event <code>visibleChange</code></h4> |
|
19870 |
|
19871 <p> |
|
19872 Fires when the value for the configuration attribute <code>visible</code> is |
|
19873 changed. You can listen for the event using the <code>on</code> method if you |
|
19874 wish to be notified before the attribute's value has changed, or |
|
19875 using the <code>after</code> method if you wish to be notified after the |
|
19876 attribute's value has changed. |
|
19877 </p> |
|
19878 |
|
19879 <div class="params"> |
|
19880 <h4>Parameters:</h4> |
|
19881 |
|
19882 <ul class="params-list"> |
|
19883 <li class="param"> |
|
19884 <code class="param-name">e</code> |
|
19885 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19886 |
|
19887 <div class="param-description"> |
|
19888 An Event Facade object with the following |
|
19889 attribute-specific properties added: |
|
19890 </div> |
|
19891 |
|
19892 <ul class="params-list"> |
|
19893 <li class="param"> |
|
19894 <code class="param-name">prevVal</code> |
|
19895 <span class="type">Any</span> |
|
19896 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19897 </li> |
|
19898 <li class="param"> |
|
19899 <code class="param-name">newVal</code> |
|
19900 <span class="type">Any</span> |
|
19901 <div class="param-description">The value the attribute is to be set to.</div> |
|
19902 </li> |
|
19903 <li class="param"> |
|
19904 <code class="param-name">attrName</code> |
|
19905 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19906 <div class="param-description">The name of the attribute being set.</div> |
|
19907 </li> |
|
19908 <li class="param"> |
|
19909 <code class="param-name">subAttrName</code> |
|
19910 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
19911 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
19912 </li> |
|
19913 </ul> |
|
19914 </li> |
|
19915 </ul> |
|
19916 </div> |
|
19917 </div> |
|
19918 |
|
19919 |
|
19920 |
|
19921 </div> |
|
19922 |
|
19923 |
|
19924 <div id="attr_width" class="attr item inherited"> |
|
19925 <a name="config_width"></a> |
|
19926 <h3 class="name"><code>width</code></h3> |
|
19927 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a> | <a href="../classes/Number.html" class="crosslink">Number</a></span> |
|
19928 |
|
19929 |
|
19930 |
|
19931 |
|
19932 |
|
19933 |
|
19934 |
|
19935 |
|
19936 |
|
19937 |
|
19938 |
|
19939 |
|
19940 |
|
19941 |
|
19942 |
|
19943 <div class="meta"> |
|
19944 |
|
19945 |
|
19946 <p>Inherited from |
|
19947 <a href="../classes/Widget.html#attr_width">Widget</a>: |
|
19948 |
|
19949 |
|
19950 |
|
19951 <a href="../files/widget_js_Widget.js.html#l263"><code>widget/js/Widget.js:263</code></a> |
|
19952 |
|
19953 </p> |
|
19954 |
|
19955 |
|
19956 |
|
19957 |
|
19958 </div> |
|
19959 |
|
19960 <div class="description"> |
|
19961 <p>String with units, or number, representing the width of the Widget. If a number is provided, |
|
19962 the default unit, defined by the Widgets DEF_UNIT, property is used.</p> |
|
19963 </div> |
|
19964 |
|
19965 |
|
19966 <p><strong>Default:</strong> EMPTY_STR</p> |
|
19967 |
|
19968 |
|
19969 |
|
19970 <div class="emits box"> |
|
19971 <h4>Fires event <code>widthChange</code></h4> |
|
19972 |
|
19973 <p> |
|
19974 Fires when the value for the configuration attribute <code>width</code> is |
|
19975 changed. You can listen for the event using the <code>on</code> method if you |
|
19976 wish to be notified before the attribute's value has changed, or |
|
19977 using the <code>after</code> method if you wish to be notified after the |
|
19978 attribute's value has changed. |
|
19979 </p> |
|
19980 |
|
19981 <div class="params"> |
|
19982 <h4>Parameters:</h4> |
|
19983 |
|
19984 <ul class="params-list"> |
|
19985 <li class="param"> |
|
19986 <code class="param-name">e</code> |
|
19987 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
19988 |
|
19989 <div class="param-description"> |
|
19990 An Event Facade object with the following |
|
19991 attribute-specific properties added: |
|
19992 </div> |
|
19993 |
|
19994 <ul class="params-list"> |
|
19995 <li class="param"> |
|
19996 <code class="param-name">prevVal</code> |
|
19997 <span class="type">Any</span> |
|
19998 <div class="param-description">The value of the attribute, prior to it being set.</div> |
|
19999 </li> |
|
20000 <li class="param"> |
|
20001 <code class="param-name">newVal</code> |
|
20002 <span class="type">Any</span> |
|
20003 <div class="param-description">The value the attribute is to be set to.</div> |
|
20004 </li> |
|
20005 <li class="param"> |
|
20006 <code class="param-name">attrName</code> |
|
20007 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
20008 <div class="param-description">The name of the attribute being set.</div> |
|
20009 </li> |
|
20010 <li class="param"> |
|
20011 <code class="param-name">subAttrName</code> |
|
20012 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span> |
|
20013 <div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div> |
|
20014 </li> |
|
20015 </ul> |
|
20016 </li> |
|
20017 </ul> |
|
20018 </div> |
|
20019 </div> |
|
20020 |
|
20021 |
|
20022 |
|
20023 </div> |
|
20024 |
|
20025 |
|
20026 </div> |
|
20027 |
|
20028 |
|
20029 |
|
20030 <div id="events" class="api-class-tabpanel"> |
|
20031 <h2 class="off-left">Events</h2> |
|
20032 |
|
20033 |
|
20034 <div id="event_destroy" class="events item inherited"> |
|
20035 <h3 class="name"><code>destroy</code></h3> |
|
20036 <span class="type"></span> |
|
20037 |
|
20038 |
|
20039 |
|
20040 |
|
20041 |
|
20042 |
|
20043 |
|
20044 |
|
20045 |
|
20046 <div class="meta"> |
|
20047 |
|
20048 |
|
20049 <p>Inherited from |
|
20050 <a href="../classes/BaseObservable.html#event_destroy">BaseObservable</a>: |
|
20051 |
|
20052 |
|
20053 |
|
20054 <a href="../files/base_js_BaseObservable.js.html#l151"><code>base/js/BaseObservable.js:151</code></a> |
|
20055 |
|
20056 </p> |
|
20057 |
|
20058 |
|
20059 |
|
20060 |
|
20061 </div> |
|
20062 |
|
20063 <div class="description"> |
|
20064 <p> |
|
20065 Lifecycle event for the destroy phase, |
|
20066 fired prior to destruction. Invoking the preventDefault |
|
20067 method on the event object provided to subscribers will |
|
20068 prevent destruction from proceeding. |
|
20069 </p> |
|
20070 |
|
20071 <p> |
|
20072 Subscribers to the "after" moment of this event, will be notified |
|
20073 after destruction is complete (and as a result cannot prevent |
|
20074 destruction). |
|
20075 </p> |
|
20076 </div> |
|
20077 |
|
20078 |
|
20079 <div class="params"> |
|
20080 <h4>Event Payload:</h4> |
|
20081 |
|
20082 <ul class="params-list"> |
|
20083 |
|
20084 <li class="param"> |
|
20085 |
|
20086 <code class="param-name">e</code> |
|
20087 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
20088 |
|
20089 |
|
20090 |
|
20091 |
|
20092 <div class="param-description"> |
|
20093 <p>Event object</p> |
|
20094 </div> |
|
20095 |
|
20096 |
|
20097 </li> |
|
20098 |
|
20099 </ul> |
|
20100 </div> |
|
20101 |
|
20102 |
|
20103 |
|
20104 |
|
20105 </div> |
|
20106 |
|
20107 |
|
20108 <div id="event_init" class="events item inherited"> |
|
20109 <h3 class="name"><code>init</code></h3> |
|
20110 <span class="type"></span> |
|
20111 |
|
20112 |
|
20113 |
|
20114 |
|
20115 |
|
20116 |
|
20117 |
|
20118 |
|
20119 |
|
20120 <div class="meta"> |
|
20121 |
|
20122 |
|
20123 <p>Inherited from |
|
20124 <a href="../classes/BaseObservable.html#event_init">BaseObservable</a>: |
|
20125 |
|
20126 |
|
20127 |
|
20128 <a href="../files/base_js_BaseObservable.js.html#l62"><code>base/js/BaseObservable.js:62</code></a> |
|
20129 |
|
20130 </p> |
|
20131 |
|
20132 |
|
20133 |
|
20134 |
|
20135 </div> |
|
20136 |
|
20137 <div class="description"> |
|
20138 <p> |
|
20139 Lifecycle event for the init phase, fired prior to initialization. |
|
20140 Invoking the preventDefault() method on the event object provided |
|
20141 to subscribers will prevent initialization from occuring. |
|
20142 </p> |
|
20143 |
|
20144 <p> |
|
20145 Subscribers to the "after" momemt of this event, will be notified |
|
20146 after initialization of the object is complete (and therefore |
|
20147 cannot prevent initialization). |
|
20148 </p> |
|
20149 </div> |
|
20150 |
|
20151 |
|
20152 <div class="params"> |
|
20153 <h4>Event Payload:</h4> |
|
20154 |
|
20155 <ul class="params-list"> |
|
20156 |
|
20157 <li class="param"> |
|
20158 |
|
20159 <code class="param-name">e</code> |
|
20160 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
20161 |
|
20162 |
|
20163 |
|
20164 |
|
20165 <div class="param-description"> |
|
20166 <p>Event object, with a cfg property which |
|
20167 refers to the configuration object passed to the constructor.</p> |
|
20168 </div> |
|
20169 |
|
20170 |
|
20171 </li> |
|
20172 |
|
20173 </ul> |
|
20174 </div> |
|
20175 |
|
20176 |
|
20177 |
|
20178 |
|
20179 </div> |
|
20180 |
|
20181 |
|
20182 <div id="event_render" class="events item inherited"> |
|
20183 <h3 class="name"><code>render</code></h3> |
|
20184 <span class="type"></span> |
|
20185 |
|
20186 |
|
20187 |
|
20188 |
|
20189 |
|
20190 |
|
20191 |
|
20192 |
|
20193 |
|
20194 <div class="meta"> |
|
20195 |
|
20196 |
|
20197 <p>Inherited from |
|
20198 <a href="../classes/Widget.html#event_render">Widget</a>: |
|
20199 |
|
20200 |
|
20201 |
|
20202 <a href="../files/widget_js_Widget.js.html#l543"><code>widget/js/Widget.js:543</code></a> |
|
20203 |
|
20204 </p> |
|
20205 |
|
20206 |
|
20207 |
|
20208 |
|
20209 </div> |
|
20210 |
|
20211 <div class="description"> |
|
20212 <p>Lifecycle event for the render phase, fired prior to rendering the UI |
|
20213 for the widget (prior to invoking the widget's renderer method).</p> |
|
20214 |
|
20215 <p> |
|
20216 Subscribers to the "on" moment of this event, will be notified |
|
20217 before the widget is rendered. |
|
20218 </p> |
|
20219 |
|
20220 <p> |
|
20221 Subscribers to the "after" moment of this event, will be notified |
|
20222 after rendering is complete. |
|
20223 </p> |
|
20224 </div> |
|
20225 |
|
20226 |
|
20227 <div class="params"> |
|
20228 <h4>Event Payload:</h4> |
|
20229 |
|
20230 <ul class="params-list"> |
|
20231 |
|
20232 <li class="param"> |
|
20233 |
|
20234 <code class="param-name">e</code> |
|
20235 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
20236 |
|
20237 |
|
20238 |
|
20239 |
|
20240 <div class="param-description"> |
|
20241 <p>The Event Facade</p> |
|
20242 </div> |
|
20243 |
|
20244 |
|
20245 </li> |
|
20246 |
|
20247 </ul> |
|
20248 </div> |
|
20249 |
|
20250 |
|
20251 |
|
20252 |
|
20253 </div> |
|
20254 |
|
20255 |
|
20256 <div id="event_widget:contentUpdate" class="events item inherited"> |
|
20257 <h3 class="name"><code>widget:contentUpdate</code></h3> |
|
20258 <span class="type"></span> |
|
20259 |
|
20260 |
|
20261 |
|
20262 |
|
20263 |
|
20264 |
|
20265 |
|
20266 |
|
20267 |
|
20268 <div class="meta"> |
|
20269 |
|
20270 |
|
20271 <p>Inherited from |
|
20272 <a href="../classes/Widget.html#event_widget:contentUpdate">Widget</a>: |
|
20273 |
|
20274 |
|
20275 |
|
20276 <a href="../files/widget_js_Widget.js.html#l397"><code>widget/js/Widget.js:397</code></a> |
|
20277 |
|
20278 </p> |
|
20279 |
|
20280 |
|
20281 |
|
20282 |
|
20283 </div> |
|
20284 |
|
20285 <div class="description"> |
|
20286 <p>Notification event, which widget implementations can fire, when |
|
20287 they change the content of the widget. This event has no default |
|
20288 behavior and cannot be prevented, so the "on" or "after" |
|
20289 moments are effectively equivalent (with on listeners being invoked before |
|
20290 after listeners).</p> |
|
20291 </div> |
|
20292 |
|
20293 |
|
20294 <div class="params"> |
|
20295 <h4>Event Payload:</h4> |
|
20296 |
|
20297 <ul class="params-list"> |
|
20298 |
|
20299 <li class="param"> |
|
20300 |
|
20301 <code class="param-name">e</code> |
|
20302 <span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span> |
|
20303 |
|
20304 |
|
20305 |
|
20306 |
|
20307 <div class="param-description"> |
|
20308 <p>The Event Facade</p> |
|
20309 </div> |
|
20310 |
|
20311 |
|
20312 </li> |
|
20313 |
|
20314 </ul> |
|
20315 </div> |
|
20316 |
|
20317 |
|
20318 |
|
20319 |
|
20320 </div> |
|
20321 |
|
20322 |
|
20323 </div> |
|
20324 |
|
20325 </div> |
|
20326 </div> |
|
20327 |
|
20328 </div> |
|
20329 </div> |
|
20330 </div> |
|
20331 </div> |
|
20332 </div> |
|
20333 </div> |
|
20334 <script src="../assets/vendor/prettify/prettify-min.js"></script> |
|
20335 <script>prettyPrint();</script> |
|
20336 <script src="../assets/js/yui-prettify.js"></script> |
|
20337 <script src="../assets/../api.js"></script> |
|
20338 <script src="../assets/js/api-filter.js"></script> |
|
20339 <script src="../assets/js/api-list.js"></script> |
|
20340 <script src="../assets/js/api-search.js"></script> |
|
20341 <script src="../assets/js/apidocs.js"></script> |
|
20342 </body> |
|
20343 </html> |