5
<title>Button - YUI 3</title>
6
<link rel="stylesheet" href="http://yui.yahooapis.com/3.5.0/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
<script src="http://yui.yahooapis.com/3.5.0/build/yui/yui-min.js"></script>
11
<body class="yui3-skin-sam">
14
<div id="hd" class="yui3-g header">
15
<div class="yui3-u-3-4">
17
<h1><img src="../assets/css/logo.png" title="YUI 3"></h1>
20
<div class="yui3-u-1-4 version">
21
<em>API Docs for: 3.5.1</em>
24
<div id="bd" class="yui3-g">
26
<div class="yui3-u-1-4">
27
<div id="docs-sidebar" class="sidebar apidocs">
29
<h2 class="off-left">APIs</h2>
30
<div id="api-tabview" class="tabview">
32
<li><a href="#api-classes">Classes</a></li>
33
<li><a href="#api-modules">Modules</a></li>
36
<div id="api-tabview-filter">
37
<input type="search" id="api-filter" placeholder="Type to filter APIs">
40
<div id="api-tabview-panel">
41
<ul id="api-classes" class="apis classes">
43
<li><a href="../classes/Anim.html">Anim</a></li>
45
<li><a href="../classes/App.html">App</a></li>
47
<li><a href="../classes/App.Base.html">App.Base</a></li>
49
<li><a href="../classes/App.Transitions.html">App.Transitions</a></li>
51
<li><a href="../classes/App.TransitionsNative.html">App.TransitionsNative</a></li>
53
<li><a href="../classes/AreaSeries.html">AreaSeries</a></li>
55
<li><a href="../classes/AreaSplineSeries.html">AreaSplineSeries</a></li>
57
<li><a href="../classes/Array.html">Array</a></li>
59
<li><a href="../classes/ArrayList.html">ArrayList</a></li>
61
<li><a href="../classes/ArraySort.html">ArraySort</a></li>
63
<li><a href="../classes/AsyncQueue.html">AsyncQueue</a></li>
65
<li><a href="../classes/Attribute.html">Attribute</a></li>
67
<li><a href="../classes/AttributeCore.html">AttributeCore</a></li>
69
<li><a href="../classes/AttributeEvents.html">AttributeEvents</a></li>
71
<li><a href="../classes/AttributeExtras.html">AttributeExtras</a></li>
73
<li><a href="../classes/AttributeLite.html">AttributeLite</a></li>
75
<li><a href="../classes/AutoComplete.html">AutoComplete</a></li>
77
<li><a href="../classes/AutoCompleteBase.html">AutoCompleteBase</a></li>
79
<li><a href="../classes/AutoCompleteFilters.html">AutoCompleteFilters</a></li>
81
<li><a href="../classes/AutoCompleteHighlighters.html">AutoCompleteHighlighters</a></li>
83
<li><a href="../classes/AutoCompleteList.html">AutoCompleteList</a></li>
85
<li><a href="../classes/Axis.html">Axis</a></li>
87
<li><a href="../classes/AxisType.html">AxisType</a></li>
89
<li><a href="../classes/BarSeries.html">BarSeries</a></li>
91
<li><a href="../classes/Base.html">Base</a></li>
93
<li><a href="../classes/BaseCore.html">BaseCore</a></li>
95
<li><a href="../classes/BottomAxisLayout.html">BottomAxisLayout</a></li>
97
<li><a href="../classes/Button.html">Button</a></li>
99
<li><a href="../classes/ButtonCore.html">ButtonCore</a></li>
101
<li><a href="../classes/ButtonGroup.html">ButtonGroup</a></li>
103
<li><a href="../classes/ButtonPlugin.html">ButtonPlugin</a></li>
105
<li><a href="../classes/Cache.html">Cache</a></li>
107
<li><a href="../classes/CacheOffline.html">CacheOffline</a></li>
109
<li><a href="../classes/Calendar.html">Calendar</a></li>
111
<li><a href="../classes/CalendarBase.html">CalendarBase</a></li>
113
<li><a href="../classes/CanvasCircle.html">CanvasCircle</a></li>
115
<li><a href="../classes/CanvasDrawing.html">CanvasDrawing</a></li>
117
<li><a href="../classes/CanvasEllipse.html">CanvasEllipse</a></li>
119
<li><a href="../classes/CanvasGraphic.html">CanvasGraphic</a></li>
121
<li><a href="../classes/CanvasPath.html">CanvasPath</a></li>
123
<li><a href="../classes/CanvasPieSlice.html">CanvasPieSlice</a></li>
125
<li><a href="../classes/CanvasRect.html">CanvasRect</a></li>
127
<li><a href="../classes/CanvasShape.html">CanvasShape</a></li>
129
<li><a href="../classes/CartesianChart.html">CartesianChart</a></li>
131
<li><a href="../classes/CartesianSeries.html">CartesianSeries</a></li>
133
<li><a href="../classes/CategoryAxis.html">CategoryAxis</a></li>
135
<li><a href="../classes/Chart.html">Chart</a></li>
137
<li><a href="../classes/ChartBase.html">ChartBase</a></li>
139
<li><a href="../classes/ChartLegend.html">ChartLegend</a></li>
141
<li><a href="../classes/Circle.html">Circle</a></li>
143
<li><a href="../classes/ClassNameManager.html">ClassNameManager</a></li>
145
<li><a href="../classes/ClickableRail.html">ClickableRail</a></li>
147
<li><a href="../classes/ColumnSeries.html">ColumnSeries</a></li>
149
<li><a href="../classes/ComboSeries.html">ComboSeries</a></li>
151
<li><a href="../classes/ComboSplineSeries.html">ComboSplineSeries</a></li>
153
<li><a href="../classes/config.html">config</a></li>
155
<li><a href="../classes/Console.html">Console</a></li>
157
<li><a href="../classes/Controller.html">Controller</a></li>
159
<li><a href="../classes/Cookie.html">Cookie</a></li>
161
<li><a href="../classes/CurveUtil.html">CurveUtil</a></li>
163
<li><a href="../classes/CustomEvent.html">CustomEvent</a></li>
165
<li><a href="../classes/DataSchema.Array.html">DataSchema.Array</a></li>
167
<li><a href="../classes/DataSchema.Base.html">DataSchema.Base</a></li>
169
<li><a href="../classes/DataSchema.JSON.html">DataSchema.JSON</a></li>
171
<li><a href="../classes/DataSchema.Text.html">DataSchema.Text</a></li>
173
<li><a href="../classes/DataSchema.XML.html">DataSchema.XML</a></li>
175
<li><a href="../classes/DataSource.Function.html">DataSource.Function</a></li>
177
<li><a href="../classes/DataSource.Get.html">DataSource.Get</a></li>
179
<li><a href="../classes/DataSource.IO.html">DataSource.IO</a></li>
181
<li><a href="../classes/DataSource.Local.html">DataSource.Local</a></li>
183
<li><a href="../classes/DataSourceArraySchema.html">DataSourceArraySchema</a></li>
185
<li><a href="../classes/DataSourceCache.html">DataSourceCache</a></li>
187
<li><a href="../classes/DataSourceCacheExtension.html">DataSourceCacheExtension</a></li>
189
<li><a href="../classes/DataSourceJSONSchema.html">DataSourceJSONSchema</a></li>
191
<li><a href="../classes/DataSourceTextSchema.html">DataSourceTextSchema</a></li>
193
<li><a href="../classes/DataSourceXMLSchema.html">DataSourceXMLSchema</a></li>
195
<li><a href="../classes/DataTable.html">DataTable</a></li>
197
<li><a href="../classes/DataTable.Base.html">DataTable.Base</a></li>
199
<li><a href="../classes/DataTable.BodyView.html">DataTable.BodyView</a></li>
201
<li><a href="../classes/DataTable.ColumnWidths.html">DataTable.ColumnWidths</a></li>
203
<li><a href="../classes/DataTable.Core.html">DataTable.Core</a></li>
205
<li><a href="../classes/DataTable.HeaderView.html">DataTable.HeaderView</a></li>
207
<li><a href="../classes/DataTable.Message.html">DataTable.Message</a></li>
209
<li><a href="../classes/DataTable.Mutable.html">DataTable.Mutable</a></li>
211
<li><a href="../classes/DataTable.Scrollable.html">DataTable.Scrollable</a></li>
213
<li><a href="../classes/DataTable.Sortable.html">DataTable.Sortable</a></li>
215
<li><a href="../classes/DataType.Date.html">DataType.Date</a></li>
217
<li><a href="../classes/DataType.Date.Locale.html">DataType.Date.Locale</a></li>
219
<li><a href="../classes/DataType.Number.html">DataType.Number</a></li>
221
<li><a href="../classes/DataType.XML.html">DataType.XML</a></li>
223
<li><a href="../classes/DD.DDM.html">DD.DDM</a></li>
225
<li><a href="../classes/DD.Delegate.html">DD.Delegate</a></li>
227
<li><a href="../classes/DD.Drag.html">DD.Drag</a></li>
229
<li><a href="../classes/DD.Drop.html">DD.Drop</a></li>
231
<li><a href="../classes/DD.Scroll.html">DD.Scroll</a></li>
233
<li><a href="../classes/Dial.html">Dial</a></li>
235
<li><a href="../classes/Do.html">Do</a></li>
237
<li><a href="../classes/Do.AlterArgs.html">Do.AlterArgs</a></li>
239
<li><a href="../classes/Do.AlterReturn.html">Do.AlterReturn</a></li>
241
<li><a href="../classes/Do.Error.html">Do.Error</a></li>
243
<li><a href="../classes/Do.Halt.html">Do.Halt</a></li>
245
<li><a href="../classes/Do.Method.html">Do.Method</a></li>
247
<li><a href="../classes/Do.Prevent.html">Do.Prevent</a></li>
249
<li><a href="../classes/DOM.html">DOM</a></li>
251
<li><a href="../classes/DOMEventFacade.html">DOMEventFacade</a></li>
253
<li><a href="../classes/Drawing.html">Drawing</a></li>
255
<li><a href="../classes/Easing.html">Easing</a></li>
257
<li><a href="../classes/EditorBase.html">EditorBase</a></li>
259
<li><a href="../classes/EditorSelection.html">EditorSelection</a></li>
261
<li><a href="../classes/Ellipse.html">Ellipse</a></li>
263
<li><a href="../classes/EllipseGroup.html">EllipseGroup</a></li>
265
<li><a href="../classes/Escape.html">Escape</a></li>
267
<li><a href="../classes/Event.html">Event</a></li>
269
<li><a href="../classes/EventFacade.html">EventFacade</a></li>
271
<li><a href="../classes/EventHandle.html">EventHandle</a></li>
273
<li><a href="../classes/EventTarget.html">EventTarget</a></li>
275
<li><a href="../classes/ExecCommand.html">ExecCommand</a></li>
277
<li><a href="../classes/Features.html">Features</a></li>
279
<li><a href="../classes/File.html">File</a></li>
281
<li><a href="../classes/FileFlash.html">FileFlash</a></li>
283
<li><a href="../classes/FileHTML5.html">FileHTML5</a></li>
285
<li><a href="../classes/Fills.html">Fills</a></li>
287
<li><a href="../classes/Frame.html">Frame</a></li>
289
<li><a href="../classes/Get.html">Get</a></li>
291
<li><a href="../classes/Get.Transaction.html">Get.Transaction</a></li>
293
<li><a href="../classes/GetNodeJS.html">GetNodeJS</a></li>
295
<li><a href="../classes/Graph.html">Graph</a></li>
297
<li><a href="../classes/Graphic.html">Graphic</a></li>
299
<li><a href="../classes/GraphicBase.html">GraphicBase</a></li>
301
<li><a href="../classes/Gridlines.html">Gridlines</a></li>
303
<li><a href="../classes/GroupCircle.html">GroupCircle</a></li>
305
<li><a href="../classes/GroupDiamond.html">GroupDiamond</a></li>
307
<li><a href="../classes/GroupRect.html">GroupRect</a></li>
309
<li><a href="../classes/Handlebars.html">Handlebars</a></li>
311
<li><a href="../classes/Highlight.html">Highlight</a></li>
313
<li><a href="../classes/Histogram.html">Histogram</a></li>
315
<li><a href="../classes/HistoryBase.html">HistoryBase</a></li>
317
<li><a href="../classes/HistoryHash.html">HistoryHash</a></li>
319
<li><a href="../classes/HistoryHTML5.html">HistoryHTML5</a></li>
321
<li><a href="../classes/HorizontalLegendLayout.html">HorizontalLegendLayout</a></li>
323
<li><a href="../classes/ImgLoadGroup.html">ImgLoadGroup</a></li>
325
<li><a href="../classes/ImgLoadImgObj.html">ImgLoadImgObj</a></li>
327
<li><a href="../classes/Intl.html">Intl</a></li>
329
<li><a href="../classes/IO.html">IO</a></li>
331
<li><a href="../classes/JSON.html">JSON</a></li>
333
<li><a href="../classes/JSONPRequest.html">JSONPRequest</a></li>
335
<li><a href="../classes/Lang.html">Lang</a></li>
337
<li><a href="../classes/LeftAxisLayout.html">LeftAxisLayout</a></li>
339
<li><a href="../classes/Lines.html">Lines</a></li>
341
<li><a href="../classes/LineSeries.html">LineSeries</a></li>
343
<li><a href="../classes/Loader.html">Loader</a></li>
345
<li><a href="../classes/MarkerSeries.html">MarkerSeries</a></li>
347
<li><a href="../classes/Matrix.html">Matrix</a></li>
349
<li><a href="../classes/Model.html">Model</a></li>
351
<li><a href="../classes/ModelList.html">ModelList</a></li>
353
<li><a href="../classes/Node.html">Node</a></li>
355
<li><a href="../classes/NodeList.html">NodeList</a></li>
357
<li><a href="../classes/NumericAxis.html">NumericAxis</a></li>
359
<li><a href="../classes/Object.html">Object</a></li>
361
<li><a href="../classes/Overlay.html">Overlay</a></li>
363
<li><a href="../classes/Panel.html">Panel</a></li>
365
<li><a href="../classes/Parallel.html">Parallel</a></li>
367
<li><a href="../classes/Path.html">Path</a></li>
369
<li><a href="../classes/PieChart.html">PieChart</a></li>
371
<li><a href="../classes/PieSeries.html">PieSeries</a></li>
373
<li><a href="../classes/Pjax.html">Pjax</a></li>
375
<li><a href="../classes/PjaxBase.html">PjaxBase</a></li>
377
<li><a href="../classes/Plots.html">Plots</a></li>
379
<li><a href="../classes/Plugin.Align.html">Plugin.Align</a></li>
381
<li><a href="../classes/Plugin.AutoComplete.html">Plugin.AutoComplete</a></li>
383
<li><a href="../classes/Plugin.Base.html">Plugin.Base</a></li>
385
<li><a href="../classes/Plugin.Cache.html">Plugin.Cache</a></li>
387
<li><a href="../classes/Plugin.CalendarNavigator.html">Plugin.CalendarNavigator</a></li>
389
<li><a href="../classes/Plugin.ConsoleFilters.html">Plugin.ConsoleFilters</a></li>
391
<li><a href="../classes/Plugin.CreateLinkBase.html">Plugin.CreateLinkBase</a></li>
393
<li><a href="../classes/Plugin.DataTableDataSource.html">Plugin.DataTableDataSource</a></li>
395
<li><a href="../classes/Plugin.DDConstrained.html">Plugin.DDConstrained</a></li>
397
<li><a href="../classes/Plugin.DDNodeScroll.html">Plugin.DDNodeScroll</a></li>
399
<li><a href="../classes/Plugin.DDProxy.html">Plugin.DDProxy</a></li>
401
<li><a href="../classes/Plugin.DDWindowScroll.html">Plugin.DDWindowScroll</a></li>
403
<li><a href="../classes/Plugin.Drag.html">Plugin.Drag</a></li>
405
<li><a href="../classes/Plugin.Drop.html">Plugin.Drop</a></li>
407
<li><a href="../classes/Plugin.EditorBidi.html">Plugin.EditorBidi</a></li>
409
<li><a href="../classes/Plugin.EditorBR.html">Plugin.EditorBR</a></li>
411
<li><a href="../classes/Plugin.EditorLists.html">Plugin.EditorLists</a></li>
413
<li><a href="../classes/Plugin.EditorPara.html">Plugin.EditorPara</a></li>
415
<li><a href="../classes/Plugin.EditorParaBase.html">Plugin.EditorParaBase</a></li>
417
<li><a href="../classes/Plugin.EditorParaIE.html">Plugin.EditorParaIE</a></li>
419
<li><a href="../classes/Plugin.EditorTab.html">Plugin.EditorTab</a></li>
421
<li><a href="../classes/Plugin.ExecCommand.html">Plugin.ExecCommand</a></li>
423
<li><a href="../classes/Plugin.Flick.html">Plugin.Flick</a></li>
425
<li><a href="../classes/Plugin.Host.html">Plugin.Host</a></li>
427
<li><a href="../classes/plugin.NodeFocusManager.html">plugin.NodeFocusManager</a></li>
429
<li><a href="../classes/Plugin.NodeFX.html">Plugin.NodeFX</a></li>
431
<li><a href="../classes/plugin.NodeMenuNav.html">plugin.NodeMenuNav</a></li>
433
<li><a href="../classes/Plugin.Pjax.html">Plugin.Pjax</a></li>
435
<li><a href="../classes/Plugin.Resize.html">Plugin.Resize</a></li>
437
<li><a href="../classes/Plugin.ResizeConstrained.html">Plugin.ResizeConstrained</a></li>
439
<li><a href="../classes/Plugin.ResizeProxy.html">Plugin.ResizeProxy</a></li>
441
<li><a href="../classes/Plugin.ScrollViewList.html">Plugin.ScrollViewList</a></li>
443
<li><a href="../classes/Plugin.ScrollViewPaginator.html">Plugin.ScrollViewPaginator</a></li>
445
<li><a href="../classes/Plugin.ScrollViewScrollbars.html">Plugin.ScrollViewScrollbars</a></li>
447
<li><a href="../classes/Plugin.Shim.html">Plugin.Shim</a></li>
449
<li><a href="../classes/Plugin.SortScroll.html">Plugin.SortScroll</a></li>
451
<li><a href="../classes/Plugin.WidgetAnim.html">Plugin.WidgetAnim</a></li>
453
<li><a href="../classes/Pollable.html">Pollable</a></li>
455
<li><a href="../classes/Profiler.html">Profiler</a></li>
457
<li><a href="../classes/QueryString.html">QueryString</a></li>
459
<li><a href="../classes/Queue.html">Queue</a></li>
461
<li><a href="../classes/Record.html">Record</a></li>
463
<li><a href="../classes/Recordset.html">Recordset</a></li>
465
<li><a href="../classes/RecordsetFilter.html">RecordsetFilter</a></li>
467
<li><a href="../classes/RecordsetIndexer.html">RecordsetIndexer</a></li>
469
<li><a href="../classes/RecordsetSort.html">RecordsetSort</a></li>
471
<li><a href="../classes/Rect.html">Rect</a></li>
473
<li><a href="../classes/Renderer.html">Renderer</a></li>
475
<li><a href="../classes/Resize.html">Resize</a></li>
477
<li><a href="../classes/RightAxisLayout.html">RightAxisLayout</a></li>
479
<li><a href="../classes/Router.html">Router</a></li>
481
<li><a href="../classes/ScrollView.html">ScrollView</a></li>
483
<li><a href="../classes/Selector.html">Selector</a></li>
485
<li><a href="../classes/Shape.html">Shape</a></li>
487
<li><a href="../classes/ShapeGroup.html">ShapeGroup</a></li>
489
<li><a href="../classes/Slider.html">Slider</a></li>
491
<li><a href="../classes/SliderBase.html">SliderBase</a></li>
493
<li><a href="../classes/SliderValueRange.html">SliderValueRange</a></li>
495
<li><a href="../classes/Sortable.html">Sortable</a></li>
497
<li><a href="../classes/SplineSeries.html">SplineSeries</a></li>
499
<li><a href="../classes/StackedAreaSeries.html">StackedAreaSeries</a></li>
501
<li><a href="../classes/StackedAreaSplineSeries.html">StackedAreaSplineSeries</a></li>
503
<li><a href="../classes/StackedAxis.html">StackedAxis</a></li>
505
<li><a href="../classes/StackedBarSeries.html">StackedBarSeries</a></li>
507
<li><a href="../classes/StackedColumnSeries.html">StackedColumnSeries</a></li>
509
<li><a href="../classes/StackedComboSeries.html">StackedComboSeries</a></li>
511
<li><a href="../classes/StackedComboSplineSeries.html">StackedComboSplineSeries</a></li>
513
<li><a href="../classes/StackedLineSeries.html">StackedLineSeries</a></li>
515
<li><a href="../classes/StackedMarkerSeries.html">StackedMarkerSeries</a></li>
517
<li><a href="../classes/StackedSplineSeries.html">StackedSplineSeries</a></li>
519
<li><a href="../classes/StackingUtil.html">StackingUtil</a></li>
521
<li><a href="../classes/State.html">State</a></li>
523
<li><a href="../classes/StyleSheet.html">StyleSheet</a></li>
525
<li><a href="../classes/Subscriber.html">Subscriber</a></li>
527
<li><a href="../classes/SVGCircle.html">SVGCircle</a></li>
529
<li><a href="../classes/SVGDrawing.html">SVGDrawing</a></li>
531
<li><a href="../classes/SVGEllipse.html">SVGEllipse</a></li>
533
<li><a href="../classes/SVGGraphic.html">SVGGraphic</a></li>
535
<li><a href="../classes/SVGPath.html">SVGPath</a></li>
537
<li><a href="../classes/SVGPieSlice.html">SVGPieSlice</a></li>
539
<li><a href="../classes/SVGRect.html">SVGRect</a></li>
541
<li><a href="../classes/SVGShape.html">SVGShape</a></li>
543
<li><a href="../classes/SWF.html">SWF</a></li>
545
<li><a href="../classes/SWFDetect.html">SWFDetect</a></li>
547
<li><a href="../classes/SyntheticEvent.html">SyntheticEvent</a></li>
549
<li><a href="../classes/SyntheticEvent.Notifier.html">SyntheticEvent.Notifier</a></li>
551
<li><a href="../classes/SynthRegistry.html">SynthRegistry</a></li>
553
<li><a href="../classes/Tab.html">Tab</a></li>
555
<li><a href="../classes/TabView.html">TabView</a></li>
557
<li><a href="../classes/Test.ArrayAssert.html">Test.ArrayAssert</a></li>
559
<li><a href="../classes/Test.Assert.html">Test.Assert</a></li>
561
<li><a href="../classes/Test.AssertionError.html">Test.AssertionError</a></li>
563
<li><a href="../classes/Test.ComparisonFailure.html">Test.ComparisonFailure</a></li>
565
<li><a href="../classes/Test.Console.html">Test.Console</a></li>
567
<li><a href="../classes/Test.CoverageFormat.html">Test.CoverageFormat</a></li>
569
<li><a href="../classes/Test.DateAssert.html">Test.DateAssert</a></li>
571
<li><a href="../classes/Test.EventTarget.html">Test.EventTarget</a></li>
573
<li><a href="../classes/Test.Mock.html">Test.Mock</a></li>
575
<li><a href="../classes/Test.Mock.Value.html">Test.Mock.Value</a></li>
577
<li><a href="../classes/Test.ObjectAssert.html">Test.ObjectAssert</a></li>
579
<li><a href="../classes/Test.Reporter.html">Test.Reporter</a></li>
581
<li><a href="../classes/Test.Results.html">Test.Results</a></li>
583
<li><a href="../classes/Test.Runner.html">Test.Runner</a></li>
585
<li><a href="../classes/Test.ShouldError.html">Test.ShouldError</a></li>
587
<li><a href="../classes/Test.ShouldFail.html">Test.ShouldFail</a></li>
589
<li><a href="../classes/Test.TestCase.html">Test.TestCase</a></li>
591
<li><a href="../classes/Test.TestFormat.html">Test.TestFormat</a></li>
593
<li><a href="../classes/Test.TestNode.html">Test.TestNode</a></li>
595
<li><a href="../classes/Test.TestRunner.html">Test.TestRunner</a></li>
597
<li><a href="../classes/Test.TestSuite.html">Test.TestSuite</a></li>
599
<li><a href="../classes/Test.UnexpectedError.html">Test.UnexpectedError</a></li>
601
<li><a href="../classes/Test.UnexpectedValue.html">Test.UnexpectedValue</a></li>
603
<li><a href="../classes/Test.Wait.html">Test.Wait</a></li>
605
<li><a href="../classes/Text.AccentFold.html">Text.AccentFold</a></li>
607
<li><a href="../classes/Text.WordBreak.html">Text.WordBreak</a></li>
609
<li><a href="../classes/TimeAxis.html">TimeAxis</a></li>
611
<li><a href="../classes/ToggleButton.html">ToggleButton</a></li>
613
<li><a href="../classes/TopAxisLayout.html">TopAxisLayout</a></li>
615
<li><a href="../classes/Transition.html">Transition</a></li>
617
<li><a href="../classes/UA.html">UA</a></li>
619
<li><a href="../classes/Uploader.html">Uploader</a></li>
621
<li><a href="../classes/Uploader.Queue.html">Uploader.Queue</a></li>
623
<li><a href="../classes/UploaderFlash.html">UploaderFlash</a></li>
625
<li><a href="../classes/UploaderHTML5.html">UploaderHTML5</a></li>
627
<li><a href="../classes/ValueChange.html">ValueChange</a></li>
629
<li><a href="../classes/VerticalLegendLayout.html">VerticalLegendLayout</a></li>
631
<li><a href="../classes/View.html">View</a></li>
633
<li><a href="../classes/View.NodeMap.html">View.NodeMap</a></li>
635
<li><a href="../classes/VMLCircle.html">VMLCircle</a></li>
637
<li><a href="../classes/VMLDrawing.html">VMLDrawing</a></li>
639
<li><a href="../classes/VMLEllipse.html">VMLEllipse</a></li>
641
<li><a href="../classes/VMLGraphic.html">VMLGraphic</a></li>
643
<li><a href="../classes/VMLPath.html">VMLPath</a></li>
645
<li><a href="../classes/VMLPieSlice.html">VMLPieSlice</a></li>
647
<li><a href="../classes/VMLRect.html">VMLRect</a></li>
649
<li><a href="../classes/VMLShape.html">VMLShape</a></li>
651
<li><a href="../classes/Widget.html">Widget</a></li>
653
<li><a href="../classes/WidgetAutohide.html">WidgetAutohide</a></li>
655
<li><a href="../classes/WidgetButtons.html">WidgetButtons</a></li>
657
<li><a href="../classes/WidgetChild.html">WidgetChild</a></li>
659
<li><a href="../classes/WidgetModality.html">WidgetModality</a></li>
661
<li><a href="../classes/WidgetParent.html">WidgetParent</a></li>
663
<li><a href="../classes/WidgetPosition.html">WidgetPosition</a></li>
665
<li><a href="../classes/WidgetPositionAlign.html">WidgetPositionAlign</a></li>
667
<li><a href="../classes/WidgetPositionConstrain.html">WidgetPositionConstrain</a></li>
669
<li><a href="../classes/WidgetStack.html">WidgetStack</a></li>
671
<li><a href="../classes/WidgetStdMod.html">WidgetStdMod</a></li>
673
<li><a href="../classes/YQL.html">YQL</a></li>
675
<li><a href="../classes/YQLRequest.html">YQLRequest</a></li>
677
<li><a href="../classes/YUI.html">YUI</a></li>
679
<li><a href="../classes/YUI~substitute.html">YUI~substitute</a></li>
683
<ul id="api-modules" class="apis modules">
685
<li><a href="../modules/align-plugin.html">align-plugin</a></li>
687
<li><a href="../modules/anim.html">anim</a></li>
689
<li><a href="../modules/anim-base.html">anim-base</a></li>
691
<li><a href="../modules/anim-color.html">anim-color</a></li>
693
<li><a href="../modules/anim-curve.html">anim-curve</a></li>
695
<li><a href="../modules/anim-easing.html">anim-easing</a></li>
697
<li><a href="../modules/anim-node-plugin.html">anim-node-plugin</a></li>
699
<li><a href="../modules/anim-scroll.html">anim-scroll</a></li>
701
<li><a href="../modules/anim-shape-transform.html">anim-shape-transform</a></li>
703
<li><a href="../modules/anim-xy.html">anim-xy</a></li>
705
<li><a href="../modules/app.html">app</a></li>
707
<li><a href="../modules/app-base.html">app-base</a></li>
709
<li><a href="../modules/app-transitions.html">app-transitions</a></li>
711
<li><a href="../modules/app-transitions-native.html">app-transitions-native</a></li>
713
<li><a href="../modules/array-extras.html">array-extras</a></li>
715
<li><a href="../modules/array-invoke.html">array-invoke</a></li>
717
<li><a href="../modules/arraylist.html">arraylist</a></li>
719
<li><a href="../modules/arraylist-add.html">arraylist-add</a></li>
721
<li><a href="../modules/arraylist-filter.html">arraylist-filter</a></li>
723
<li><a href="../modules/arraysort.html">arraysort</a></li>
725
<li><a href="../modules/async-queue.html">async-queue</a></li>
727
<li><a href="../modules/attribute.html">attribute</a></li>
729
<li><a href="../modules/attribute-base.html">attribute-base</a></li>
731
<li><a href="../modules/attribute-complex.html">attribute-complex</a></li>
733
<li><a href="../modules/attribute-core.html">attribute-core</a></li>
735
<li><a href="../modules/attribute-events.html">attribute-events</a></li>
737
<li><a href="../modules/attribute-extras.html">attribute-extras</a></li>
739
<li><a href="../modules/autocomplete.html">autocomplete</a></li>
741
<li><a href="../modules/autocomplete-base.html">autocomplete-base</a></li>
743
<li><a href="../modules/autocomplete-filters.html">autocomplete-filters</a></li>
745
<li><a href="../modules/autocomplete-filters-accentfold.html">autocomplete-filters-accentfold</a></li>
747
<li><a href="../modules/autocomplete-highlighters.html">autocomplete-highlighters</a></li>
749
<li><a href="../modules/autocomplete-highlighters-accentfold.html">autocomplete-highlighters-accentfold</a></li>
751
<li><a href="../modules/autocomplete-list.html">autocomplete-list</a></li>
753
<li><a href="../modules/autocomplete-list-keys.html">autocomplete-list-keys</a></li>
755
<li><a href="../modules/autocomplete-plugin.html">autocomplete-plugin</a></li>
757
<li><a href="../modules/autocomplete-sources.html">autocomplete-sources</a></li>
759
<li><a href="../modules/base.html">base</a></li>
761
<li><a href="../modules/base-base.html">base-base</a></li>
763
<li><a href="../modules/base-build.html">base-build</a></li>
765
<li><a href="../modules/base-core.html">base-core</a></li>
767
<li><a href="../modules/base-pluginhost.html">base-pluginhost</a></li>
769
<li><a href="../modules/button.html">button</a></li>
771
<li><a href="../modules/button-core.html">button-core</a></li>
773
<li><a href="../modules/button-group.html">button-group</a></li>
775
<li><a href="../modules/button-plugin.html">button-plugin</a></li>
777
<li><a href="../modules/cache.html">cache</a></li>
779
<li><a href="../modules/cache-base.html">cache-base</a></li>
781
<li><a href="../modules/cache-offline.html">cache-offline</a></li>
783
<li><a href="../modules/cache-plugin.html">cache-plugin</a></li>
785
<li><a href="../modules/calendar.html">calendar</a></li>
787
<li><a href="../modules/calendar-base.html">calendar-base</a></li>
789
<li><a href="../modules/calendarnavigator.html">calendarnavigator</a></li>
791
<li><a href="../modules/charts.html">charts</a></li>
793
<li><a href="../modules/charts-legend.html">charts-legend</a></li>
795
<li><a href="../modules/classnamemanager.html">classnamemanager</a></li>
797
<li><a href="../modules/clickable-rail.html">clickable-rail</a></li>
799
<li><a href="../modules/collection.html">collection</a></li>
801
<li><a href="../modules/console.html">console</a></li>
803
<li><a href="../modules/console-filters.html">console-filters</a></li>
805
<li><a href="../modules/cookie.html">cookie</a></li>
807
<li><a href="../modules/createlink-base.html">createlink-base</a></li>
809
<li><a href="../modules/dataschema.html">dataschema</a></li>
811
<li><a href="../modules/dataschema-array.html">dataschema-array</a></li>
813
<li><a href="../modules/dataschema-base.html">dataschema-base</a></li>
815
<li><a href="../modules/dataschema-json.html">dataschema-json</a></li>
817
<li><a href="../modules/dataschema-text.html">dataschema-text</a></li>
819
<li><a href="../modules/dataschema-xml.html">dataschema-xml</a></li>
821
<li><a href="../modules/datasource.html">datasource</a></li>
823
<li><a href="../modules/datasource-arrayschema.html">datasource-arrayschema</a></li>
825
<li><a href="../modules/datasource-cache.html">datasource-cache</a></li>
827
<li><a href="../modules/datasource-function.html">datasource-function</a></li>
829
<li><a href="../modules/datasource-get.html">datasource-get</a></li>
831
<li><a href="../modules/datasource-io.html">datasource-io</a></li>
833
<li><a href="../modules/datasource-jsonschema.html">datasource-jsonschema</a></li>
835
<li><a href="../modules/datasource-local.html">datasource-local</a></li>
837
<li><a href="../modules/datasource-polling.html">datasource-polling</a></li>
839
<li><a href="../modules/datasource-textschema.html">datasource-textschema</a></li>
841
<li><a href="../modules/datasource-xmlschema.html">datasource-xmlschema</a></li>
843
<li><a href="../modules/datatable.html">datatable</a></li>
845
<li><a href="../modules/datatable-base.html">datatable-base</a></li>
847
<li><a href="../modules/datatable-base-deprecated.html">datatable-base-deprecated</a></li>
849
<li><a href="../modules/datatable-body.html">datatable-body</a></li>
851
<li><a href="../modules/datatable-column-widths.html">datatable-column-widths</a></li>
853
<li><a href="../modules/datatable-core.html">datatable-core</a></li>
855
<li><a href="../modules/datatable-datasource.html">datatable-datasource</a></li>
857
<li><a href="../modules/datatable-datasource-deprecated.html">datatable-datasource-deprecated</a></li>
859
<li><a href="../modules/datatable-deprecated.html">datatable-deprecated</a></li>
861
<li><a href="../modules/datatable-head.html">datatable-head</a></li>
863
<li><a href="../modules/datatable-message.html">datatable-message</a></li>
865
<li><a href="../modules/datatable-mutable.html">datatable-mutable</a></li>
867
<li><a href="../modules/datatable-scroll.html">datatable-scroll</a></li>
869
<li><a href="../modules/datatable-scroll-deprecated.html">datatable-scroll-deprecated</a></li>
871
<li><a href="../modules/datatable-sort.html">datatable-sort</a></li>
873
<li><a href="../modules/datatable-sort-deprecated.html">datatable-sort-deprecated</a></li>
875
<li><a href="../modules/datatype.html">datatype</a></li>
877
<li><a href="../modules/datatype-date.html">datatype-date</a></li>
879
<li><a href="../modules/datatype-date-format.html">datatype-date-format</a></li>
881
<li><a href="../modules/datatype-date-math.html">datatype-date-math</a></li>
883
<li><a href="../modules/datatype-date-parse.html">datatype-date-parse</a></li>
885
<li><a href="../modules/datatype-number.html">datatype-number</a></li>
887
<li><a href="../modules/datatype-number-format.html">datatype-number-format</a></li>
889
<li><a href="../modules/datatype-number-parse.html">datatype-number-parse</a></li>
891
<li><a href="../modules/datatype-xml.html">datatype-xml</a></li>
893
<li><a href="../modules/datatype-xml-format.html">datatype-xml-format</a></li>
895
<li><a href="../modules/datatype-xml-parse.html">datatype-xml-parse</a></li>
897
<li><a href="../modules/dd.html">dd</a></li>
899
<li><a href="../modules/dd-constrain.html">dd-constrain</a></li>
901
<li><a href="../modules/dd-ddm.html">dd-ddm</a></li>
903
<li><a href="../modules/dd-ddm-base.html">dd-ddm-base</a></li>
905
<li><a href="../modules/dd-ddm-drop.html">dd-ddm-drop</a></li>
907
<li><a href="../modules/dd-delegate.html">dd-delegate</a></li>
909
<li><a href="../modules/dd-drag.html">dd-drag</a></li>
911
<li><a href="../modules/dd-drop.html">dd-drop</a></li>
913
<li><a href="../modules/dd-drop-plugin.html">dd-drop-plugin</a></li>
915
<li><a href="../modules/dd-plugin.html">dd-plugin</a></li>
917
<li><a href="../modules/dd-proxy.html">dd-proxy</a></li>
919
<li><a href="../modules/dd-scroll.html">dd-scroll</a></li>
921
<li><a href="../modules/dial.html">dial</a></li>
923
<li><a href="../modules/dom.html">dom</a></li>
925
<li><a href="../modules/dom-base.html">dom-base</a></li>
927
<li><a href="../modules/dom-screen.html">dom-screen</a></li>
929
<li><a href="../modules/dom-style.html">dom-style</a></li>
931
<li><a href="../modules/dump.html">dump</a></li>
933
<li><a href="../modules/editor.html">editor</a></li>
935
<li><a href="../modules/editor-base.html">editor-base</a></li>
937
<li><a href="../modules/editor-bidi.html">editor-bidi</a></li>
939
<li><a href="../modules/editor-br.html">editor-br</a></li>
941
<li><a href="../modules/editor-lists.html">editor-lists</a></li>
943
<li><a href="../modules/editor-para.html">editor-para</a></li>
945
<li><a href="../modules/editor-para-base.html">editor-para-base</a></li>
947
<li><a href="../modules/editor-para-ie.html">editor-para-ie</a></li>
949
<li><a href="../modules/editor-tab.html">editor-tab</a></li>
951
<li><a href="../modules/escape.html">escape</a></li>
953
<li><a href="../modules/event.html">event</a></li>
955
<li><a href="../modules/event-base.html">event-base</a></li>
957
<li><a href="../modules/event-contextmenu.html">event-contextmenu</a></li>
959
<li><a href="../modules/event-custom.html">event-custom</a></li>
961
<li><a href="../modules/event-custom-base.html">event-custom-base</a></li>
963
<li><a href="../modules/event-custom-complex.html">event-custom-complex</a></li>
965
<li><a href="../modules/event-delegate.html">event-delegate</a></li>
967
<li><a href="../modules/event-flick.html">event-flick</a></li>
969
<li><a href="../modules/event-focus.html">event-focus</a></li>
971
<li><a href="../modules/event-gestures.html">event-gestures</a></li>
973
<li><a href="../modules/event-hover.html">event-hover</a></li>
975
<li><a href="../modules/event-key.html">event-key</a></li>
977
<li><a href="../modules/event-mouseenter.html">event-mouseenter</a></li>
979
<li><a href="../modules/event-mousewheel.html">event-mousewheel</a></li>
981
<li><a href="../modules/event-move.html">event-move</a></li>
983
<li><a href="../modules/event-outside.html">event-outside</a></li>
985
<li><a href="../modules/event-resize.html">event-resize</a></li>
987
<li><a href="../modules/event-simulate.html">event-simulate</a></li>
989
<li><a href="../modules/event-synthetic.html">event-synthetic</a></li>
991
<li><a href="../modules/event-touch.html">event-touch</a></li>
993
<li><a href="../modules/event-valuechange.html">event-valuechange</a></li>
995
<li><a href="../modules/exec-command.html">exec-command</a></li>
997
<li><a href="../modules/features.html">features</a></li>
999
<li><a href="../modules/file.html">file</a></li>
1001
<li><a href="../modules/file-flash.html">file-flash</a></li>
1003
<li><a href="../modules/file-html5.html">file-html5</a></li>
1005
<li><a href="../modules/frame.html">frame</a></li>
1007
<li><a href="../modules/get.html">get</a></li>
1009
<li><a href="../modules/get-nodejs.html">get-nodejs</a></li>
1011
<li><a href="../modules/graphics.html">graphics</a></li>
1013
<li><a href="../modules/handlebars.html">handlebars</a></li>
1015
<li><a href="../modules/handlebars-base.html">handlebars-base</a></li>
1017
<li><a href="../modules/handlebars-compiler.html">handlebars-compiler</a></li>
1019
<li><a href="../modules/highlight.html">highlight</a></li>
1021
<li><a href="../modules/highlight-accentfold.html">highlight-accentfold</a></li>
1023
<li><a href="../modules/highlight-base.html">highlight-base</a></li>
1025
<li><a href="../modules/history.html">history</a></li>
1027
<li><a href="../modules/history-base.html">history-base</a></li>
1029
<li><a href="../modules/history-hash.html">history-hash</a></li>
1031
<li><a href="../modules/history-hash-ie.html">history-hash-ie</a></li>
1033
<li><a href="../modules/history-html5.html">history-html5</a></li>
1035
<li><a href="../modules/imageloader.html">imageloader</a></li>
1037
<li><a href="../modules/intl.html">intl</a></li>
1039
<li><a href="../modules/io.html">io</a></li>
1041
<li><a href="../modules/io-base.html">io-base</a></li>
1043
<li><a href="../modules/io-form.html">io-form</a></li>
1045
<li><a href="../modules/io-queue.html">io-queue</a></li>
1047
<li><a href="../modules/io-upload-iframe.html">io-upload-iframe</a></li>
1049
<li><a href="../modules/io-xdr.html">io-xdr</a></li>
1051
<li><a href="../modules/json.html">json</a></li>
1053
<li><a href="../modules/json-parse.html">json-parse</a></li>
1055
<li><a href="../modules/json-stringify.html">json-stringify</a></li>
1057
<li><a href="../modules/jsonp.html">jsonp</a></li>
1059
<li><a href="../modules/jsonp-url.html">jsonp-url</a></li>
1061
<li><a href="../modules/loader.html">loader</a></li>
1063
<li><a href="../modules/loader-base.html">loader-base</a></li>
1065
<li><a href="../modules/matrix.html">matrix</a></li>
1067
<li><a href="../modules/model.html">model</a></li>
1069
<li><a href="../modules/model-list.html">model-list</a></li>
1071
<li><a href="../modules/node.html">node</a></li>
1073
<li><a href="../modules/node-base.html">node-base</a></li>
1075
<li><a href="../modules/node-core.html">node-core</a></li>
1077
<li><a href="../modules/node-data.html">node-data</a></li>
1079
<li><a href="../modules/node-deprecated.html">node-deprecated</a></li>
1081
<li><a href="../modules/node-event-delegate.html">node-event-delegate</a></li>
1083
<li><a href="../modules/node-event-html5.html">node-event-html5</a></li>
1085
<li><a href="../modules/node-event-simulate.html">node-event-simulate</a></li>
1087
<li><a href="../modules/node-flick.html">node-flick</a></li>
1089
<li><a href="../modules/node-focusmanager.html">node-focusmanager</a></li>
1091
<li><a href="../modules/node-load.html">node-load</a></li>
1093
<li><a href="../modules/node-menunav.html">node-menunav</a></li>
1095
<li><a href="../modules/node-pluginhost.html">node-pluginhost</a></li>
1097
<li><a href="../modules/node-screen.html">node-screen</a></li>
1099
<li><a href="../modules/node-style.html">node-style</a></li>
1101
<li><a href="../modules/oop.html">oop</a></li>
1103
<li><a href="../modules/overlay.html">overlay</a></li>
1105
<li><a href="../modules/panel.html">panel</a></li>
1107
<li><a href="../modules/parallel.html">parallel</a></li>
1109
<li><a href="../modules/pjax.html">pjax</a></li>
1111
<li><a href="../modules/pjax-base.html">pjax-base</a></li>
1113
<li><a href="../modules/pjax-plugin.html">pjax-plugin</a></li>
1115
<li><a href="../modules/plugin.html">plugin</a></li>
1117
<li><a href="../modules/pluginhost.html">pluginhost</a></li>
1119
<li><a href="../modules/pluginhost-base.html">pluginhost-base</a></li>
1121
<li><a href="../modules/pluginhost-config.html">pluginhost-config</a></li>
1123
<li><a href="../modules/profiler.html">profiler</a></li>
1125
<li><a href="../modules/querystring.html">querystring</a></li>
1127
<li><a href="../modules/querystring-parse.html">querystring-parse</a></li>
1129
<li><a href="../modules/querystring-parse-simple.html">querystring-parse-simple</a></li>
1131
<li><a href="../modules/querystring-stringify.html">querystring-stringify</a></li>
1133
<li><a href="../modules/querystring-stringify-simple.html">querystring-stringify-simple</a></li>
1135
<li><a href="../modules/queue-promote.html">queue-promote</a></li>
1137
<li><a href="../modules/range-slider.html">range-slider</a></li>
1139
<li><a href="../modules/recordset.html">recordset</a></li>
1141
<li><a href="../modules/recordset-base.html">recordset-base</a></li>
1143
<li><a href="../modules/recordset-filter.html">recordset-filter</a></li>
1145
<li><a href="../modules/recordset-indexer.html">recordset-indexer</a></li>
1147
<li><a href="../modules/recordset-sort.html">recordset-sort</a></li>
1149
<li><a href="../modules/resize.html">resize</a></li>
1151
<li><a href="../modules/resize-contrain.html">resize-contrain</a></li>
1153
<li><a href="../modules/resize-plugin.html">resize-plugin</a></li>
1155
<li><a href="../modules/resize-proxy.html">resize-proxy</a></li>
1157
<li><a href="../modules/rollup.html">rollup</a></li>
1159
<li><a href="../modules/router.html">router</a></li>
1161
<li><a href="../modules/scrollview.html">scrollview</a></li>
1163
<li><a href="../modules/scrollview-base.html">scrollview-base</a></li>
1165
<li><a href="../modules/scrollview-base-ie.html">scrollview-base-ie</a></li>
1167
<li><a href="../modules/scrollview-list.html">scrollview-list</a></li>
1169
<li><a href="../modules/scrollview-paginator.html">scrollview-paginator</a></li>
1171
<li><a href="../modules/scrollview-scrollbars.html">scrollview-scrollbars</a></li>
1173
<li><a href="../modules/selection.html">selection</a></li>
1175
<li><a href="../modules/selector-css2.html">selector-css2</a></li>
1177
<li><a href="../modules/selector-css3.html">selector-css3</a></li>
1179
<li><a href="../modules/selector-native.html">selector-native</a></li>
1181
<li><a href="../modules/shim-plugin.html">shim-plugin</a></li>
1183
<li><a href="../modules/slider.html">slider</a></li>
1185
<li><a href="../modules/slider-base.html">slider-base</a></li>
1187
<li><a href="../modules/slider-value-range.html">slider-value-range</a></li>
1189
<li><a href="../modules/sortable.html">sortable</a></li>
1191
<li><a href="../modules/sortable-scroll.html">sortable-scroll</a></li>
1193
<li><a href="../modules/stylesheet.html">stylesheet</a></li>
1195
<li><a href="../modules/substitute.html">substitute</a></li>
1197
<li><a href="../modules/swf.html">swf</a></li>
1199
<li><a href="../modules/swfdetect.html">swfdetect</a></li>
1201
<li><a href="../modules/tabview.html">tabview</a></li>
1203
<li><a href="../modules/test.html">test</a></li>
1205
<li><a href="../modules/test-console.html">test-console</a></li>
1207
<li><a href="../modules/text.html">text</a></li>
1209
<li><a href="../modules/text-accentfold.html">text-accentfold</a></li>
1211
<li><a href="../modules/text-wordbreak.html">text-wordbreak</a></li>
1213
<li><a href="../modules/transition.html">transition</a></li>
1215
<li><a href="../modules/uploader.html">uploader</a></li>
1217
<li><a href="../modules/uploader-deprecated.html">uploader-deprecated</a></li>
1219
<li><a href="../modules/uploader-flash.html">uploader-flash</a></li>
1221
<li><a href="../modules/uploader-html5.html">uploader-html5</a></li>
1223
<li><a href="../modules/uploader-queue.html">uploader-queue</a></li>
1225
<li><a href="../modules/view.html">view</a></li>
1227
<li><a href="../modules/view-node-map.html">view-node-map</a></li>
1229
<li><a href="../modules/widget.html">widget</a></li>
1231
<li><a href="../modules/widget-anim.html">widget-anim</a></li>
1233
<li><a href="../modules/widget-autohide.html">widget-autohide</a></li>
1235
<li><a href="../modules/widget-base.html">widget-base</a></li>
1237
<li><a href="../modules/widget-base-ie.html">widget-base-ie</a></li>
1239
<li><a href="../modules/widget-buttons.html">widget-buttons</a></li>
1241
<li><a href="../modules/widget-child.html">widget-child</a></li>
1243
<li><a href="../modules/widget-htmlparser.html">widget-htmlparser</a></li>
1245
<li><a href="../modules/widget-locale.html">widget-locale</a></li>
1247
<li><a href="../modules/widget-modality.html">widget-modality</a></li>
1249
<li><a href="../modules/widget-parent.html">widget-parent</a></li>
1251
<li><a href="../modules/widget-position.html">widget-position</a></li>
1253
<li><a href="../modules/widget-position-align.html">widget-position-align</a></li>
1255
<li><a href="../modules/widget-position-constrain.html">widget-position-constrain</a></li>
1257
<li><a href="../modules/widget-skin.html">widget-skin</a></li>
1259
<li><a href="../modules/widget-stack.html">widget-stack</a></li>
1261
<li><a href="../modules/widget-stdmod.html">widget-stdmod</a></li>
1263
<li><a href="../modules/widget-uievents.html">widget-uievents</a></li>
1265
<li><a href="../modules/yql.html">yql</a></li>
1267
<li><a href="../modules/yui.html">yui</a></li>
1269
<li><a href="../modules/yui-base.html">yui-base</a></li>
1271
<li><a href="../modules/yui-later.html">yui-later</a></li>
1273
<li><a href="../modules/yui-log.html">yui-log</a></li>
1275
<li><a href="../modules/yui-throttle.html">yui-throttle</a></li>
1277
<li><a href="../modules/yui3.html">yui3</a></li>
1286
<div class="yui3-u-3-4">
1287
<div id="api-options">
1289
<label for="api-show-inherited">
1290
<input type="checkbox" id="api-show-inherited" checked>
1294
<label for="api-show-protected">
1295
<input type="checkbox" id="api-show-protected">
1299
<label for="api-show-private">
1300
<input type="checkbox" id="api-show-private">
1306
<div class="apidocs">
1307
<div id="docs-main">
1308
<div class="content">
1309
<h1>Button Class</h1>
1310
<div class="box meta">
1314
<div class="extends">
1315
Extends <a href="../classes/Widget.html" class="crosslink">Widget</a>
1320
<div class="foundat">
1321
Defined in: <a href="../files/button_js_button.js.html#l12"><code>button/js/button.js:12</code></a>
1327
Module: <a href="../modules/button.html">button</a>
1336
<div class="box intro">
1337
<p>Creates a Button</p>
1341
<div class="constructor">
1342
<h2>Constructor</h2>
1343
<div id="method_Button" class="method item">
1344
<h3 class="name"><code>Button</code></h3>
1348
<span class="paren">(</span><ul class="args-list inline commas">
1356
</ul><span class="paren">)</span>
1383
<a href="../files/button_js_button.js.html#l12"><code>button/js/button.js:12</code></a>
1393
<div class="description">
1398
<div class="params">
1399
<h4>Parameters:</h4>
1401
<ul class="params-list">
1405
<code class="param-name">config</code>
1406
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
1411
<div class="param-description">
1412
<p>Configuration object</p>
1430
<div id="classdocs" class="tabview">
1431
<ul class="api-class-tabs">
1432
<li class="api-class-tab index"><a href="#index">Index</a></li>
1435
<li class="api-class-tab methods"><a href="#methods">Methods</a></li>
1438
<li class="api-class-tab properties"><a href="#properties">Properties</a></li>
1441
<li class="api-class-tab attrs"><a href="#attrs">Attributes</a></li>
1444
<li class="api-class-tab events"><a href="#events">Events</a></li>
1449
<div id="index" class="api-class-tabpanel index">
1450
<h2 class="off-left">Item Index</h2>
1453
<div class="index-section methods">
1456
<ul class="index-list methods">
1458
<li class="index-item method private inherited">
1459
<a href="#method__addAttrs">_addAttrs</a>
1464
<li class="index-item method private inherited">
1465
<a href="#method__addLazyAttr">_addLazyAttr</a>
1470
<li class="index-item method protected inherited">
1471
<a href="#method__afterChildSelectedChange">_afterChildSelectedChange</a>
1476
<li class="index-item method private">
1477
<a href="#method__afterDisabledChange">_afterDisabledChange</a>
1482
<li class="index-item method private">
1483
<a href="#method__afterLabelChange">_afterLabelChange</a>
1488
<li class="index-item method private inherited">
1489
<a href="#method__aggregateAttrs">_aggregateAttrs</a>
1494
<li class="index-item method protected inherited">
1495
<a href="#method__applyParsedConfig">_applyParsedConfig</a>
1500
<li class="index-item method protected inherited">
1501
<a href="#method__applyParser">_applyParser</a>
1506
<li class="index-item method private inherited inherited">
1507
<a href="#method__attrCfgHash">_attrCfgHash</a>
1512
<li class="index-item method private inherited">
1513
<a href="#method__baseDestroy">_baseDestroy</a>
1518
<li class="index-item method private inherited">
1519
<a href="#method__baseInit">_baseInit</a>
1524
<li class="index-item method private inherited">
1525
<a href="#method__bindAttrUI">_bindAttrUI</a>
1530
<li class="index-item method protected inherited">
1531
<a href="#method__bindDOM">_bindDOM</a>
1536
<li class="index-item method protected inherited">
1537
<a href="#method__bindUI">_bindUI</a>
1542
<li class="index-item method protected inherited">
1543
<a href="#method__bindUIChild">_bindUIChild</a>
1548
<li class="index-item method private inherited">
1549
<a href="#method__createUIEvent">_createUIEvent</a>
1554
<li class="index-item method private inherited">
1555
<a href="#method__defAttrChangeFn">_defAttrChangeFn</a>
1560
<li class="index-item method protected inherited">
1561
<a href="#method__defaultCB">_defaultCB</a>
1566
<li class="index-item method protected inherited">
1567
<a href="#method__defDestroyFn">_defDestroyFn</a>
1572
<li class="index-item method protected inherited">
1573
<a href="#method__defInitFn">_defInitFn</a>
1578
<li class="index-item method protected inherited">
1579
<a href="#method__defRenderFn">_defRenderFn</a>
1584
<li class="index-item method protected inherited">
1585
<a href="#method__destroyBox">_destroyBox</a>
1590
<li class="index-item method private inherited">
1591
<a href="#method__destroyHierarchy">_destroyHierarchy</a>
1596
<li class="index-item method private inherited">
1597
<a href="#method__destroyUIEvents">_destroyUIEvents</a>
1602
<li class="index-item method private inherited">
1603
<a href="#method__filterAdHocAttrs">_filterAdHocAttrs</a>
1608
<li class="index-item method private inherited">
1609
<a href="#method__filterAttrCfs">_filterAttrCfs</a>
1614
<li class="index-item method private inherited">
1615
<a href="#method__filterUIEvent">_filterUIEvent</a>
1620
<li class="index-item method private inherited">
1621
<a href="#method__fireAttrChange">_fireAttrChange</a>
1626
<li class="index-item method protected inherited">
1627
<a href="#method__getAttr">_getAttr</a>
1632
<li class="index-item method protected inherited">
1633
<a href="#method__getAttrCfg">_getAttrCfg</a>
1638
<li class="index-item method protected inherited">
1639
<a href="#method__getAttrCfgs">_getAttrCfgs</a>
1644
<li class="index-item method private inherited inherited">
1645
<a href="#method__getAttrInitVal">_getAttrInitVal</a>
1650
<li class="index-item method protected inherited">
1651
<a href="#method__getAttrs">_getAttrs</a>
1656
<li class="index-item method protected inherited">
1657
<a href="#method__getClasses">_getClasses</a>
1662
<li class="index-item method private inherited">
1663
<a href="#method__getHtmlParser">_getHtmlParser</a>
1668
<li class="index-item method protected inherited">
1669
<a href="#method__getSrcNode">_getSrcNode</a>
1674
<li class="index-item method private inherited">
1675
<a href="#method__getStateVal">_getStateVal</a>
1680
<li class="index-item method protected inherited">
1681
<a href="#method__getStrings">_getStrings</a>
1686
<li class="index-item method private inherited">
1687
<a href="#method__getType">_getType</a>
1692
<li class="index-item method protected inherited inherited">
1693
<a href="#method__getUIEventNode">_getUIEventNode</a>
1698
<li class="index-item method protected inherited">
1699
<a href="#method__guid">_guid</a>
1704
<li class="index-item method private inherited">
1705
<a href="#method__initAttrHost">_initAttrHost</a>
1710
<li class="index-item method private inherited inherited">
1711
<a href="#method__initAttribute">_initAttribute</a>
1716
<li class="index-item method protected inherited">
1717
<a href="#method__initAttrs">_initAttrs</a>
1722
<li class="index-item method private inherited inherited">
1723
<a href="#method__initBase">_initBase</a>
1728
<li class="index-item method private inherited">
1729
<a href="#method__initHierarchy">_initHierarchy</a>
1734
<li class="index-item method private inherited">
1735
<a href="#method__initHierarchyData">_initHierarchyData</a>
1740
<li class="index-item method private inherited">
1741
<a href="#method__initUIEvent">_initUIEvent</a>
1746
<li class="index-item method private inherited">
1747
<a href="#method__isLazyAttr">_isLazyAttr</a>
1752
<li class="index-item method private inherited">
1753
<a href="#method__isUIEvent">_isUIEvent</a>
1758
<li class="index-item method protected inherited">
1759
<a href="#method__mapInstance">_mapInstance</a>
1764
<li class="index-item method private inherited">
1765
<a href="#method__monitor">_monitor</a>
1770
<li class="index-item method private inherited inherited">
1771
<a href="#method__normAttrVals">_normAttrVals</a>
1776
<li class="index-item method protected inherited">
1777
<a href="#method__onDocFocus">_onDocFocus</a>
1782
<li class="index-item method protected inherited">
1783
<a href="#method__onDocMouseDown">_onDocMouseDown</a>
1788
<li class="index-item method private inherited">
1789
<a href="#method__parseType">_parseType</a>
1794
<li class="index-item method private inherited">
1795
<a href="#method__preInitEventCfg">_preInitEventCfg</a>
1800
<li class="index-item method protected inherited">
1801
<a href="#method__protectAttrs">_protectAttrs</a>
1806
<li class="index-item method protected inherited">
1807
<a href="#method__removeLoadingClassNames">_removeLoadingClassNames</a>
1812
<li class="index-item method private inherited">
1813
<a href="#method__renderBox">_renderBox</a>
1818
<li class="index-item method protected inherited">
1819
<a href="#method__renderBoxClassNames">_renderBoxClassNames</a>
1824
<li class="index-item method protected inherited">
1825
<a href="#method__renderUI">_renderUI</a>
1830
<li class="index-item method protected inherited inherited">
1831
<a href="#method__set">_set</a>
1836
<li class="index-item method protected inherited">
1837
<a href="#method__setAttr">_setAttr</a>
1842
<li class="index-item method protected inherited">
1843
<a href="#method__setAttrs">_setAttrs</a>
1848
<li class="index-item method private inherited">
1849
<a href="#method__setAttrUI">_setAttrUI</a>
1854
<li class="index-item method private inherited">
1855
<a href="#method__setAttrVal">_setAttrVal</a>
1860
<li class="index-item method private inherited">
1861
<a href="#method__setBB">_setBB</a>
1866
<li class="index-item method private inherited">
1867
<a href="#method__setBox">_setBox</a>
1872
<li class="index-item method private inherited">
1873
<a href="#method__setCB">_setCB</a>
1878
<li class="index-item method private inherited">
1879
<a href="#method__setStateVal">_setStateVal</a>
1884
<li class="index-item method protected inherited">
1885
<a href="#method__setStrings">_setStrings</a>
1890
<li class="index-item method protected inherited">
1891
<a href="#method__strSetter">_strSetter</a>
1896
<li class="index-item method private inherited">
1897
<a href="#method__syncAttrUI">_syncAttrUI</a>
1902
<li class="index-item method protected inherited">
1903
<a href="#method__syncUI">_syncUI</a>
1908
<li class="index-item method protected inherited">
1909
<a href="#method__syncUIChild">_syncUIChild</a>
1914
<li class="index-item method protected inherited">
1915
<a href="#method__uiSetChildSelected">_uiSetChildSelected</a>
1920
<li class="index-item method private inherited">
1921
<a href="#method__uiSetDim">_uiSetDim</a>
1926
<li class="index-item method protected inherited">
1927
<a href="#method__uiSetDisabled">_uiSetDisabled</a>
1932
<li class="index-item method protected inherited">
1933
<a href="#method__uiSetFocused">_uiSetFocused</a>
1938
<li class="index-item method protected inherited">
1939
<a href="#method__uiSetHeight">_uiSetHeight</a>
1944
<li class="index-item method protected inherited">
1945
<a href="#method__uiSetTabIndex">_uiSetTabIndex</a>
1950
<li class="index-item method protected inherited">
1951
<a href="#method__uiSetVisible">_uiSetVisible</a>
1956
<li class="index-item method protected inherited">
1957
<a href="#method__uiSetWidth">_uiSetWidth</a>
1962
<li class="index-item method protected inherited">
1963
<a href="#method__uiSizeCB">_uiSizeCB</a>
1968
<li class="index-item method protected inherited">
1969
<a href="#method__unbindDOM">_unbindDOM</a>
1974
<li class="index-item method protected inherited">
1975
<a href="#method__unbindUI">_unbindUI</a>
1980
<li class="index-item method protected inherited">
1981
<a href="#method__validTabIndex">_validTabIndex</a>
1986
<li class="index-item method inherited">
1987
<a href="#method_addAttr">addAttr</a>
1992
<li class="index-item method inherited">
1993
<a href="#method_addAttrs">addAttrs</a>
1998
<li class="index-item method inherited">
1999
<a href="#method_addTarget">addTarget</a>
2004
<li class="index-item method inherited">
2005
<a href="#method_after">after</a>
2010
<li class="index-item method inherited">
2011
<a href="#method_ancestor">ancestor</a>
2016
<li class="index-item method inherited">
2017
<a href="#method_attrAdded">attrAdded</a>
2022
<li class="index-item method inherited">
2023
<a href="#method_before">before</a>
2028
<li class="index-item method inherited">
2029
<a href="#method_bindUI">bindUI</a>
2034
<li class="index-item method inherited">
2035
<a href="#method_blur">blur</a>
2040
<li class="index-item method inherited">
2041
<a href="#method_bubble">bubble</a>
2046
<li class="index-item method inherited inherited">
2047
<a href="#method_destroy">destroy</a>
2052
<li class="index-item method protected inherited">
2053
<a href="#method_destructor">destructor</a>
2058
<li class="index-item method inherited">
2059
<a href="#method_detach">detach</a>
2064
<li class="index-item method inherited">
2065
<a href="#method_detachAll">detachAll</a>
2070
<li class="index-item method inherited">
2071
<a href="#method_disable">disable</a>
2076
<li class="index-item method inherited">
2077
<a href="#method_enable">enable</a>
2082
<li class="index-item method inherited">
2083
<a href="#method_fire">fire</a>
2088
<li class="index-item method inherited">
2089
<a href="#method_focus">focus</a>
2094
<li class="index-item method inherited">
2095
<a href="#method_get">get</a>
2100
<li class="index-item method inherited">
2101
<a href="#method_getAttrs">getAttrs</a>
2106
<li class="index-item method inherited inherited">
2107
<a href="#method_getClassName">getClassName</a>
2112
<li class="index-item method inherited">
2113
<a href="#method_getDefaultLocale">getDefaultLocale</a>
2118
<li class="index-item method inherited">
2119
<a href="#method_getEvent">getEvent</a>
2124
<li class="index-item method inherited">
2125
<a href="#method_getSkinName">getSkinName</a>
2130
<li class="index-item method deprecated inherited inherited">
2131
<a href="#method_getString">getString</a>
2136
<li class="index-item method deprecated inherited inherited">
2137
<a href="#method_getStrings">getStrings</a>
2142
<li class="index-item method inherited">
2143
<a href="#method_getTargets">getTargets</a>
2148
<li class="index-item method inherited">
2149
<a href="#method_hide">hide</a>
2154
<li class="index-item method inherited inherited">
2155
<a href="#method_init">init</a>
2160
<li class="index-item method protected inherited">
2161
<a href="#method_initializer">initializer</a>
2166
<li class="index-item method private">
2167
<a href="#method_initializer">initializer</a>
2172
<li class="index-item method inherited">
2173
<a href="#method_isRoot">isRoot</a>
2178
<li class="index-item method inherited">
2179
<a href="#method_modifyAttr">modifyAttr</a>
2184
<li class="index-item method inherited">
2185
<a href="#method_next">next</a>
2190
<li class="index-item method inherited">
2191
<a href="#method_on">on</a>
2196
<li class="index-item method inherited">
2197
<a href="#method_once">once</a>
2202
<li class="index-item method inherited">
2203
<a href="#method_onceAfter">onceAfter</a>
2208
<li class="index-item method inherited">
2209
<a href="#method_parseType">parseType</a>
2214
<li class="index-item method inherited">
2215
<a href="#method_previous">previous</a>
2220
<li class="index-item method inherited">
2221
<a href="#method_publish">publish</a>
2226
<li class="index-item method inherited">
2227
<a href="#method_removeAttr">removeAttr</a>
2232
<li class="index-item method inherited">
2233
<a href="#method_removeTarget">removeTarget</a>
2238
<li class="index-item method inherited">
2239
<a href="#method_render">render</a>
2244
<li class="index-item method protected inherited">
2245
<a href="#method_renderer">renderer</a>
2250
<li class="index-item method protected inherited">
2251
<a href="#method_renderUI">renderUI</a>
2256
<li class="index-item method inherited">
2257
<a href="#method_reset">reset</a>
2262
<li class="index-item method inherited inherited">
2263
<a href="#method_set">set</a>
2268
<li class="index-item method inherited inherited">
2269
<a href="#method_setAttrs">setAttrs</a>
2274
<li class="index-item method inherited">
2275
<a href="#method_show">show</a>
2280
<li class="index-item method deprecated inherited">
2281
<a href="#method_subscribe">subscribe</a>
2286
<li class="index-item method inherited">
2287
<a href="#method_syncUI">syncUI</a>
2292
<li class="index-item method inherited inherited">
2293
<a href="#method_toString">toString</a>
2298
<li class="index-item method deprecated inherited">
2299
<a href="#method_unsubscribe">unsubscribe</a>
2304
<li class="index-item method deprecated inherited">
2305
<a href="#method_unsubscribeAll">unsubscribeAll</a>
2315
<div class="index-section properties">
2318
<ul class="index-list properties">
2320
<li class="index-item property protected inherited">
2321
<a href="#property__allowAdHocAttrs">_allowAdHocAttrs</a>
2326
<li class="index-item property private inherited">
2327
<a href="#property__UI_ATTRS">_UI_ATTRS</a>
2332
<li class="index-item property protected">
2333
<a href="#property_ATTRS">ATTRS</a>
2336
<span class="flag static">static</span>
2340
<li class="index-item property inherited">
2341
<a href="#property_BOUNDING_TEMPLATE">BOUNDING_TEMPLATE</a>
2346
<li class="index-item property">
2347
<a href="#property_CLASS_NAMES">CLASS_NAMES</a>
2350
<span class="flag static">static</span>
2354
<li class="index-item property inherited">
2355
<a href="#property_CONTENT_TEMPLATE">CONTENT_TEMPLATE</a>
2360
<li class="index-item property inherited">
2361
<a href="#property_DEF_PARENT_NODE">DEF_PARENT_NODE</a>
2366
<li class="index-item property inherited">
2367
<a href="#property_DEF_UNIT">DEF_UNIT</a>
2372
<li class="index-item property protected">
2373
<a href="#property_HTML_PARSER">HTML_PARSER</a>
2376
<span class="flag static">static</span>
2380
<li class="index-item property protected">
2381
<a href="#property_NAME">NAME</a>
2384
<span class="flag static">static</span>
2388
<li class="index-item property deprecated inherited">
2389
<a href="#property_name">name</a>
2394
<li class="index-item property inherited">
2395
<a href="#property_UI_EVENTS">UI_EVENTS</a>
2405
<div class="index-section attrs">
2408
<ul class="index-list attrs">
2410
<li class="index-item attr inherited">
2411
<a href="#attr_boundingBox">boundingBox</a>
2414
<li class="index-item attr inherited">
2415
<a href="#attr_contentBox">contentBox</a>
2418
<li class="index-item attr inherited">
2419
<a href="#attr_destroyed">destroyed</a>
2422
<li class="index-item attr inherited">
2423
<a href="#attr_disabled">disabled</a>
2426
<li class="index-item attr inherited">
2427
<a href="#attr_focused">focused</a>
2430
<li class="index-item attr inherited">
2431
<a href="#attr_height">height</a>
2434
<li class="index-item attr inherited">
2435
<a href="#attr_id">id</a>
2438
<li class="index-item attr inherited">
2439
<a href="#attr_initialized">initialized</a>
2442
<li class="index-item attr deprecated inherited">
2443
<a href="#attr_locale">locale</a>
2446
<li class="index-item attr inherited">
2447
<a href="#attr_render">render</a>
2450
<li class="index-item attr inherited">
2451
<a href="#attr_rendered">rendered</a>
2454
<li class="index-item attr inherited">
2455
<a href="#attr_srcNode">srcNode</a>
2458
<li class="index-item attr inherited">
2459
<a href="#attr_strings">strings</a>
2462
<li class="index-item attr inherited">
2463
<a href="#attr_tabIndex">tabIndex</a>
2466
<li class="index-item attr inherited">
2467
<a href="#attr_visible">visible</a>
2470
<li class="index-item attr inherited">
2471
<a href="#attr_width">width</a>
2479
<div class="index-section events">
2482
<ul class="index-list events">
2484
<li class="index-item event inherited">
2485
<a href="#event_destroy">destroy</a>
2490
<li class="index-item event inherited">
2491
<a href="#event_init">init</a>
2496
<li class="index-item event inherited">
2497
<a href="#event_widget:contentUpdate">widget:contentUpdate</a>
2502
<li class="index-item event inherited">
2503
<a href="#event_widget:render">widget:render</a>
2514
<div id="methods" class="api-class-tabpanel">
2515
<h2 class="off-left">Methods</h2>
2518
<div id="method__addAttrs" class="method item private inherited">
2519
<h3 class="name"><code>_addAttrs</code></h3>
2523
<span class="paren">(</span><ul class="args-list inline commas">
2543
</ul><span class="paren">)</span>
2552
<span class="flag private">private</span>
2565
<a href="../classes/AttributeCore.html#method__addAttrs">AttributeCore</a>:
2569
<a href="../files/attribute_js_AttributeCore.js.html#l740"><code>attribute/js/AttributeCore.js:740</code></a>
2579
<div class="description">
2580
<p>Implementation behind the public addAttrs method. </p>
2582
<p>This method is invoked directly by get if it encounters a scenario
2583
in which an attribute's valueFn attempts to obtain the
2584
value an attribute in the same group of attributes, which has not yet
2585
been added (on demand initialization).</p>
2589
<div class="params">
2590
<h4>Parameters:</h4>
2592
<ul class="params-list">
2596
<code class="param-name">cfgs</code>
2597
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2602
<div class="param-description">
2603
<p>An object with attribute name/configuration pairs.</p>
2611
<code class="param-name">values</code>
2612
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2617
<div class="param-description">
2618
<p>An object with attribute name/value pairs, defining the initial values to apply.
2619
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
2627
<code class="param-name">lazy</code>
2628
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
2633
<div class="param-description">
2634
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
2635
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
2636
See <a href="#method_addAttr">addAttr</a>.</p>
2652
<div id="method__addLazyAttr" class="method item private inherited">
2653
<h3 class="name"><code>_addLazyAttr</code></h3>
2657
<span class="paren">(</span><ul class="args-list inline commas">
2665
</ul><span class="paren">)</span>
2674
<span class="flag private">private</span>
2687
<a href="../classes/AttributeCore.html#method__addLazyAttr">AttributeCore</a>:
2691
<a href="../files/attribute_js_AttributeCore.js.html#l312"><code>attribute/js/AttributeCore.js:312</code></a>
2701
<div class="description">
2702
<p>Finishes initializing an attribute which has been lazily added.</p>
2706
<div class="params">
2707
<h4>Parameters:</h4>
2709
<ul class="params-list">
2713
<code class="param-name">name</code>
2714
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2719
<div class="param-description">
2720
<p>The name of the attribute</p>
2736
<div id="method__afterChildSelectedChange" class="method item protected inherited">
2737
<h3 class="name"><code>_afterChildSelectedChange</code></h3>
2741
<span class="paren">(</span><ul class="args-list inline commas">
2749
</ul><span class="paren">)</span>
2758
<span class="flag protected">protected</span>
2771
<a href="../classes/Widget.html#method__afterChildSelectedChange">Widget</a>:
2775
<a href="../files/widget-child_js_Widget-Child.js.html#l327"><code>widget-child/js/Widget-Child.js:327</code></a>
2785
<div class="description">
2786
<p>Default attribute change listener for the <code>selected</code>
2787
attribute, responsible for updating the UI, in response to
2788
attribute changes.</p>
2792
<div class="params">
2793
<h4>Parameters:</h4>
2795
<ul class="params-list">
2799
<code class="param-name">event</code>
2800
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
2805
<div class="param-description">
2806
<p>The event facade for the attribute change.</p>
2822
<div id="method__afterDisabledChange" class="method item private">
2823
<h3 class="name"><code>_afterDisabledChange</code></h3>
2826
<span class="paren">()</span>
2834
<span class="flag private">private</span>
2854
<a href="../files/button_js_button.js.html#l71"><code>button/js/button.js:71</code></a>
2864
<div class="description">
2876
<div id="method__afterLabelChange" class="method item private">
2877
<h3 class="name"><code>_afterLabelChange</code></h3>
2880
<span class="paren">()</span>
2888
<span class="flag private">private</span>
2908
<a href="../files/button_js_button.js.html#l63"><code>button/js/button.js:63</code></a>
2918
<div class="description">
2930
<div id="method__aggregateAttrs" class="method item private inherited">
2931
<h3 class="name"><code>_aggregateAttrs</code></h3>
2935
<span class="paren">(</span><ul class="args-list inline commas">
2939
<code>allAttrs</code>
2943
</ul><span class="paren">)</span>
2948
<span class="returns-inline">
2949
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
2956
<span class="flag private">private</span>
2969
<a href="../classes/BaseCore.html#method__aggregateAttrs">BaseCore</a>:
2973
<a href="../files/base_js_BaseCore.js.html#l426"><code>base/js/BaseCore.js:426</code></a>
2983
<div class="description">
2984
<p>A helper method, used by _initHierarchyData to aggregate
2985
attribute configuration across the instances class hierarchy.</p>
2987
<p>The method will protect the attribute configuration value to protect the statically defined
2988
default value in ATTRS if required (if the value is an object literal, array or the
2989
attribute configuration has cloneDefaultValue set to shallow or deep).</p>
2993
<div class="params">
2994
<h4>Parameters:</h4>
2996
<ul class="params-list">
3000
<code class="param-name">allAttrs</code>
3001
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
3006
<div class="param-description">
3007
<p>An array of ATTRS definitions across classes in the hierarchy
3008
(subclass first, Base last)</p>
3019
<div class="returns">
3022
<div class="returns-description">
3025
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3027
The aggregate set of ATTRS definitions for the instance
3037
<div id="method__applyParsedConfig" class="method item protected inherited">
3038
<h3 class="name"><code>_applyParsedConfig</code></h3>
3041
<span class="paren">()</span>
3045
<span class="returns-inline">
3046
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3053
<span class="flag protected">protected</span>
3066
<a href="../classes/Widget.html#method__applyParsedConfig">Widget</a>:
3070
<a href="../files/widget_js_WidgetHTMLParser.js.html#l84"><code>widget/js/WidgetHTMLParser.js:84</code></a>
3080
<div class="description">
3087
<div class="returns">
3090
<div class="returns-description">
3093
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
3095
The merged configuration literal
3105
<div id="method__applyParser" class="method item protected inherited">
3106
<h3 class="name"><code>_applyParser</code></h3>
3110
<span class="paren">(</span><ul class="args-list inline commas">
3118
</ul><span class="paren">)</span>
3127
<span class="flag protected">protected</span>
3140
<a href="../classes/Widget.html#method__applyParser">Widget</a>:
3144
<a href="../files/widget_js_WidgetHTMLParser.js.html#l93"><code>widget/js/WidgetHTMLParser.js:93</code></a>
3154
<div class="description">
3155
<p>Utilitity method used to apply the <code>HTML_PARSER</code> configuration for the
3156
instance, to retrieve config data values.</p>
3160
<div class="params">
3161
<h4>Parameters:</h4>
3163
<ul class="params-list">
3167
<code class="param-name">config</code>
3168
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
3173
<div class="param-description">
3174
<p>User configuration object (will be populated with values from Node)</p>
3190
<div id="method__attrCfgHash" class="method item private inherited">
3191
<h3 class="name"><code>_attrCfgHash</code></h3>
3194
<span class="paren">()</span>
3202
<span class="flag private">private</span>
3214
<a href="../classes/BaseCore.html#method__attrCfgHash">
3222
<a href="../files/base_js_Base.js.html#l180"><code>base/js/Base.js:180</code></a>
3232
<div class="description">
3233
<p>Utility method to define the attribute hash used to filter/whitelist property mixes for
3245
<div id="method__baseDestroy" class="method item private inherited">
3246
<h3 class="name"><code>_baseDestroy</code></h3>
3249
<span class="paren">()</span>
3257
<span class="flag private">private</span>
3270
<a href="../classes/BaseCore.html#method__baseDestroy">BaseCore</a>:
3274
<a href="../files/base_js_BaseCore.js.html#l263"><code>base/js/BaseCore.js:263</code></a>
3284
<div class="description">
3285
<p>Internal destroy implementation for BaseCore</p>
3296
<div id="method__baseInit" class="method item private inherited">
3297
<h3 class="name"><code>_baseInit</code></h3>
3300
<span class="paren">()</span>
3308
<span class="flag private">private</span>
3321
<a href="../classes/BaseCore.html#method__baseInit">BaseCore</a>:
3325
<a href="../files/base_js_BaseCore.js.html#l235"><code>base/js/BaseCore.js:235</code></a>
3335
<div class="description">
3336
<p>Internal initialization implementation for BaseCore</p>
3347
<div id="method__bindAttrUI" class="method item private inherited">
3348
<h3 class="name"><code>_bindAttrUI</code></h3>
3352
<span class="paren">(</span><ul class="args-list inline commas">
3360
</ul><span class="paren">)</span>
3369
<span class="flag private">private</span>
3382
<a href="../classes/Widget.html#method__bindAttrUI">Widget</a>:
3386
<a href="../files/widget_js_Widget.js.html#l1157"><code>widget/js/Widget.js:1157</code></a>
3396
<div class="description">
3397
<p>Binds after listeners for the list of attributes provided</p>
3401
<div class="params">
3402
<h4>Parameters:</h4>
3404
<ul class="params-list">
3408
<code class="param-name">attrs</code>
3409
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
3414
<div class="param-description">
3431
<div id="method__bindDOM" class="method item protected inherited">
3432
<h3 class="name"><code>_bindDOM</code></h3>
3435
<span class="paren">()</span>
3443
<span class="flag protected">protected</span>
3456
<a href="../classes/Widget.html#method__bindDOM">Widget</a>:
3460
<a href="../files/widget_js_Widget.js.html#l889"><code>widget/js/Widget.js:889</code></a>
3470
<div class="description">
3471
<p>Sets up DOM listeners, on elements rendered by the widget.</p>
3482
<div id="method__bindUI" class="method item protected inherited">
3483
<h3 class="name"><code>_bindUI</code></h3>
3486
<span class="paren">()</span>
3494
<span class="flag protected">protected</span>
3507
<a href="../classes/Widget.html#method__bindUI">Widget</a>:
3511
<a href="../files/widget_js_Widget.js.html#l870"><code>widget/js/Widget.js:870</code></a>
3521
<div class="description">
3522
<p>Sets up DOM and CustomEvent listeners for the widget.</p>
3533
<div id="method__bindUIChild" class="method item protected inherited">
3534
<h3 class="name"><code>_bindUIChild</code></h3>
3537
<span class="paren">()</span>
3545
<span class="flag protected">protected</span>
3558
<a href="../classes/Widget.html#method__bindUIChild">Widget</a>:
3562
<a href="../files/widget-child_js_Widget-Child.js.html#l356"><code>widget-child/js/Widget-Child.js:356</code></a>
3572
<div class="description">
3573
<p>Binds event listeners responsible for updating the UI state in response
3574
to WidgetChild related state changes.</p>
3577
This method is invoked after bindUI is invoked for the Widget class
3578
using YUI's aop infrastructure.
3590
<div id="method__createUIEvent" class="method item private inherited">
3591
<h3 class="name"><code>_createUIEvent</code></h3>
3595
<span class="paren">(</span><ul class="args-list inline commas">
3603
</ul><span class="paren">)</span>
3612
<span class="flag private">private</span>
3625
<a href="../classes/Widget.html#method__createUIEvent">Widget</a>:
3629
<a href="../files/widget_js_WidgetUIEvents.js.html#l73"><code>widget/js/WidgetUIEvents.js:73</code></a>
3639
<div class="description">
3640
<p>Binds a delegated DOM event listener of the specified type to the
3641
Widget's outtermost DOM element to facilitate the firing of a Custom
3642
Event of the same type for the Widget instance.</p>
3646
<div class="params">
3647
<h4>Parameters:</h4>
3649
<ul class="params-list">
3653
<code class="param-name">type</code>
3654
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
3659
<div class="param-description">
3660
<p>String representing the name of the event</p>
3676
<div id="method__defAttrChangeFn" class="method item private inherited">
3677
<h3 class="name"><code>_defAttrChangeFn</code></h3>
3681
<span class="paren">(</span><ul class="args-list inline commas">
3689
</ul><span class="paren">)</span>
3698
<span class="flag private">private</span>
3711
<a href="../classes/AttributeEvents.html#method__defAttrChangeFn">AttributeEvents</a>:
3715
<a href="../files/attribute_js_AttributeEvents.js.html#l148"><code>attribute/js/AttributeEvents.js:148</code></a>
3725
<div class="description">
3726
<p>Default function for attribute change events.</p>
3730
<div class="params">
3731
<h4>Parameters:</h4>
3733
<ul class="params-list">
3737
<code class="param-name">e</code>
3738
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3743
<div class="param-description">
3744
<p>The event object for attribute change events.</p>
3760
<div id="method__defaultCB" class="method item protected inherited">
3761
<h3 class="name"><code>_defaultCB</code></h3>
3764
<span class="paren">()</span>
3772
<span class="flag protected">protected</span>
3785
<a href="../classes/Widget.html#method__defaultCB">Widget</a>:
3789
<a href="../files/widget_js_Widget.js.html#l781"><code>widget/js/Widget.js:781</code></a>
3799
<div class="description">
3800
<p>Returns the default value for the contentBox attribute. </p>
3802
<p>For the Widget class, this will be the srcNode if provided, otherwise null (resulting in
3803
a new contentBox node instance being created)</p>
3814
<div id="method__defDestroyFn" class="method item protected inherited">
3815
<h3 class="name"><code>_defDestroyFn</code></h3>
3819
<span class="paren">(</span><ul class="args-list inline commas">
3827
</ul><span class="paren">)</span>
3836
<span class="flag protected">protected</span>
3849
<a href="../classes/Base.html#method__defDestroyFn">Base</a>:
3853
<a href="../files/base_js_Base.js.html#l325"><code>base/js/Base.js:325</code></a>
3863
<div class="description">
3864
<p>Default destroy event handler</p>
3868
<div class="params">
3869
<h4>Parameters:</h4>
3871
<ul class="params-list">
3875
<code class="param-name">e</code>
3876
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3881
<div class="param-description">
3898
<div id="method__defInitFn" class="method item protected inherited">
3899
<h3 class="name"><code>_defInitFn</code></h3>
3903
<span class="paren">(</span><ul class="args-list inline commas">
3911
</ul><span class="paren">)</span>
3920
<span class="flag protected">protected</span>
3933
<a href="../classes/Base.html#method__defInitFn">Base</a>:
3937
<a href="../files/base_js_Base.js.html#l313"><code>base/js/Base.js:313</code></a>
3947
<div class="description">
3948
<p>Default init event handler</p>
3952
<div class="params">
3953
<h4>Parameters:</h4>
3955
<ul class="params-list">
3959
<code class="param-name">e</code>
3960
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
3965
<div class="param-description">
3966
<p>Event object, with a cfg property which
3967
refers to the configuration object passed to the constructor.</p>
3983
<div id="method__defRenderFn" class="method item protected inherited">
3984
<h3 class="name"><code>_defRenderFn</code></h3>
3988
<span class="paren">(</span><ul class="args-list inline commas">
3998
<code>parentNode</code>
4002
</ul><span class="paren">)</span>
4011
<span class="flag protected">protected</span>
4024
<a href="../classes/Widget.html#method__defRenderFn">Widget</a>:
4028
<a href="../files/widget_js_Widget.js.html#l572"><code>widget/js/Widget.js:572</code></a>
4038
<div class="description">
4039
<p>Default render handler</p>
4043
<div class="params">
4044
<h4>Parameters:</h4>
4046
<ul class="params-list">
4050
<code class="param-name">e</code>
4051
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
4056
<div class="param-description">
4057
<p>The Event object</p>
4065
<code class="param-name">parentNode</code>
4066
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
4071
<div class="param-description">
4072
<p>The parent node to render to, if passed in to the <code>render</code> method</p>
4088
<div id="method__destroyBox" class="method item protected inherited">
4089
<h3 class="name"><code>_destroyBox</code></h3>
4092
<span class="paren">()</span>
4100
<span class="flag protected">protected</span>
4113
<a href="../classes/Widget.html#method__destroyBox">Widget</a>:
4117
<a href="../files/widget_js_Widget.js.html#l478"><code>widget/js/Widget.js:478</code></a>
4127
<div class="description">
4128
<p>Removes and destroys the widgets rendered boundingBox, contentBox,
4129
and detaches bound UI events.</p>
4140
<div id="method__destroyHierarchy" class="method item private inherited">
4141
<h3 class="name"><code>_destroyHierarchy</code></h3>
4144
<span class="paren">()</span>
4152
<span class="flag private">private</span>
4165
<a href="../classes/BaseCore.html#method__destroyHierarchy">BaseCore</a>:
4169
<a href="../files/base_js_BaseCore.js.html#l559"><code>base/js/BaseCore.js:559</code></a>
4179
<div class="description">
4180
<p>Destroys the class hierarchy for this instance by invoking
4181
the destructor method on the prototype of each class in the hierarchy.</p>
4192
<div id="method__destroyUIEvents" class="method item private inherited">
4193
<h3 class="name"><code>_destroyUIEvents</code></h3>
4196
<span class="paren">()</span>
4204
<span class="flag private">private</span>
4217
<a href="../classes/Widget.html#method__destroyUIEvents">Widget</a>:
4221
<a href="../files/widget_js_WidgetUIEvents.js.html#l20"><code>widget/js/WidgetUIEvents.js:20</code></a>
4231
<div class="description">
4232
<p>Destructor logic for UI event infrastructure,
4233
invoked during Widget destruction.</p>
4244
<div id="method__filterAdHocAttrs" class="method item private inherited">
4245
<h3 class="name"><code>_filterAdHocAttrs</code></h3>
4249
<span class="paren">(</span><ul class="args-list inline commas">
4253
<code>allAttrs</code>
4259
<code>userVals</code>
4263
</ul><span class="paren">)</span>
4268
<span class="returns-inline">
4269
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4276
<span class="flag private">private</span>
4289
<a href="../classes/BaseCore.html#method__filterAdHocAttrs">BaseCore</a>:
4293
<a href="../files/base_js_BaseCore.js.html#l342"><code>base/js/BaseCore.js:342</code></a>
4303
<div class="description">
4308
<div class="params">
4309
<h4>Parameters:</h4>
4311
<ul class="params-list">
4315
<code class="param-name">allAttrs</code>
4316
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4321
<div class="param-description">
4322
<p>The set of all attribute configurations for this instance.
4323
Attributes will be removed from this set, if they belong to the filtered class, so
4324
that by the time all classes are processed, allCfgs will be empty.</p>
4332
<code class="param-name">userVals</code>
4333
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4338
<div class="param-description">
4339
<p>The config object passed in by the user, from which adhoc attrs are to be filtered.</p>
4350
<div class="returns">
4353
<div class="returns-description">
4356
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4358
The set of adhoc attributes passed in, in the form
4359
of an object with attribute name/configuration pairs.
4369
<div id="method__filterAttrCfs" class="method item private inherited">
4370
<h3 class="name"><code>_filterAttrCfs</code></h3>
4374
<span class="paren">(</span><ul class="args-list inline commas">
4384
<code>allCfgs</code>
4388
</ul><span class="paren">)</span>
4393
<span class="returns-inline">
4394
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4401
<span class="flag private">private</span>
4414
<a href="../classes/BaseCore.html#method__filterAttrCfs">BaseCore</a>:
4418
<a href="../files/base_js_BaseCore.js.html#l310"><code>base/js/BaseCore.js:310</code></a>
4428
<div class="description">
4429
<p>A helper method used when processing ATTRS across the class hierarchy during
4430
initialization. Returns a disposable object with the attributes defined for
4431
the provided class, extracted from the set of all attributes passed in.</p>
4435
<div class="params">
4436
<h4>Parameters:</h4>
4438
<ul class="params-list">
4442
<code class="param-name">clazz</code>
4443
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
4448
<div class="param-description">
4449
<p>The class for which the desired attributes are required.</p>
4457
<code class="param-name">allCfgs</code>
4458
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4463
<div class="param-description">
4464
<p>The set of all attribute configurations for this instance.
4465
Attributes will be removed from this set, if they belong to the filtered class, so
4466
that by the time all classes are processed, allCfgs will be empty.</p>
4477
<div class="returns">
4480
<div class="returns-description">
4483
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4485
The set of attributes belonging to the class passed in, in the form
4486
of an object with attribute name/configuration pairs.
4496
<div id="method__filterUIEvent" class="method item private inherited">
4497
<h3 class="name"><code>_filterUIEvent</code></h3>
4501
<span class="paren">(</span><ul class="args-list inline commas">
4509
</ul><span class="paren">)</span>
4514
<span class="returns-inline">
4515
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
4522
<span class="flag private">private</span>
4535
<a href="../classes/Widget.html#method__filterUIEvent">Widget</a>:
4539
<a href="../files/widget_js_WidgetUIEvents.js.html#l117"><code>widget/js/WidgetUIEvents.js:117</code></a>
4549
<div class="description">
4550
<p>This method is used to determine if we should fire
4551
the UI Event or not. The default implementation makes sure
4552
that for nested delegates (nested unrelated widgets), we don't
4553
fire the UI event listener more than once at each level.</p>
4555
<p>For example, without the additional filter, if you have nested
4556
widgets, each widget will have a delegate listener. If you
4557
click on the inner widget, the inner delegate listener's
4558
filter will match once, but the outer will match twice
4559
(based on delegate's design) - once for the inner widget,
4560
and once for the outer.</p>
4564
<div class="params">
4565
<h4>Parameters:</h4>
4567
<ul class="params-list">
4571
<code class="param-name">evt</code>
4572
<span class="type"><a href="../classes/DOMEventFacade.html" class="crosslink">DOMEventFacade</a></span>
4577
<div class="param-description">
4589
<div class="returns">
4592
<div class="returns-description">
4595
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
4597
true if it's OK to fire the custom UI event, false if not.
4607
<div id="method__fireAttrChange" class="method item private inherited">
4608
<h3 class="name"><code>_fireAttrChange</code></h3>
4612
<span class="paren">(</span><ul class="args-list inline commas">
4616
<code>attrName</code>
4622
<code>subAttrName</code>
4628
<code>currVal</code>
4644
</ul><span class="paren">)</span>
4653
<span class="flag private">private</span>
4666
<a href="../classes/AttributeEvents.html#method__fireAttrChange">AttributeEvents</a>:
4670
<a href="../files/attribute_js_AttributeEvents.js.html#l94"><code>attribute/js/AttributeEvents.js:94</code></a>
4680
<div class="description">
4681
<p>Utility method to help setup the event payload and fire the attribute change event.</p>
4685
<div class="params">
4686
<h4>Parameters:</h4>
4688
<ul class="params-list">
4692
<code class="param-name">attrName</code>
4693
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4698
<div class="param-description">
4699
<p>The name of the attribute</p>
4707
<code class="param-name">subAttrName</code>
4708
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4713
<div class="param-description">
4714
<p>The full path of the property being changed,
4715
if this is a sub-attribute value being change. Otherwise null.</p>
4723
<code class="param-name">currVal</code>
4724
<span class="type">Any</span>
4729
<div class="param-description">
4730
<p>The current value of the attribute</p>
4738
<code class="param-name">newVal</code>
4739
<span class="type">Any</span>
4744
<div class="param-description">
4745
<p>The new value of the attribute</p>
4753
<code class="param-name">opts</code>
4754
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4759
<div class="param-description">
4760
<p>Any additional event data to mix into the attribute change event's event facade.</p>
4776
<div id="method__getAttr" class="method item protected inherited">
4777
<h3 class="name"><code>_getAttr</code></h3>
4781
<span class="paren">(</span><ul class="args-list inline commas">
4789
</ul><span class="paren">)</span>
4794
<span class="returns-inline">
4795
<span class="type">Any</span>
4802
<span class="flag protected">protected</span>
4810
<span class="flag chainable">chainable</span>
4817
<a href="../classes/AttributeCore.html#method__getAttr">AttributeCore</a>:
4821
<a href="../files/attribute_js_AttributeCore.js.html#l468"><code>attribute/js/AttributeCore.js:468</code></a>
4831
<div class="description">
4832
<p>Provides the common implementation for the public get method,
4833
allowing Attribute hosts to over-ride either method.</p>
4835
<p>See <a href="#method_get">get</a> for argument details.</p>
4839
<div class="params">
4840
<h4>Parameters:</h4>
4842
<ul class="params-list">
4846
<code class="param-name">name</code>
4847
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4852
<div class="param-description">
4853
<p>The name of the attribute.</p>
4864
<div class="returns">
4867
<div class="returns-description">
4870
<span class="type">Any</span>:
4872
The value of the attribute.
4882
<div id="method__getAttrCfg" class="method item protected inherited">
4883
<h3 class="name"><code>_getAttrCfg</code></h3>
4887
<span class="paren">(</span><ul class="args-list inline commas">
4895
</ul><span class="paren">)</span>
4900
<span class="returns-inline">
4901
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
4908
<span class="flag protected">protected</span>
4921
<a href="../classes/AttributeExtras.html#method__getAttrCfg">AttributeExtras</a>:
4925
<a href="../files/attribute_js_AttributeExtras.js.html#l112"><code>attribute/js/AttributeExtras.js:112</code></a>
4935
<div class="description">
4936
<p>Returns an object with the configuration properties (and value)
4937
for the given attribute. If attrName is not provided, returns the
4938
configuration properties for all attributes.</p>
4942
<div class="params">
4943
<h4>Parameters:</h4>
4945
<ul class="params-list">
4949
<code class="param-name">name</code>
4950
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
4955
<div class="param-description">
4956
<p>Optional. The attribute name. If not provided, the method will return the configuration for all attributes.</p>
4967
<div class="returns">
4970
<div class="returns-description">
4973
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
4975
The configuration properties for the given attribute, or all attributes.
4985
<div id="method__getAttrCfgs" class="method item protected inherited">
4986
<h3 class="name"><code>_getAttrCfgs</code></h3>
4989
<span class="paren">()</span>
4993
<span class="returns-inline">
4994
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5001
<span class="flag protected">protected</span>
5014
<a href="../classes/BaseCore.html#method__getAttrCfgs">BaseCore</a>:
5018
<a href="../files/base_js_BaseCore.js.html#l293"><code>base/js/BaseCore.js:293</code></a>
5028
<div class="description">
5029
<p>Returns an aggregated set of attribute configurations, by traversing
5030
the class hierarchy.</p>
5036
<div class="returns">
5039
<div class="returns-description">
5042
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5044
The hash of attribute configurations, aggregated across classes in the hierarchy
5045
This value is cached the first time the method, or _getClasses, is invoked. Subsequent invocations return
5056
<div id="method__getAttrInitVal" class="method item private inherited">
5057
<h3 class="name"><code>_getAttrInitVal</code></h3>
5061
<span class="paren">(</span><ul class="args-list inline commas">
5077
<code>initValues</code>
5081
</ul><span class="paren">)</span>
5086
<span class="returns-inline">
5087
<span class="type">Any</span>
5094
<span class="flag private">private</span>
5106
<a href="../classes/Attribute.html#method__getAttrInitVal">
5114
<a href="../files/attribute_js_AttributeCore.js.html#l823"><code>attribute/js/AttributeCore.js:823</code></a>
5124
<div class="description">
5125
<p>Returns the initial value of the given attribute from
5126
either the default configuration provided, or the
5127
over-ridden value if it exists in the set of initValues
5128
provided and the attribute is not read-only.</p>
5132
<div class="params">
5133
<h4>Parameters:</h4>
5135
<ul class="params-list">
5139
<code class="param-name">attr</code>
5140
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5145
<div class="param-description">
5146
<p>The name of the attribute</p>
5154
<code class="param-name">cfg</code>
5155
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5160
<div class="param-description">
5161
<p>The attribute configuration object</p>
5169
<code class="param-name">initValues</code>
5170
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5175
<div class="param-description">
5176
<p>The object with simple and complex attribute name/value pairs returned from _normAttrVals</p>
5187
<div class="returns">
5190
<div class="returns-description">
5193
<span class="type">Any</span>:
5195
The initial value of the attribute.
5205
<div id="method__getAttrs" class="method item protected inherited">
5206
<h3 class="name"><code>_getAttrs</code></h3>
5210
<span class="paren">(</span><ul class="args-list inline commas">
5218
</ul><span class="paren">)</span>
5223
<span class="returns-inline">
5224
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5231
<span class="flag protected">protected</span>
5244
<a href="../classes/AttributeCore.html#method__getAttrs">AttributeCore</a>:
5248
<a href="../files/attribute_js_AttributeCore.js.html#l677"><code>attribute/js/AttributeCore.js:677</code></a>
5258
<div class="description">
5259
<p>Implementation behind the public getAttrs method, to get multiple attribute values.</p>
5263
<div class="params">
5264
<h4>Parameters:</h4>
5266
<ul class="params-list">
5270
<code class="param-name">attrs</code>
5271
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
5276
<div class="param-description">
5277
<p>Optional. An array of attribute names. If omitted, all attribute values are
5278
returned. If set to true, all attributes modified from their initial values are returned.</p>
5289
<div class="returns">
5292
<div class="returns-description">
5295
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5297
An object with attribute name/value pairs.
5307
<div id="method__getClasses" class="method item protected inherited">
5308
<h3 class="name"><code>_getClasses</code></h3>
5311
<span class="paren">()</span>
5315
<span class="returns-inline">
5316
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>
5323
<span class="flag protected">protected</span>
5336
<a href="../classes/BaseCore.html#method__getClasses">BaseCore</a>:
5340
<a href="../files/base_js_BaseCore.js.html#l277"><code>base/js/BaseCore.js:277</code></a>
5350
<div class="description">
5351
<p>Returns the class hierarchy for this object, with BaseCore being the last class in the array.</p>
5357
<div class="returns">
5360
<div class="returns-description">
5363
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function[]</a></span>:
5365
An array of classes (constructor functions), making up the class hierarchy for this object.
5366
This value is cached the first time the method, or _getAttrCfgs, is invoked. Subsequent invocations return the
5377
<div id="method__getHtmlParser" class="method item private inherited">
5378
<h3 class="name"><code>_getHtmlParser</code></h3>
5381
<span class="paren">()</span>
5385
<span class="returns-inline">
5386
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5393
<span class="flag private">private</span>
5406
<a href="../classes/Widget.html#method__getHtmlParser">Widget</a>:
5410
<a href="../files/widget_js_WidgetHTMLParser.js.html#l135"><code>widget/js/WidgetHTMLParser.js:135</code></a>
5420
<div class="description">
5421
<p>Gets the HTML<em>PARSER definition for this instance, by merging HTML</em>PARSER
5422
definitions across the class hierarchy.</p>
5428
<div class="returns">
5431
<div class="returns-description">
5434
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
5436
HTML_PARSER definition for this instance
5446
<div id="method__getSrcNode" class="method item protected inherited">
5447
<h3 class="name"><code>_getSrcNode</code></h3>
5450
<span class="paren">()</span>
5454
<span class="returns-inline">
5455
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
5462
<span class="flag protected">protected</span>
5475
<a href="../classes/Widget.html#method__getSrcNode">Widget</a>:
5479
<a href="../files/widget_js_WidgetHTMLParser.js.html#l75"><code>widget/js/WidgetHTMLParser.js:75</code></a>
5489
<div class="description">
5496
<div class="returns">
5499
<div class="returns-description">
5502
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>:
5504
The Node to apply HTML_PARSER to
5514
<div id="method__getStateVal" class="method item private inherited">
5515
<h3 class="name"><code>_getStateVal</code></h3>
5519
<span class="paren">(</span><ul class="args-list inline commas">
5527
</ul><span class="paren">)</span>
5532
<span class="returns-inline">
5533
<span class="type">Any</span>
5540
<span class="flag private">private</span>
5553
<a href="../classes/AttributeCore.html#method__getStateVal">AttributeCore</a>:
5557
<a href="../files/attribute_js_AttributeCore.js.html#l522"><code>attribute/js/AttributeCore.js:522</code></a>
5567
<div class="description">
5568
<p>Gets the stored value for the attribute, from either the
5569
internal state object, or the state proxy if it exits</p>
5573
<div class="params">
5574
<h4>Parameters:</h4>
5576
<ul class="params-list">
5580
<code class="param-name">name</code>
5581
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
5586
<div class="param-description">
5587
<p>The name of the attribute</p>
5598
<div class="returns">
5601
<div class="returns-description">
5604
<span class="type">Any</span>:
5606
The stored value of the attribute
5616
<div id="method__getStrings" class="method item protected inherited">
5617
<h3 class="name"><code>_getStrings</code></h3>
5621
<span class="paren">(</span><ul class="args-list inline commas">
5629
</ul><span class="paren">)</span>
5638
<span class="flag protected">protected</span>
5651
<a href="../classes/Widget.html#method__getStrings">Widget</a>:
5655
<a href="../files/widget_js_WidgetLocale.js.html#l53"><code>widget/js/WidgetLocale.js:53</code></a>
5665
<div class="description">
5666
<p>Returns the strings key/value hash for a paricular locale, without locale lookup applied.</p>
5670
<div class="params">
5671
<h4>Parameters:</h4>
5673
<ul class="params-list">
5677
<code class="param-name">locale</code>
5678
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5683
<div class="param-description">
5700
<div id="method__getType" class="method item private inherited">
5701
<h3 class="name"><code>_getType</code></h3>
5704
<span class="paren">()</span>
5712
<span class="flag private">private</span>
5725
<a href="../classes/EventTarget.html#method__getType">EventTarget</a>:
5729
<a href="../files/event-custom_js_event-target.js.html#l36"><code>event-custom/js/event-target.js:36</code></a>
5739
<div class="description">
5740
<p>If the instance has a prefix attribute and the
5741
event type is not prefixed, the instance prefix is
5742
applied to the supplied type.</p>
5753
<div id="method__getUIEventNode" class="method item protected inherited">
5754
<h3 class="name"><code>_getUIEventNode</code></h3>
5757
<span class="paren">()</span>
5765
<span class="flag protected">protected</span>
5777
<a href="../classes/Widget.html#method__getUIEventNode">
5785
<a href="../files/widget-child_js_Widget-Child.js.html#l167"><code>widget-child/js/Widget-Child.js:167</code></a>
5795
<div class="description">
5796
<p>Returns the node on which to bind delegate listeners.</p>
5798
<p>Override of Widget's implementation of _getUIEventNode() to ensure that
5799
all event listeners are bound to the Widget's topmost DOM element.
5800
This ensures that the firing of each type of Widget UI event (click,
5801
mousedown, etc.) is facilitated by a single, top-level, delegated DOM
5813
<div id="method__guid" class="method item protected inherited">
5814
<h3 class="name"><code>_guid</code></h3>
5817
<span class="paren">()</span>
5825
<span class="flag protected">protected</span>
5838
<a href="../classes/Widget.html#method__guid">Widget</a>:
5842
<a href="../files/widget_js_Widget.js.html#l1140"><code>widget/js/Widget.js:1140</code></a>
5852
<div class="description">
5864
<div id="method__initAttrHost" class="method item private inherited">
5865
<h3 class="name"><code>_initAttrHost</code></h3>
5869
<span class="paren">(</span><ul class="args-list inline commas">
5889
</ul><span class="paren">)</span>
5898
<span class="flag private">private</span>
5911
<a href="../classes/AttributeCore.html#method__initAttrHost">AttributeCore</a>:
5915
<a href="../files/attribute_js_AttributeCore.js.html#l109"><code>attribute/js/AttributeCore.js:109</code></a>
5925
<div class="description">
5926
<p>Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the
5931
<div class="params">
5932
<h4>Parameters:</h4>
5934
<ul class="params-list">
5938
<code class="param-name">attrs</code>
5939
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5944
<div class="param-description">
5945
<p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
5953
<code class="param-name">values</code>
5954
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
5959
<div class="param-description">
5960
<p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
5968
<code class="param-name">lazy</code>
5969
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
5974
<div class="param-description">
5975
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
5991
<div id="method__initAttribute" class="method item private inherited">
5992
<h3 class="name"><code>_initAttribute</code></h3>
5995
<span class="paren">()</span>
6003
<span class="flag private">private</span>
6015
<a href="../classes/BaseCore.html#method__initAttribute">
6023
<a href="../files/base_js_Base.js.html#l169"><code>base/js/Base.js:169</code></a>
6033
<div class="description">
6034
<p>Initializes Attribute</p>
6045
<div id="method__initAttrs" class="method item protected inherited">
6046
<h3 class="name"><code>_initAttrs</code></h3>
6050
<span class="paren">(</span><ul class="args-list inline commas">
6070
</ul><span class="paren">)</span>
6079
<span class="flag protected">protected</span>
6092
<a href="../classes/AttributeCore.html#method__initAttrs">AttributeCore</a>:
6096
<a href="../files/attribute_js_AttributeCore.js.html#l862"><code>attribute/js/AttributeCore.js:862</code></a>
6106
<div class="description">
6107
<p>Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in.</p>
6111
<div class="params">
6112
<h4>Parameters:</h4>
6114
<ul class="params-list">
6118
<code class="param-name">attrs</code>
6119
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6124
<div class="param-description">
6125
<p>The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor.</p>
6133
<code class="param-name">values</code>
6134
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6139
<div class="param-description">
6140
<p>The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required.</p>
6148
<code class="param-name">lazy</code>
6149
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6154
<div class="param-description">
6155
<p>Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>).</p>
6171
<div id="method__initBase" class="method item private inherited">
6172
<h3 class="name"><code>_initBase</code></h3>
6176
<span class="paren">(</span><ul class="args-list inline commas">
6184
</ul><span class="paren">)</span>
6193
<span class="flag private">private</span>
6205
<a href="../classes/BaseCore.html#method__initBase">
6213
<a href="../files/base_js_Base.js.html#l154"><code>base/js/Base.js:154</code></a>
6223
<div class="description">
6224
<p>Internal construction logic for Base.</p>
6228
<div class="params">
6229
<h4>Parameters:</h4>
6231
<ul class="params-list">
6235
<code class="param-name">config</code>
6236
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6241
<div class="param-description">
6242
<p>The constructor configuration object</p>
6258
<div id="method__initHierarchy" class="method item private inherited">
6259
<h3 class="name"><code>_initHierarchy</code></h3>
6263
<span class="paren">(</span><ul class="args-list inline commas">
6267
<code>userVals</code>
6271
</ul><span class="paren">)</span>
6280
<span class="flag private">private</span>
6293
<a href="../classes/BaseCore.html#method__initHierarchy">BaseCore</a>:
6297
<a href="../files/base_js_BaseCore.js.html#l501"><code>base/js/BaseCore.js:501</code></a>
6307
<div class="description">
6308
<p>Initializes the class hierarchy for the instance, which includes
6309
initializing attributes for each class defined in the class's
6310
static <a href="#property_BaseCore.ATTRS">ATTRS</a> property and
6311
invoking the initializer method on the prototype of each class in the hierarchy.</p>
6315
<div class="params">
6316
<h4>Parameters:</h4>
6318
<ul class="params-list">
6322
<code class="param-name">userVals</code>
6323
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6328
<div class="param-description">
6329
<p>Object with configuration property name/value pairs</p>
6345
<div id="method__initHierarchyData" class="method item private inherited">
6346
<h3 class="name"><code>_initHierarchyData</code></h3>
6349
<span class="paren">()</span>
6357
<span class="flag private">private</span>
6370
<a href="../classes/BaseCore.html#method__initHierarchyData">BaseCore</a>:
6374
<a href="../files/base_js_BaseCore.js.html#l372"><code>base/js/BaseCore.js:372</code></a>
6384
<div class="description">
6385
<p>A helper method used by _getClasses and _getAttrCfgs, which determines both
6386
the array of classes and aggregate set of attribute configurations
6387
across the class hierarchy for the instance.</p>
6398
<div id="method__initUIEvent" class="method item private inherited">
6399
<h3 class="name"><code>_initUIEvent</code></h3>
6403
<span class="paren">(</span><ul class="args-list inline commas">
6411
</ul><span class="paren">)</span>
6416
<span class="returns-inline">
6417
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6424
<span class="flag private">private</span>
6437
<a href="../classes/Widget.html#method__initUIEvent">Widget</a>:
6441
<a href="../files/widget_js_WidgetUIEvents.js.html#l176"><code>widget/js/WidgetUIEvents.js:176</code></a>
6451
<div class="description">
6452
<p>Sets up infrastructure required to fire a UI event.</p>
6456
<div class="params">
6457
<h4>Parameters:</h4>
6459
<ul class="params-list">
6463
<code class="param-name">type</code>
6464
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6469
<div class="param-description">
6470
<p>String representing the name of the event</p>
6481
<div class="returns">
6484
<div class="returns-description">
6487
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
6498
<div id="method__isLazyAttr" class="method item private inherited">
6499
<h3 class="name"><code>_isLazyAttr</code></h3>
6503
<span class="paren">(</span><ul class="args-list inline commas">
6511
</ul><span class="paren">)</span>
6516
<span class="returns-inline">
6517
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
6524
<span class="flag private">private</span>
6537
<a href="../classes/AttributeCore.html#method__isLazyAttr">AttributeCore</a>:
6541
<a href="../files/attribute_js_AttributeCore.js.html#l299"><code>attribute/js/AttributeCore.js:299</code></a>
6551
<div class="description">
6552
<p>Checks whether or not the attribute is one which has been
6553
added lazily and still requires initialization.</p>
6557
<div class="params">
6558
<h4>Parameters:</h4>
6560
<ul class="params-list">
6564
<code class="param-name">name</code>
6565
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6570
<div class="param-description">
6571
<p>The name of the attribute</p>
6582
<div class="returns">
6585
<div class="returns-description">
6588
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
6590
true if it's a lazily added attribute, false otherwise.
6600
<div id="method__isUIEvent" class="method item private inherited">
6601
<h3 class="name"><code>_isUIEvent</code></h3>
6605
<span class="paren">(</span><ul class="args-list inline commas">
6613
</ul><span class="paren">)</span>
6618
<span class="returns-inline">
6619
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6626
<span class="flag private">private</span>
6639
<a href="../classes/Widget.html#method__isUIEvent">Widget</a>:
6643
<a href="../files/widget_js_WidgetUIEvents.js.html#l143"><code>widget/js/WidgetUIEvents.js:143</code></a>
6653
<div class="description">
6654
<p>Determines if the specified event is a UI event.</p>
6658
<div class="params">
6659
<h4>Parameters:</h4>
6661
<ul class="params-list">
6665
<code class="param-name">type</code>
6666
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6671
<div class="param-description">
6672
<p>String representing the name of the event</p>
6683
<div class="returns">
6686
<div class="returns-description">
6689
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
6691
Event Returns the name of the UI Event, otherwise
6702
<div id="method__mapInstance" class="method item protected inherited">
6703
<h3 class="name"><code>_mapInstance</code></h3>
6707
<span class="paren">(</span><ul class="args-list inline commas">
6715
</ul><span class="paren">)</span>
6724
<span class="flag protected">protected</span>
6737
<a href="../classes/Widget.html#method__mapInstance">Widget</a>:
6741
<a href="../files/widget_js_Widget.js.html#l415"><code>widget/js/Widget.js:415</code></a>
6751
<div class="description">
6752
<p>Utility method used to add an entry to the boundingBox id to instance map. </p>
6754
<p>This method can be used to populate the instance with lazily created boundingBox Node references.</p>
6758
<div class="params">
6759
<h4>Parameters:</h4>
6761
<ul class="params-list">
6765
<code class="param-name">The</code>
6766
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6771
<div class="param-description">
6772
<p>boundingBox id</p>
6788
<div id="method__monitor" class="method item private inherited">
6789
<h3 class="name"><code>_monitor</code></h3>
6793
<span class="paren">(</span><ul class="args-list inline commas">
6813
</ul><span class="paren">)</span>
6822
<span class="flag private">private</span>
6835
<a href="../classes/EventTarget.html#method__monitor">EventTarget</a>:
6839
<a href="../files/event-custom_js_event-target.js.html#l602"><code>event-custom/js/event-target.js:602</code></a>
6849
<div class="description">
6850
<p>This is the entry point for the event monitoring system.
6851
You can monitor 'attach', 'detach', 'fire', and 'publish'.
6852
When configured, these events generate an event. click ->
6853
click<em>attach, click</em>detach, click_publish -- these can
6854
be subscribed to like other events to monitor the event
6855
system. Inividual published events can have monitoring
6856
turned on or off (publish can't be turned off before it
6857
it published) by setting the events 'monitor' config.</p>
6861
<div class="params">
6862
<h4>Parameters:</h4>
6864
<ul class="params-list">
6868
<code class="param-name">what</code>
6869
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6874
<div class="param-description">
6875
<p>'attach', 'detach', 'fire', or 'publish'</p>
6883
<code class="param-name">type</code>
6884
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
6889
<div class="param-description">
6890
<p>Name of the event being monitored</p>
6898
<code class="param-name">o</code>
6899
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6904
<div class="param-description">
6905
<p>Information about the event interaction, such as
6906
fire() args, subscription category, publish config</p>
6922
<div id="method__normAttrVals" class="method item private inherited">
6923
<h3 class="name"><code>_normAttrVals</code></h3>
6927
<span class="paren">(</span><ul class="args-list inline commas">
6931
<code>valueHash</code>
6935
</ul><span class="paren">)</span>
6940
<span class="returns-inline">
6941
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6948
<span class="flag private">private</span>
6960
<a href="../classes/Attribute.html#method__normAttrVals">
6968
<a href="../files/attribute_js_AttributeCore.js.html#l808"><code>attribute/js/AttributeCore.js:808</code></a>
6978
<div class="description">
6979
<p>Utility method to normalize attribute values. The base implementation
6980
simply merges the hash to protect the original.</p>
6984
<div class="params">
6985
<h4>Parameters:</h4>
6987
<ul class="params-list">
6991
<code class="param-name">valueHash</code>
6992
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
6997
<div class="param-description">
6998
<p>An object with attribute name/value pairs</p>
7009
<div class="returns">
7012
<div class="returns-description">
7015
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7026
<div id="method__onDocFocus" class="method item protected inherited">
7027
<h3 class="name"><code>_onDocFocus</code></h3>
7031
<span class="paren">(</span><ul class="args-list inline commas">
7039
</ul><span class="paren">)</span>
7048
<span class="flag protected">protected</span>
7061
<a href="../classes/Widget.html#method__onDocFocus">Widget</a>:
7065
<a href="../files/widget_js_Widget.js.html#l1068"><code>widget/js/Widget.js:1068</code></a>
7075
<div class="description">
7076
<p>DOM focus event handler, used to sync the state of the Widget with the DOM</p>
7080
<div class="params">
7081
<h4>Parameters:</h4>
7083
<ul class="params-list">
7087
<code class="param-name">evt</code>
7088
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
7093
<div class="param-description">
7094
<p>The event facade for the DOM focus event</p>
7110
<div id="method__onDocMouseDown" class="method item protected inherited">
7111
<h3 class="name"><code>_onDocMouseDown</code></h3>
7115
<span class="paren">(</span><ul class="args-list inline commas">
7123
</ul><span class="paren">)</span>
7132
<span class="flag protected">protected</span>
7145
<a href="../classes/Widget.html#method__onDocMouseDown">Widget</a>:
7149
<a href="../files/widget_js_Widget.js.html#l1055"><code>widget/js/Widget.js:1055</code></a>
7159
<div class="description">
7160
<p>"mousedown" event handler for the owner document of the
7161
widget's bounding box.</p>
7165
<div class="params">
7166
<h4>Parameters:</h4>
7168
<ul class="params-list">
7172
<code class="param-name">evt</code>
7173
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
7178
<div class="param-description">
7179
<p>The event facade for the DOM focus event</p>
7195
<div id="method__parseType" class="method item private inherited">
7196
<h3 class="name"><code>_parseType</code></h3>
7199
<span class="paren">()</span>
7207
<span class="flag private">private</span>
7220
<a href="../classes/EventTarget.html#method__parseType">EventTarget</a>:
7224
<a href="../files/event-custom_js_event-target.js.html#l52"><code>event-custom/js/event-target.js:52</code></a>
7234
<div class="description">
7235
<p>Returns an array with the detach key (if provided),
7236
and the prefixed event name from _getType
7237
Y.on('detachcategory| menu:click', fn)</p>
7248
<div id="method__preInitEventCfg" class="method item private inherited">
7249
<h3 class="name"><code>_preInitEventCfg</code></h3>
7253
<span class="paren">(</span><ul class="args-list inline commas">
7261
</ul><span class="paren">)</span>
7270
<span class="flag private">private</span>
7283
<a href="../classes/Base.html#method__preInitEventCfg">Base</a>:
7287
<a href="../files/base_js_Base.js.html#l233"><code>base/js/Base.js:233</code></a>
7297
<div class="description">
7298
<p>Handles the special on, after and target properties which allow the user to
7299
easily configure on and after listeners as well as bubble targets during
7300
construction, prior to init.</p>
7304
<div class="params">
7305
<h4>Parameters:</h4>
7307
<ul class="params-list">
7311
<code class="param-name">config</code>
7312
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7317
<div class="param-description">
7318
<p>The user configuration object</p>
7334
<div id="method__protectAttrs" class="method item protected inherited">
7335
<h3 class="name"><code>_protectAttrs</code></h3>
7339
<span class="paren">(</span><ul class="args-list inline commas">
7347
</ul><span class="paren">)</span>
7352
<span class="returns-inline">
7353
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7360
<span class="flag protected">protected</span>
7373
<a href="../classes/AttributeCore.html#method__protectAttrs">AttributeCore</a>:
7377
<a href="../files/attribute_js_AttributeCore.js.html#l786"><code>attribute/js/AttributeCore.js:786</code></a>
7387
<div class="description">
7388
<p>Utility method to protect an attribute configuration
7389
hash, by merging the entire object and the individual
7390
attr config objects.</p>
7394
<div class="params">
7395
<h4>Parameters:</h4>
7397
<ul class="params-list">
7401
<code class="param-name">attrs</code>
7402
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7407
<div class="param-description">
7408
<p>A hash of attribute to configuration object pairs.</p>
7419
<div class="returns">
7422
<div class="returns-description">
7425
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7427
A protected version of the attrs argument.
7437
<div id="method__removeLoadingClassNames" class="method item protected inherited">
7438
<h3 class="name"><code>_removeLoadingClassNames</code></h3>
7441
<span class="paren">()</span>
7449
<span class="flag protected">protected</span>
7462
<a href="../classes/Widget.html#method__removeLoadingClassNames">Widget</a>:
7466
<a href="../files/widget_js_Widget.js.html#l849"><code>widget/js/Widget.js:849</code></a>
7476
<div class="description">
7477
<p>Removes class names representative of the widget's loading state from
7478
the boundingBox.</p>
7489
<div id="method__renderBox" class="method item private inherited">
7490
<h3 class="name"><code>_renderBox</code></h3>
7494
<span class="paren">(</span><ul class="args-list inline commas">
7498
<code>parentNode</code>
7502
</ul><span class="paren">)</span>
7511
<span class="flag private">private</span>
7524
<a href="../classes/Widget.html#method__renderBox">Widget</a>:
7528
<a href="../files/widget_js_Widget.js.html#l711"><code>widget/js/Widget.js:711</code></a>
7538
<div class="description">
7539
<p>Helper method to collect the boundingBox and contentBox and append to the provided parentNode, if not
7540
already a child. The owner document of the boundingBox, or the owner document of the contentBox will be used
7541
as the document into which the Widget is rendered if a parentNode is node is not provided. If both the boundingBox and
7542
the contentBox are not currently in the document, and no parentNode is provided, the widget will be rendered
7543
to the current document's body.</p>
7547
<div class="params">
7548
<h4>Parameters:</h4>
7550
<ul class="params-list">
7554
<code class="param-name">parentNode</code>
7555
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
7560
<div class="param-description">
7561
<p>The parentNode to render the widget to. If not provided, and both the boundingBox and
7562
the contentBox are not currently in the document, the widget will be rendered to the current document's body.</p>
7578
<div id="method__renderBoxClassNames" class="method item protected inherited">
7579
<h3 class="name"><code>_renderBoxClassNames</code></h3>
7582
<span class="paren">()</span>
7590
<span class="flag protected">protected</span>
7603
<a href="../classes/Widget.html#method__renderBoxClassNames">Widget</a>:
7607
<a href="../files/widget_js_Widget.js.html#l825"><code>widget/js/Widget.js:825</code></a>
7617
<div class="description">
7618
<p>Applies standard class names to the boundingBox and contentBox</p>
7629
<div id="method__renderUI" class="method item protected inherited">
7630
<h3 class="name"><code>_renderUI</code></h3>
7633
<span class="paren">()</span>
7641
<span class="flag protected">protected</span>
7654
<a href="../classes/Widget.html#method__renderUI">Widget</a>:
7658
<a href="../files/widget_js_Widget.js.html#l814"><code>widget/js/Widget.js:814</code></a>
7668
<div class="description">
7669
<p>Initializes the UI state for the Widget's bounding/content boxes.</p>
7680
<div id="method__set" class="method item protected inherited">
7681
<h3 class="name"><code>_set</code></h3>
7685
<span class="paren">(</span><ul class="args-list inline commas">
7699
</ul><span class="paren">)</span>
7704
<span class="returns-inline">
7705
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7712
<span class="flag protected">protected</span>
7720
<span class="flag chainable">chainable</span>
7726
<a href="../classes/AttributeEvents.html#method__set">
7734
<a href="../files/attribute_js_AttributeCore.js.html#l346"><code>attribute/js/AttributeCore.js:346</code></a>
7744
<div class="description">
7745
<p>Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details.</p>
7749
<div class="params">
7750
<h4>Parameters:</h4>
7752
<ul class="params-list">
7756
<code class="param-name">name</code>
7757
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7762
<div class="param-description">
7763
<p>The name of the attribute.</p>
7771
<code class="param-name">val</code>
7772
<span class="type">Any</span>
7777
<div class="param-description">
7778
<p>The value to set the attribute to.</p>
7789
<div class="returns">
7792
<div class="returns-description">
7795
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7797
A reference to the host object.
7807
<div id="method__setAttr" class="method item protected inherited">
7808
<h3 class="name"><code>_setAttr</code></h3>
7812
<span class="paren">(</span><ul class="args-list inline commas">
7838
</ul><span class="paren">)</span>
7843
<span class="returns-inline">
7844
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7851
<span class="flag protected">protected</span>
7859
<span class="flag chainable">chainable</span>
7866
<a href="../classes/AttributeCore.html#method__setAttr">AttributeCore</a>:
7870
<a href="../files/attribute_js_AttributeCore.js.html#l361"><code>attribute/js/AttributeCore.js:361</code></a>
7880
<div class="description">
7881
<p>Provides the common implementation for the public set and protected _set methods.</p>
7883
<p>See <a href="#method_set">set</a> for argument details.</p>
7887
<div class="params">
7888
<h4>Parameters:</h4>
7890
<ul class="params-list">
7894
<code class="param-name">name</code>
7895
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
7900
<div class="param-description">
7901
<p>The name of the attribute.</p>
7909
<code class="param-name">value</code>
7910
<span class="type">Any</span>
7915
<div class="param-description">
7916
<p>The value to set the attribute to.</p>
7924
<code class="param-name">opts</code>
7925
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
7930
<div class="param-description">
7931
<p>(Optional) Optional event data to be mixed into
7932
the event facade passed to subscribers of the attribute's change event.
7933
This is currently a hack. There's no real need for the AttributeCore implementation
7934
to support this parameter, but breaking it out into AttributeEvents, results in
7935
additional function hops for the critical path. May change in 3.5.0 PR3.</p>
7943
<code class="param-name">force</code>
7944
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
7949
<div class="param-description">
7950
<p>If true, allows the caller to set values for
7951
readOnly or writeOnce attributes which have already been set.</p>
7962
<div class="returns">
7965
<div class="returns-description">
7968
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
7970
A reference to the host object.
7980
<div id="method__setAttrs" class="method item protected inherited">
7981
<h3 class="name"><code>_setAttrs</code></h3>
7985
<span class="paren">(</span><ul class="args-list inline commas">
7993
</ul><span class="paren">)</span>
7998
<span class="returns-inline">
7999
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8006
<span class="flag protected">protected</span>
8014
<span class="flag chainable">chainable</span>
8021
<a href="../classes/AttributeCore.html#method__setAttrs">AttributeCore</a>:
8025
<a href="../files/attribute_js_AttributeCore.js.html#l647"><code>attribute/js/AttributeCore.js:647</code></a>
8035
<div class="description">
8036
<p>Implementation behind the public setAttrs method, to set multiple attribute values.</p>
8040
<div class="params">
8041
<h4>Parameters:</h4>
8043
<ul class="params-list">
8047
<code class="param-name">attrs</code>
8048
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8053
<div class="param-description">
8054
<p>An object with attributes name/value pairs.</p>
8065
<div class="returns">
8068
<div class="returns-description">
8071
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
8073
A reference to the host object.
8083
<div id="method__setAttrUI" class="method item private inherited">
8084
<h3 class="name"><code>_setAttrUI</code></h3>
8088
<span class="paren">(</span><ul class="args-list inline commas">
8096
</ul><span class="paren">)</span>
8105
<span class="flag private">private</span>
8118
<a href="../classes/Widget.html#method__setAttrUI">Widget</a>:
8122
<a href="../files/widget_js_Widget.js.html#l1188"><code>widget/js/Widget.js:1188</code></a>
8132
<div class="description">
8137
<div class="params">
8138
<h4>Parameters:</h4>
8140
<ul class="params-list">
8144
<code class="param-name">e</code>
8145
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
8150
<div class="param-description">
8167
<div id="method__setAttrVal" class="method item private inherited">
8168
<h3 class="name"><code>_setAttrVal</code></h3>
8172
<span class="paren">(</span><ul class="args-list inline commas">
8176
<code>attrName</code>
8182
<code>subAttrName</code>
8188
<code>prevVal</code>
8198
</ul><span class="paren">)</span>
8203
<span class="returns-inline">
8204
<span class="type">Booolean</span>
8211
<span class="flag private">private</span>
8224
<a href="../classes/AttributeCore.html#method__setAttrVal">AttributeCore</a>:
8228
<a href="../files/attribute_js_AttributeCore.js.html#l554"><code>attribute/js/AttributeCore.js:554</code></a>
8238
<div class="description">
8239
<p>Updates the stored value of the attribute in the privately held State object,
8240
if validation and setter passes.</p>
8244
<div class="params">
8245
<h4>Parameters:</h4>
8247
<ul class="params-list">
8251
<code class="param-name">attrName</code>
8252
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8257
<div class="param-description">
8258
<p>The attribute name.</p>
8266
<code class="param-name">subAttrName</code>
8267
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8272
<div class="param-description">
8273
<p>The sub-attribute name, if setting a sub-attribute property ("x.y.z").</p>
8281
<code class="param-name">prevVal</code>
8282
<span class="type">Any</span>
8287
<div class="param-description">
8288
<p>The currently stored value of the attribute.</p>
8296
<code class="param-name">newVal</code>
8297
<span class="type">Any</span>
8302
<div class="param-description">
8303
<p>The value which is going to be stored.</p>
8314
<div class="returns">
8317
<div class="returns-description">
8320
<span class="type">Booolean</span>:
8322
true if the new attribute value was stored, false if not.
8332
<div id="method__setBB" class="method item private inherited">
8333
<h3 class="name"><code>_setBB</code></h3>
8337
<span class="paren">(</span><ul class="args-list inline commas">
8341
<code>Node/String</code>
8345
</ul><span class="paren">)</span>
8350
<span class="returns-inline">
8351
<span class="type"></span>
8358
<span class="flag private">private</span>
8371
<a href="../classes/Widget.html#method__setBB">Widget</a>:
8375
<a href="../files/widget_js_Widget.js.html#l757"><code>widget/js/Widget.js:757</code></a>
8385
<div class="description">
8386
<p>Setter for the boundingBox attribute</p>
8390
<div class="params">
8391
<h4>Parameters:</h4>
8393
<ul class="params-list">
8397
<code class="param-name">Node/String</code>
8398
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8403
<div class="param-description">
8415
<div class="returns">
8418
<div class="returns-description">
8431
<div id="method__setBox" class="method item private inherited">
8432
<h3 class="name"><code>_setBox</code></h3>
8436
<span class="paren">(</span><ul class="args-list inline commas">
8452
<code>template</code>
8456
</ul><span class="paren">)</span>
8461
<span class="returns-inline">
8462
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>
8469
<span class="flag private">private</span>
8482
<a href="../classes/Widget.html#method__setBox">Widget</a>:
8486
<a href="../files/widget_js_Widget.js.html#l794"><code>widget/js/Widget.js:794</code></a>
8496
<div class="description">
8497
<p>Helper method to set the bounding/content box, or create it from
8498
the provided template if not found.</p>
8502
<div class="params">
8503
<h4>Parameters:</h4>
8505
<ul class="params-list">
8509
<code class="param-name">id</code>
8510
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8515
<div class="param-description">
8516
<p>The node's id attribute</p>
8524
<code class="param-name">node</code>
8525
<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>
8530
<div class="param-description">
8531
<p>The node reference</p>
8539
<code class="param-name">template</code>
8540
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8545
<div class="param-description">
8546
<p>HTML string template for the node</p>
8557
<div class="returns">
8560
<div class="returns-description">
8563
<span class="type"><a href="../classes/Node.html" class="crosslink">Node</a></span>:
8575
<div id="method__setCB" class="method item private inherited">
8576
<h3 class="name"><code>_setCB</code></h3>
8580
<span class="paren">(</span><ul class="args-list inline commas">
8588
</ul><span class="paren">)</span>
8593
<span class="returns-inline">
8594
<span class="type"></span>
8601
<span class="flag private">private</span>
8614
<a href="../classes/Widget.html#method__setCB">Widget</a>:
8618
<a href="../files/widget_js_Widget.js.html#l769"><code>widget/js/Widget.js:769</code></a>
8628
<div class="description">
8629
<p>Setter for the contentBox attribute</p>
8633
<div class="params">
8634
<h4>Parameters:</h4>
8636
<ul class="params-list">
8640
<code class="param-name">node</code>
8641
<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>
8646
<div class="param-description">
8658
<div class="returns">
8661
<div class="returns-description">
8674
<div id="method__setStateVal" class="method item private inherited">
8675
<h3 class="name"><code>_setStateVal</code></h3>
8679
<span class="paren">(</span><ul class="args-list inline commas">
8693
</ul><span class="paren">)</span>
8702
<span class="flag private">private</span>
8715
<a href="../classes/AttributeCore.html#method__setStateVal">AttributeCore</a>:
8719
<a href="../files/attribute_js_AttributeCore.js.html#l536"><code>attribute/js/AttributeCore.js:536</code></a>
8729
<div class="description">
8730
<p>Sets the stored value for the attribute, in either the
8731
internal state object, or the state proxy if it exits</p>
8735
<div class="params">
8736
<h4>Parameters:</h4>
8738
<ul class="params-list">
8742
<code class="param-name">name</code>
8743
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8748
<div class="param-description">
8749
<p>The name of the attribute</p>
8757
<code class="param-name">value</code>
8758
<span class="type">Any</span>
8763
<div class="param-description">
8764
<p>The value of the attribute</p>
8780
<div id="method__setStrings" class="method item protected inherited">
8781
<h3 class="name"><code>_setStrings</code></h3>
8785
<span class="paren">(</span><ul class="args-list inline commas">
8789
<code>strings</code>
8799
</ul><span class="paren">)</span>
8808
<span class="flag protected">protected</span>
8821
<a href="../classes/Widget.html#method__setStrings">Widget</a>:
8825
<a href="../files/widget_js_WidgetLocale.js.html#l32"><code>widget/js/WidgetLocale.js:32</code></a>
8835
<div class="description">
8836
<p>Sets strings for a particular locale, merging with any existing
8837
strings which may already be defined for the locale.</p>
8841
<div class="params">
8842
<h4>Parameters:</h4>
8844
<ul class="params-list">
8848
<code class="param-name">strings</code>
8849
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8854
<div class="param-description">
8855
<p>The hash of string key/values to set</p>
8863
<code class="param-name">locale</code>
8864
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8869
<div class="param-description">
8870
<p>The locale for the string values being set</p>
8886
<div id="method__strSetter" class="method item protected inherited">
8887
<h3 class="name"><code>_strSetter</code></h3>
8891
<span class="paren">(</span><ul class="args-list inline commas">
8895
<code>strings</code>
8899
</ul><span class="paren">)</span>
8904
<span class="returns-inline">
8905
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
8912
<span class="flag protected">protected</span>
8925
<a href="../classes/Widget.html#method__strSetter">Widget</a>:
8929
<a href="../files/widget_js_Widget.js.html#l1199"><code>widget/js/Widget.js:1199</code></a>
8939
<div class="description">
8940
<p>The default setter for the strings attribute. Merges partial sets
8941
into the full string set, to allow users to partial sets of strings</p>
8945
<div class="params">
8946
<h4>Parameters:</h4>
8948
<ul class="params-list">
8952
<code class="param-name">strings</code>
8953
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
8958
<div class="param-description">
8970
<div class="returns">
8973
<div class="returns-description">
8976
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
8978
The full set of strings to set
8988
<div id="method__syncAttrUI" class="method item private inherited">
8989
<h3 class="name"><code>_syncAttrUI</code></h3>
8993
<span class="paren">(</span><ul class="args-list inline commas">
9001
</ul><span class="paren">)</span>
9010
<span class="flag private">private</span>
9023
<a href="../classes/Widget.html#method__syncAttrUI">Widget</a>:
9027
<a href="../files/widget_js_Widget.js.html#l1173"><code>widget/js/Widget.js:1173</code></a>
9037
<div class="description">
9038
<p>Invokes the _uiSet=ATTR NAME> method for the list of attributes provided</p>
9042
<div class="params">
9043
<h4>Parameters:</h4>
9045
<ul class="params-list">
9049
<code class="param-name">attrs</code>
9050
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
9055
<div class="param-description">
9072
<div id="method__syncUI" class="method item protected inherited">
9073
<h3 class="name"><code>_syncUI</code></h3>
9076
<span class="paren">()</span>
9084
<span class="flag protected">protected</span>
9097
<a href="../classes/Widget.html#method__syncUI">Widget</a>:
9101
<a href="../files/widget_js_Widget.js.html#l951"><code>widget/js/Widget.js:951</code></a>
9111
<div class="description">
9112
<p>Updates the widget UI to reflect the attribute state.</p>
9123
<div id="method__syncUIChild" class="method item protected inherited">
9124
<h3 class="name"><code>_syncUIChild</code></h3>
9127
<span class="paren">()</span>
9135
<span class="flag protected">protected</span>
9148
<a href="../classes/Widget.html#method__syncUIChild">Widget</a>:
9152
<a href="../files/widget-child_js_Widget-Child.js.html#l341"><code>widget-child/js/Widget-Child.js:341</code></a>
9162
<div class="description">
9163
<p>Synchronizes the UI to match the WidgetChild state.</p>
9166
This method is invoked after bindUI is invoked for the Widget class
9167
using YUI's aop infrastructure.
9179
<div id="method__uiSetChildSelected" class="method item protected inherited">
9180
<h3 class="name"><code>_uiSetChildSelected</code></h3>
9184
<span class="paren">(</span><ul class="args-list inline commas">
9188
<code>selected</code>
9192
</ul><span class="paren">)</span>
9201
<span class="flag protected">protected</span>
9214
<a href="../classes/Widget.html#method__uiSetChildSelected">Widget</a>:
9218
<a href="../files/widget-child_js_Widget-Child.js.html#l305"><code>widget-child/js/Widget-Child.js:305</code></a>
9228
<div class="description">
9229
<p>Updates the UI to reflect the <code>selected</code> attribute value.</p>
9233
<div class="params">
9234
<h4>Parameters:</h4>
9236
<ul class="params-list">
9240
<code class="param-name">selected</code>
9241
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
9246
<div class="param-description">
9247
<p>The selected value to be reflected in the UI.</p>
9263
<div id="method__uiSetDim" class="method item private inherited">
9264
<h3 class="name"><code>_uiSetDim</code></h3>
9268
<span class="paren">(</span><ul class="args-list inline commas">
9282
</ul><span class="paren">)</span>
9291
<span class="flag private">private</span>
9304
<a href="../classes/Widget.html#method__uiSetDim">Widget</a>:
9308
<a href="../files/widget_js_Widget.js.html#l984"><code>widget/js/Widget.js:984</code></a>
9318
<div class="description">
9323
<div class="params">
9324
<h4>Parameters:</h4>
9326
<ul class="params-list">
9330
<code class="param-name">dim</code>
9331
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9336
<div class="param-description">
9337
<p>The dimension - "width" or "height"</p>
9345
<code class="param-name">val</code>
9346
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a> | <a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9351
<div class="param-description">
9352
<p>The value to set</p>
9368
<div id="method__uiSetDisabled" class="method item protected inherited">
9369
<h3 class="name"><code>_uiSetDisabled</code></h3>
9373
<span class="paren">(</span><ul class="args-list inline commas">
9381
</ul><span class="paren">)</span>
9390
<span class="flag protected">protected</span>
9403
<a href="../classes/Widget.html#method__uiSetDisabled">Widget</a>:
9407
<a href="../files/widget_js_Widget.js.html#l1005"><code>widget/js/Widget.js:1005</code></a>
9417
<div class="description">
9418
<p>Sets the disabled state for the UI</p>
9422
<div class="params">
9423
<h4>Parameters:</h4>
9425
<ul class="params-list">
9429
<code class="param-name">val</code>
9430
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9435
<div class="param-description">
9452
<div id="method__uiSetFocused" class="method item protected inherited">
9453
<h3 class="name"><code>_uiSetFocused</code></h3>
9457
<span class="paren">(</span><ul class="args-list inline commas">
9471
</ul><span class="paren">)</span>
9480
<span class="flag protected">protected</span>
9493
<a href="../classes/Widget.html#method__uiSetFocused">Widget</a>:
9497
<a href="../files/widget_js_Widget.js.html#l1016"><code>widget/js/Widget.js:1016</code></a>
9507
<div class="description">
9508
<p>Sets the focused state for the UI</p>
9512
<div class="params">
9513
<h4>Parameters:</h4>
9515
<ul class="params-list">
9519
<code class="param-name">val</code>
9520
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9525
<div class="param-description">
9534
<code class="param-name">src</code>
9535
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
9540
<div class="param-description">
9541
<p>String representing the source that triggered an update to
9558
<div id="method__uiSetHeight" class="method item protected inherited">
9559
<h3 class="name"><code>_uiSetHeight</code></h3>
9563
<span class="paren">(</span><ul class="args-list inline commas">
9571
</ul><span class="paren">)</span>
9580
<span class="flag protected">protected</span>
9593
<a href="../classes/Widget.html#method__uiSetHeight">Widget</a>:
9597
<a href="../files/widget_js_Widget.js.html#l961"><code>widget/js/Widget.js:961</code></a>
9607
<div class="description">
9608
<p>Sets the height on the widget's bounding box element</p>
9612
<div class="params">
9613
<h4>Parameters:</h4>
9615
<ul class="params-list">
9619
<code class="param-name">val</code>
9620
<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/Number" class="crosslink external" target="_blank">Number</a></span>
9625
<div class="param-description">
9642
<div id="method__uiSetTabIndex" class="method item protected inherited">
9643
<h3 class="name"><code>_uiSetTabIndex</code></h3>
9647
<span class="paren">(</span><ul class="args-list inline commas">
9655
</ul><span class="paren">)</span>
9664
<span class="flag protected">protected</span>
9677
<a href="../classes/Widget.html#method__uiSetTabIndex">Widget</a>:
9681
<a href="../files/widget_js_Widget.js.html#l1038"><code>widget/js/Widget.js:1038</code></a>
9691
<div class="description">
9692
<p>Set the tabIndex on the widget's rendered UI</p>
9696
<div class="params">
9697
<h4>Parameters:</h4>
9699
<ul class="params-list">
9703
<code class="param-name">Number</code>
9704
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
9709
<div class="param-description">
9726
<div id="method__uiSetVisible" class="method item protected inherited">
9727
<h3 class="name"><code>_uiSetVisible</code></h3>
9731
<span class="paren">(</span><ul class="args-list inline commas">
9739
</ul><span class="paren">)</span>
9748
<span class="flag protected">protected</span>
9761
<a href="../classes/Widget.html#method__uiSetVisible">Widget</a>:
9765
<a href="../files/widget_js_Widget.js.html#l994"><code>widget/js/Widget.js:994</code></a>
9775
<div class="description">
9776
<p>Sets the visible state for the UI</p>
9780
<div class="params">
9781
<h4>Parameters:</h4>
9783
<ul class="params-list">
9787
<code class="param-name">val</code>
9788
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9793
<div class="param-description">
9810
<div id="method__uiSetWidth" class="method item protected inherited">
9811
<h3 class="name"><code>_uiSetWidth</code></h3>
9815
<span class="paren">(</span><ul class="args-list inline commas">
9823
</ul><span class="paren">)</span>
9832
<span class="flag protected">protected</span>
9845
<a href="../classes/Widget.html#method__uiSetWidth">Widget</a>:
9849
<a href="../files/widget_js_Widget.js.html#l973"><code>widget/js/Widget.js:973</code></a>
9859
<div class="description">
9860
<p>Sets the width on the widget's bounding box element</p>
9864
<div class="params">
9865
<h4>Parameters:</h4>
9867
<ul class="params-list">
9871
<code class="param-name">val</code>
9872
<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/Number" class="crosslink external" target="_blank">Number</a></span>
9877
<div class="param-description">
9894
<div id="method__uiSizeCB" class="method item protected inherited">
9895
<h3 class="name"><code>_uiSizeCB</code></h3>
9899
<span class="paren">(</span><ul class="args-list inline commas">
9907
</ul><span class="paren">)</span>
9916
<span class="flag protected">protected</span>
9929
<a href="../classes/Widget.html#method__uiSizeCB">Widget</a>:
9933
<a href="../files/widget_js_Widget.js.html#l702"><code>widget/js/Widget.js:702</code></a>
9943
<div class="description">
9948
<div class="params">
9949
<h4>Parameters:</h4>
9951
<ul class="params-list">
9955
<code class="param-name">expand</code>
9956
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
9961
<div class="param-description">
9978
<div id="method__unbindDOM" class="method item protected inherited">
9979
<h3 class="name"><code>_unbindDOM</code></h3>
9982
<span class="paren">()</span>
9990
<span class="flag protected">protected</span>
10003
<a href="../classes/Widget.html#method__unbindDOM">Widget</a>:
10007
<a href="../files/widget_js_Widget.js.html#l920"><code>widget/js/Widget.js:920</code></a>
10017
<div class="description">
10029
<div id="method__unbindUI" class="method item protected inherited">
10030
<h3 class="name"><code>_unbindUI</code></h3>
10033
<span class="paren">()</span>
10041
<span class="flag protected">protected</span>
10054
<a href="../classes/Widget.html#method__unbindUI">Widget</a>:
10058
<a href="../files/widget_js_Widget.js.html#l881"><code>widget/js/Widget.js:881</code></a>
10068
<div class="description">
10080
<div id="method__validTabIndex" class="method item protected inherited">
10081
<h3 class="name"><code>_validTabIndex</code></h3>
10085
<span class="paren">(</span><ul class="args-list inline commas">
10089
<code>tabIndex</code>
10093
</ul><span class="paren">)</span>
10102
<span class="flag protected">protected</span>
10115
<a href="../classes/Widget.html#method__validTabIndex">Widget</a>:
10119
<a href="../files/widget_js_Widget.js.html#l1148"><code>widget/js/Widget.js:1148</code></a>
10129
<div class="description">
10134
<div class="params">
10135
<h4>Parameters:</h4>
10137
<ul class="params-list">
10141
<code class="param-name">tabIndex</code>
10142
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
10147
<div class="param-description">
10164
<div id="method_addAttr" class="method item inherited">
10165
<h3 class="name"><code>addAttr</code></h3>
10169
<span class="paren">(</span><ul class="args-list inline commas">
10179
<code>config</code>
10189
</ul><span class="paren">)</span>
10194
<span class="returns-inline">
10195
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10208
<span class="flag chainable">chainable</span>
10215
<a href="../classes/AttributeCore.html#method_addAttr">AttributeCore</a>:
10219
<a href="../files/attribute_js_AttributeCore.js.html#l124"><code>attribute/js/AttributeCore.js:124</code></a>
10229
<div class="description">
10231
Adds an attribute with the provided configuration to the host object.
10235
The config argument object supports the following properties:
10239
<dt>value <Any></dt>
10240
<dd>The initial value to set on the attribute</dd>
10242
<dt>valueFn <Function | String></dt>
10244
<p>A function, which will return the initial value to set on the attribute. This is useful
10245
for cases where the attribute configuration is defined statically, but needs to
10246
reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined,
10247
the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which
10248
case the value property is used.</p>
10250
<p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>
10253
<dt>readOnly <boolean></dt>
10254
<dd>Whether or not the attribute is read only. Attributes having readOnly set to true
10255
cannot be modified by invoking the set method.</dd>
10257
<dt>writeOnce <boolean> or <string></dt>
10259
Whether or not the attribute is "write once". Attributes having writeOnce set to true,
10260
can only have their values set once, be it through the default configuration,
10261
constructor configuration arguments, or by invoking set.
10262
<p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization
10263
(when used with Base, this means it can only be set during construction)</p>
10266
<dt>setter <Function | String></dt>
10268
<p>The setter function used to massage or normalize the value passed to the set method for the attribute.
10269
The value returned by the setter will be the final stored value. Returning
10270
<a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent
10271
the value from being stored.
10274
<p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>
10277
<dt>getter <Function | String></dt>
10280
The getter function used to massage or normalize the value returned by the get method for the attribute.
10281
The value returned by the getter function is the value which will be returned to the user when they
10285
<p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>
10288
<dt>validator <Function | String></dt>
10291
The validator function invoked prior to setting the stored value. Returning
10292
false from the validator function will prevent the value from being stored.
10295
<p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>
10298
<dt>lazyAdd <boolean></dt>
10299
<dd>Whether or not to delay initialization of the attribute until the first call to get/set it.
10300
This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through
10301
the <a href="#method_addAttrs">addAttrs</a> method.</dd>
10305
<p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with
10306
the context ("this") set to the host object.</p>
10308
<p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,
10309
and are not intended for public use.</p>
10313
<div class="params">
10314
<h4>Parameters:</h4>
10316
<ul class="params-list">
10320
<code class="param-name">name</code>
10321
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10326
<div class="param-description">
10327
<p>The name of the attribute.</p>
10335
<code class="param-name">config</code>
10336
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10341
<div class="param-description">
10342
<p>An object with attribute configuration property/value pairs, specifying the configuration for the attribute.</p>
10345
<strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need
10346
to protect the original values, you will need to merge the object.
10355
<code class="param-name">lazy</code>
10356
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10361
<div class="param-description">
10362
<p>(optional) Whether or not to add this attribute lazily (on the first call to get/set).</p>
10373
<div class="returns">
10376
<div class="returns-description">
10379
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10381
A reference to the host object.
10391
<div id="method_addAttrs" class="method item inherited">
10392
<h3 class="name"><code>addAttrs</code></h3>
10396
<span class="paren">(</span><ul class="args-list inline commas">
10406
<code>values</code>
10416
</ul><span class="paren">)</span>
10421
<span class="returns-inline">
10422
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10435
<span class="flag chainable">chainable</span>
10442
<a href="../classes/AttributeCore.html#method_addAttrs">AttributeCore</a>:
10446
<a href="../files/attribute_js_AttributeCore.js.html#l708"><code>attribute/js/AttributeCore.js:708</code></a>
10456
<div class="description">
10457
<p>Configures a group of attributes, and sets initial values.</p>
10460
<strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning.
10461
The caller is responsible for merging/cloning the configuration object if required.
10466
<div class="params">
10467
<h4>Parameters:</h4>
10469
<ul class="params-list">
10473
<code class="param-name">cfgs</code>
10474
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10479
<div class="param-description">
10480
<p>An object with attribute name/configuration pairs.</p>
10488
<code class="param-name">values</code>
10489
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10494
<div class="param-description">
10495
<p>An object with attribute name/value pairs, defining the initial values to apply.
10496
Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only.</p>
10504
<code class="param-name">lazy</code>
10505
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10510
<div class="param-description">
10511
<p>Whether or not to delay the intialization of these attributes until the first call to get/set.
10512
Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration.
10513
See <a href="#method_addAttr">addAttr</a>.</p>
10524
<div class="returns">
10527
<div class="returns-description">
10530
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
10532
A reference to the host object.
10542
<div id="method_addTarget" class="method item inherited">
10543
<h3 class="name"><code>addTarget</code></h3>
10547
<span class="paren">(</span><ul class="args-list inline commas">
10555
</ul><span class="paren">)</span>
10575
<a href="../classes/EventTarget.html#method_addTarget">EventTarget</a>:
10579
<a href="../files/event-custom_js_event-facade.js.html#l382"><code>event-custom/js/event-facade.js:382</code></a>
10589
<div class="description">
10590
<p>Registers another EventTarget as a bubble target. Bubble order
10591
is determined by the order registered. Multiple targets can
10594
<p>Events can only bubble if emitFacade is true.</p>
10596
<p>Included in the event-custom-complex submodule.</p>
10600
<div class="params">
10601
<h4>Parameters:</h4>
10603
<ul class="params-list">
10607
<code class="param-name">o</code>
10608
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
10613
<div class="param-description">
10614
<p>the target to add</p>
10630
<div id="method_after" class="method item inherited">
10631
<h3 class="name"><code>after</code></h3>
10635
<span class="paren">(</span><ul class="args-list inline commas">
10651
<code class="optional">[context]</code>
10657
<code class="optional">[arg*]</code>
10661
</ul><span class="paren">)</span>
10666
<span class="returns-inline">
10667
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
10685
<a href="../classes/EventTarget.html#method_after">EventTarget</a>:
10689
<a href="../files/event-custom_js_event-target.js.html#l730"><code>event-custom/js/event-target.js:730</code></a>
10699
<div class="description">
10700
<p>Subscribe to a custom event hosted by this object. The
10701
supplied callback will execute after any listeners add
10702
via the subscribe method, and after the default function,
10703
if configured for the event, has executed.</p>
10707
<div class="params">
10708
<h4>Parameters:</h4>
10710
<ul class="params-list">
10714
<code class="param-name">type</code>
10715
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10720
<div class="param-description">
10721
<p>The name of the event</p>
10729
<code class="param-name">fn</code>
10730
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
10735
<div class="param-description">
10736
<p>The callback to execute in response to the event</p>
10744
<code class="param-name optional">[context]</code>
10745
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
10746
<span class="flag optional" title="This parameter is optional.">optional</span>
10751
<div class="param-description">
10752
<p>Override <code>this</code> object in callback</p>
10760
<code class="param-name optional">[arg*]</code>
10761
<span class="type">Any</span>
10762
<span class="flag optional" title="This parameter is optional.">optional</span>
10767
<div class="param-description">
10768
<p>0..n additional arguments to supply to the subscriber</p>
10779
<div class="returns">
10782
<div class="returns-description">
10785
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
10787
A subscription handle capable of detaching the
10798
<div id="method_ancestor" class="method item inherited">
10799
<h3 class="name"><code>ancestor</code></h3>
10803
<span class="paren">(</span><ul class="args-list inline commas">
10811
</ul><span class="paren">)</span>
10816
<span class="returns-inline">
10817
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>
10835
<a href="../classes/Widget.html#method_ancestor">Widget</a>:
10839
<a href="../files/widget-child_js_Widget-Child.js.html#l279"><code>widget-child/js/Widget-Child.js:279</code></a>
10849
<div class="description">
10850
<p>Returns the Widget instance at the specified depth.</p>
10854
<div class="params">
10855
<h4>Parameters:</h4>
10857
<ul class="params-list">
10861
<code class="param-name">depth</code>
10862
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
10867
<div class="param-description">
10868
<p>Number representing the depth of the ancestor.</p>
10879
<div class="returns">
10882
<div class="returns-description">
10885
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>:
10897
<div id="method_attrAdded" class="method item inherited">
10898
<h3 class="name"><code>attrAdded</code></h3>
10902
<span class="paren">(</span><ul class="args-list inline commas">
10910
</ul><span class="paren">)</span>
10915
<span class="returns-inline">
10916
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
10934
<a href="../classes/AttributeCore.html#method_attrAdded">AttributeCore</a>:
10938
<a href="../files/attribute_js_AttributeCore.js.html#l272"><code>attribute/js/AttributeCore.js:272</code></a>
10948
<div class="description">
10949
<p>Checks if the given attribute has been added to the host</p>
10953
<div class="params">
10954
<h4>Parameters:</h4>
10956
<ul class="params-list">
10960
<code class="param-name">name</code>
10961
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
10966
<div class="param-description">
10967
<p>The name of the attribute to check.</p>
10978
<div class="returns">
10981
<div class="returns-description">
10984
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
10986
true if an attribute with the given name has been added, false if it hasn't. This method will return true for lazily added attributes.
10996
<div id="method_before" class="method item inherited">
10997
<h3 class="name"><code>before</code></h3>
11000
<span class="paren">()</span>
11004
<span class="returns-inline">
11005
<span class="type"></span>
11023
<a href="../classes/EventTarget.html#method_before">EventTarget</a>:
11027
<a href="../files/event-custom_js_event-target.js.html#l767"><code>event-custom/js/event-target.js:767</code></a>
11037
<div class="description">
11038
<p>Executes the callback before a DOM event, custom event
11039
or method. If the first argument is a function, it
11040
is assumed the target is a method. For DOM and custom
11041
events, this is an alias for Y.on.</p>
11043
<p>For DOM and custom events:
11044
type, callback, context, 0-n arguments</p>
11047
callback, object (method host), methodName, context, 0-n arguments</p>
11053
<div class="returns">
11056
<div class="returns-description">
11069
<div id="method_bindUI" class="method item">
11070
<h3 class="name"><code>bindUI</code></h3>
11073
<span class="paren">()</span>
11091
<a href="../classes/Widget.html#method_bindUI">
11099
<a href="../files/button_js_button.js.html#l41"><code>button/js/button.js:41</code></a>
11109
<div class="description">
11110
<p>Hooks up events for the widget</p>
11121
<div id="method_blur" class="method item inherited">
11122
<h3 class="name"><code>blur</code></h3>
11125
<span class="paren">()</span>
11139
<span class="flag chainable">chainable</span>
11146
<a href="../classes/Widget.html#method_blur">Widget</a>:
11150
<a href="../files/widget_js_Widget.js.html#l674"><code>widget/js/Widget.js:674</code></a>
11160
<div class="description">
11161
<p>Causes the Widget to lose focus by setting the "focused" attribute
11173
<div id="method_bubble" class="method item inherited">
11174
<h3 class="name"><code>bubble</code></h3>
11178
<span class="paren">(</span><ul class="args-list inline commas">
11186
</ul><span class="paren">)</span>
11191
<span class="returns-inline">
11192
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11210
<a href="../classes/EventTarget.html#method_bubble">EventTarget</a>:
11214
<a href="../files/event-custom_js_event-facade.js.html#l419"><code>event-custom/js/event-facade.js:419</code></a>
11224
<div class="description">
11225
<p>Propagate an event. Requires the event-custom-complex module.</p>
11229
<div class="params">
11230
<h4>Parameters:</h4>
11232
<ul class="params-list">
11236
<code class="param-name">evt</code>
11237
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
11242
<div class="param-description">
11243
<p>the custom event to propagate</p>
11254
<div class="returns">
11257
<div class="returns-description">
11260
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
11262
the aggregated return value from Event.Custom.fire
11272
<div id="method_destroy" class="method item inherited">
11273
<h3 class="name"><code>destroy</code></h3>
11277
<span class="paren">(</span><ul class="args-list inline commas">
11281
<code>destroyAllNodes</code>
11285
</ul><span class="paren">)</span>
11290
<span class="returns-inline">
11291
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>
11304
<span class="flag chainable">chainable</span>
11310
<a href="../classes/BaseCore.html#method_destroy">
11318
<a href="../files/widget_js_Widget.js.html#l455"><code>widget/js/Widget.js:455</code></a>
11328
<div class="description">
11330
Destroy lifecycle method. Fires the destroy
11331
event, prior to invoking destructors for the
11334
Overrides Base's implementation, to support arguments to destroy
11338
Subscribers to the destroy
11339
event can invoke preventDefault on the event object, to prevent destruction
11345
<div class="params">
11346
<h4>Parameters:</h4>
11348
<ul class="params-list">
11352
<code class="param-name">destroyAllNodes</code>
11353
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
11358
<div class="param-description">
11359
<p>If true, all nodes contained within the Widget are removed and destroyed. Defaults to false due to potentially high run-time cost.</p>
11370
<div class="returns">
11373
<div class="returns-description">
11376
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>:
11378
A reference to this object
11388
<div id="method_destructor" class="method item protected inherited">
11389
<h3 class="name"><code>destructor</code></h3>
11392
<span class="paren">()</span>
11400
<span class="flag protected">protected</span>
11413
<a href="../classes/Widget.html#method_destructor">Widget</a>:
11417
<a href="../files/widget_js_Widget.js.html#l430"><code>widget/js/Widget.js:430</code></a>
11427
<div class="description">
11428
<p>Destructor lifecycle implementation for the Widget class. Purges events attached
11429
to the bounding box and content box, removes them from the DOM and removes
11430
the Widget from the list of registered widgets.</p>
11441
<div id="method_detach" class="method item inherited">
11442
<h3 class="name"><code>detach</code></h3>
11446
<span class="paren">(</span><ul class="args-list inline commas">
11462
<code>context</code>
11466
</ul><span class="paren">)</span>
11471
<span class="returns-inline">
11472
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
11490
<a href="../classes/EventTarget.html#method_detach">EventTarget</a>:
11494
<a href="../files/event-custom_js_event-target.js.html#l345"><code>event-custom/js/event-target.js:345</code></a>
11504
<div class="description">
11505
<p>Detach one or more listeners the from the specified event</p>
11509
<div class="params">
11510
<h4>Parameters:</h4>
11512
<ul class="params-list">
11516
<code class="param-name">type</code>
11517
<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>
11522
<div class="param-description">
11523
<p>Either the handle to the subscriber or the
11524
type of event. If the type
11525
is not specified, it will attempt to remove
11526
the listener from all hosted events.</p>
11534
<code class="param-name">fn</code>
11535
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
11540
<div class="param-description">
11541
<p>The subscribed function to unsubscribe, if not
11542
supplied, all subscribers will be removed.</p>
11550
<code class="param-name">context</code>
11551
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
11556
<div class="param-description">
11557
<p>The custom object passed to subscribe. This is
11558
optional, but if supplied will be used to
11559
disambiguate multiple listeners that are the same
11560
(e.g., you subscribe many object using a function
11561
that lives on the prototype)</p>
11572
<div class="returns">
11575
<div class="returns-description">
11578
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
11590
<div id="method_detachAll" class="method item inherited">
11591
<h3 class="name"><code>detachAll</code></h3>
11595
<span class="paren">(</span><ul class="args-list inline commas">
11603
</ul><span class="paren">)</span>
11623
<a href="../classes/EventTarget.html#method_detachAll">EventTarget</a>:
11627
<a href="../files/event-custom_js_event-target.js.html#l465"><code>event-custom/js/event-target.js:465</code></a>
11637
<div class="description">
11638
<p>Removes all listeners from the specified event. If the event type
11639
is not specified, all listeners from all hosted custom events will
11644
<div class="params">
11645
<h4>Parameters:</h4>
11647
<ul class="params-list">
11651
<code class="param-name">type</code>
11652
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
11657
<div class="param-description">
11658
<p>The type, or name of the event</p>
11674
<div id="method_disable" class="method item inherited">
11675
<h3 class="name"><code>disable</code></h3>
11678
<span class="paren">()</span>
11692
<span class="flag chainable">chainable</span>
11699
<a href="../classes/Widget.html#method_disable">Widget</a>:
11703
<a href="../files/widget_js_Widget.js.html#l693"><code>widget/js/Widget.js:693</code></a>
11713
<div class="description">
11714
<p>Set the Widget's "disabled" attribute to "true".</p>
11725
<div id="method_enable" class="method item inherited">
11726
<h3 class="name"><code>enable</code></h3>
11729
<span class="paren">()</span>
11743
<span class="flag chainable">chainable</span>
11750
<a href="../classes/Widget.html#method_enable">Widget</a>:
11754
<a href="../files/widget_js_Widget.js.html#l684"><code>widget/js/Widget.js:684</code></a>
11764
<div class="description">
11765
<p>Set the Widget's "disabled" attribute to "false".</p>
11776
<div id="method_fire" class="method item inherited">
11777
<h3 class="name"><code>fire</code></h3>
11781
<span class="paren">(</span><ul class="args-list inline commas">
11791
<code>arguments</code>
11795
</ul><span class="paren">)</span>
11800
<span class="returns-inline">
11801
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
11819
<a href="../classes/EventTarget.html#method_fire">EventTarget</a>:
11823
<a href="../files/event-custom_js_event-target.js.html#l629"><code>event-custom/js/event-target.js:629</code></a>
11833
<div class="description">
11834
<p>Fire a custom event by name. The callback functions will be executed
11835
from the context specified when the event was created, and with the
11836
following parameters.</p>
11838
<p>If the custom event object hasn't been created, then the event hasn't
11839
been published and it has no subscribers. For performance sake, we
11840
immediate exit in this case. This means the event won't bubble, so
11841
if the intention is that a bubble target be notified, the event must
11842
be published on this object first.</p>
11844
<p>The first argument is the event type, and any additional arguments are
11845
passed to the listeners as parameters. If the first of these is an
11846
object literal, and the event is configured to emit an event facade,
11847
that object is mixed into the event facade and the facade is provided
11848
in place of the original object.</p>
11852
<div class="params">
11853
<h4>Parameters:</h4>
11855
<ul class="params-list">
11859
<code class="param-name">type</code>
11860
<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>
11865
<div class="param-description">
11866
<p>The type of the event, or an object that contains
11867
a 'type' property.</p>
11875
<code class="param-name">arguments</code>
11876
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object*</a></span>
11881
<div class="param-description">
11882
<p>an arbitrary set of parameters to pass to
11883
the handler. If the first of these is an object literal and the event is
11884
configured to emit an event facade, the event facade will replace that
11885
parameter after the properties the object literal contains are copied to
11886
the event facade.</p>
11897
<div class="returns">
11900
<div class="returns-description">
11903
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>:
11915
<div id="method_focus" class="method item inherited">
11916
<h3 class="name"><code>focus</code></h3>
11919
<span class="paren">()</span>
11933
<span class="flag chainable">chainable</span>
11940
<a href="../classes/Widget.html#method_focus">Widget</a>:
11944
<a href="../files/widget_js_Widget.js.html#l664"><code>widget/js/Widget.js:664</code></a>
11954
<div class="description">
11955
<p>Causes the Widget to receive the focus by setting the "focused"
11956
attribute to "true".</p>
11967
<div id="method_get" class="method item inherited">
11968
<h3 class="name"><code>get</code></h3>
11972
<span class="paren">(</span><ul class="args-list inline commas">
11980
</ul><span class="paren">)</span>
11985
<span class="returns-inline">
11986
<span class="type">Any</span>
12004
<a href="../classes/AttributeCore.html#method_get">AttributeCore</a>:
12008
<a href="../files/attribute_js_AttributeCore.js.html#l283"><code>attribute/js/AttributeCore.js:283</code></a>
12018
<div class="description">
12019
<p>Returns the current value of the attribute. If the attribute
12020
has been configured with a 'getter' function, this method will delegate
12021
to the 'getter' to obtain the value of the attribute.</p>
12025
<div class="params">
12026
<h4>Parameters:</h4>
12028
<ul class="params-list">
12032
<code class="param-name">name</code>
12033
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12038
<div class="param-description">
12039
<p>The name of the attribute. If the value of the attribute is an Object,
12040
dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>)</p>
12051
<div class="returns">
12054
<div class="returns-description">
12057
<span class="type">Any</span>:
12059
The value of the attribute
12069
<div id="method_getAttrs" class="method item inherited">
12070
<h3 class="name"><code>getAttrs</code></h3>
12074
<span class="paren">(</span><ul class="args-list inline commas">
12082
</ul><span class="paren">)</span>
12087
<span class="returns-inline">
12088
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
12106
<a href="../classes/AttributeCore.html#method_getAttrs">AttributeCore</a>:
12110
<a href="../files/attribute_js_AttributeCore.js.html#l665"><code>attribute/js/AttributeCore.js:665</code></a>
12120
<div class="description">
12121
<p>Gets multiple attribute values.</p>
12125
<div class="params">
12126
<h4>Parameters:</h4>
12128
<ul class="params-list">
12132
<code class="param-name">attrs</code>
12133
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a> | boolean</span>
12138
<div class="param-description">
12139
<p>Optional. An array of attribute names. If omitted, all attribute values are
12140
returned. If set to true, all attributes modified from their initial values are returned.</p>
12151
<div class="returns">
12154
<div class="returns-description">
12157
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
12159
An object with attribute name/value pairs.
12169
<div id="method_getClassName" class="method item inherited">
12170
<h3 class="name"><code>getClassName</code></h3>
12174
<span class="paren">(</span><ul class="args-list inline commas">
12182
</ul><span class="paren">)</span>
12201
<a href="../classes/Widget.html#method_getClassName">
12209
<a href="../files/widget_js_Widget.js.html#l309"><code>widget/js/Widget.js:309</code></a>
12219
<div class="description">
12220
<p>Generate a standard prefixed classname for the Widget, prefixed by the default prefix defined
12221
by the <code>Y.config.classNamePrefix</code> attribute used by <code>ClassNameManager</code> and
12222
<code>Widget.NAME.toLowerCase()</code> (e.g. "yui-widget-xxxxx-yyyyy", based on default values for
12223
the prefix and widget class name).</p>
12226
The instance based version of this method can be used to generate standard prefixed classnames,
12227
based on the instances NAME, as opposed to Widget.NAME. This method should be used when you
12228
need to use a constant class name across different types instances.
12233
<div class="params">
12234
<h4>Parameters:</h4>
12236
<ul class="params-list">
12240
<code class="param-name">args</code>
12241
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String*</a></span>
12245
<span class="flag multiple" title="This argument may occur one or more times.">multiple</span>
12248
<div class="param-description">
12249
<p>0..n strings which should be concatenated, using the default separator defined by ClassNameManager, to create the class name</p>
12265
<div id="method_getDefaultLocale" class="method item inherited">
12266
<h3 class="name"><code>getDefaultLocale</code></h3>
12269
<span class="paren">()</span>
12273
<span class="returns-inline">
12274
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12292
<a href="../classes/Widget.html#method_getDefaultLocale">Widget</a>:
12296
<a href="../files/widget_js_WidgetLocale.js.html#l150"><code>widget/js/WidgetLocale.js:150</code></a>
12306
<div class="description">
12307
<p>Returns the default locale for the widget (the locale value defined by the
12308
widget class, or provided by the user during construction).</p>
12314
<div class="returns">
12317
<div class="returns-description">
12320
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
12322
The default locale for the widget
12332
<div id="method_getEvent" class="method item inherited">
12333
<h3 class="name"><code>getEvent</code></h3>
12337
<span class="paren">(</span><ul class="args-list inline commas">
12347
<code>prefixed</code>
12351
</ul><span class="paren">)</span>
12356
<span class="returns-inline">
12357
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
12375
<a href="../classes/EventTarget.html#method_getEvent">EventTarget</a>:
12379
<a href="../files/event-custom_js_event-target.js.html#l712"><code>event-custom/js/event-target.js:712</code></a>
12389
<div class="description">
12390
<p>Returns the custom event of the provided type has been created, a
12391
falsy value otherwise</p>
12395
<div class="params">
12396
<h4>Parameters:</h4>
12398
<ul class="params-list">
12402
<code class="param-name">type</code>
12403
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12408
<div class="param-description">
12409
<p>the type, or name of the event</p>
12417
<code class="param-name">prefixed</code>
12418
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12423
<div class="param-description">
12424
<p>if true, the type is prefixed already</p>
12435
<div class="returns">
12438
<div class="returns-description">
12441
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
12443
the custom event or null
12453
<div id="method_getSkinName" class="method item inherited">
12454
<h3 class="name"><code>getSkinName</code></h3>
12457
<span class="paren">()</span>
12461
<span class="returns-inline">
12462
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12480
<a href="../classes/Widget.html#method_getSkinName">Widget</a>:
12484
<a href="../files/widget_js_WidgetSkin.js.html#l13"><code>widget/js/WidgetSkin.js:13</code></a>
12494
<div class="description">
12495
<p>Returns the name of the skin that's currently applied to the widget.
12496
This is only really useful after the widget's DOM structure is in the
12497
document, either by render or by progressive enhancement. Searches up
12498
the Widget's ancestor axis for a class yui3-skin-(name), and returns the
12499
(name) portion. Otherwise, returns null.</p>
12505
<div class="returns">
12508
<div class="returns-description">
12511
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
12513
the name of the skin, or null (yui3-skin-sam => sam)
12523
<div id="method_getString" class="method item deprecated inherited">
12524
<h3 class="name"><code>getString</code></h3>
12528
<span class="paren">(</span><ul class="args-list inline commas">
12536
</ul><span class="paren">)</span>
12541
<span class="returns-inline">
12542
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12547
<span class="flag deprecated" title="Used by deprecated WidgetLocale implementations.">deprecated</span>
12561
<a href="../classes/Widget.html#method_getString">
12569
<a href="../files/widget_js_Widget.js.html#l1212"><code>widget/js/Widget.js:1212</code></a>
12575
<p>Deprecated: Used by deprecated WidgetLocale implementations.</p>
12581
<div class="description">
12582
<p>Helper method to get a specific string value</p>
12586
<div class="params">
12587
<h4>Parameters:</h4>
12589
<ul class="params-list">
12593
<code class="param-name">key</code>
12594
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12599
<div class="param-description">
12611
<div class="returns">
12614
<div class="returns-description">
12617
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
12629
<div id="method_getStrings" class="method item deprecated inherited">
12630
<h3 class="name"><code>getStrings</code></h3>
12634
<span class="paren">(</span><ul class="args-list inline commas">
12642
</ul><span class="paren">)</span>
12647
<span class="returns-inline">
12648
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12653
<span class="flag deprecated" title="Used by deprecated WidgetLocale implementations.">deprecated</span>
12667
<a href="../classes/Widget.html#method_getStrings">
12675
<a href="../files/widget_js_Widget.js.html#l1224"><code>widget/js/Widget.js:1224</code></a>
12681
<p>Deprecated: Used by deprecated WidgetLocale implementations.</p>
12687
<div class="description">
12688
<p>Helper method to get the complete set of strings for the widget</p>
12692
<div class="params">
12693
<h4>Parameters:</h4>
12695
<ul class="params-list">
12699
<code class="param-name">key</code>
12700
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
12705
<div class="param-description">
12717
<div class="returns">
12720
<div class="returns-description">
12723
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
12735
<div id="method_getTargets" class="method item inherited">
12736
<h3 class="name"><code>getTargets</code></h3>
12739
<span class="paren">()</span>
12743
<span class="returns-inline">
12744
<span class="type"></span>
12762
<a href="../classes/EventTarget.html#method_getTargets">EventTarget</a>:
12766
<a href="../files/event-custom_js_event-facade.js.html#l400"><code>event-custom/js/event-facade.js:400</code></a>
12776
<div class="description">
12777
<p>Returns an array of bubble targets for this object.</p>
12783
<div class="returns">
12786
<div class="returns-description">
12799
<div id="method_hide" class="method item inherited">
12800
<h3 class="name"><code>hide</code></h3>
12803
<span class="paren">()</span>
12817
<span class="flag chainable">chainable</span>
12824
<a href="../classes/Widget.html#method_hide">Widget</a>:
12828
<a href="../files/widget_js_Widget.js.html#l646"><code>widget/js/Widget.js:646</code></a>
12838
<div class="description">
12839
<p>Hides the Widget by setting the "visible" attribute to "false".</p>
12850
<div id="method_init" class="method item inherited">
12851
<h3 class="name"><code>init</code></h3>
12855
<span class="paren">(</span><ul class="args-list inline commas">
12859
<code>config</code>
12863
</ul><span class="paren">)</span>
12868
<span class="returns-inline">
12869
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>
12882
<span class="flag chainable">chainable</span>
12888
<a href="../classes/BaseCore.html#method_init">
12896
<a href="../files/base_js_Base.js.html#l191"><code>base/js/Base.js:191</code></a>
12906
<div class="description">
12907
<p>Init lifecycle method, invoked during construction.
12908
Fires the init event prior to setting up attributes and
12909
invoking initializers for the class hierarchy.</p>
12913
<div class="params">
12914
<h4>Parameters:</h4>
12916
<ul class="params-list">
12920
<code class="param-name">config</code>
12921
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
12926
<div class="param-description">
12927
<p>Object with configuration property name/value pairs</p>
12938
<div class="returns">
12941
<div class="returns-description">
12944
<span class="type"><a href="../classes/Base.html" class="crosslink">Base</a></span>:
12946
A reference to this object
12956
<div id="method_initializer" class="method item protected inherited">
12957
<h3 class="name"><code>initializer</code></h3>
12961
<span class="paren">(</span><ul class="args-list inline commas">
12965
<code>config</code>
12969
</ul><span class="paren">)</span>
12978
<span class="flag protected">protected</span>
12991
<a href="../classes/Widget.html#method_initializer">Widget</a>:
12995
<a href="../files/widget_js_Widget.js.html#l382"><code>widget/js/Widget.js:382</code></a>
13005
<div class="description">
13006
<p>Initializer lifecycle implementation for the Widget class. Registers the
13007
widget instance, and runs through the Widget's HTML_PARSER definition.</p>
13011
<div class="params">
13012
<h4>Parameters:</h4>
13014
<ul class="params-list">
13018
<code class="param-name">config</code>
13019
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13024
<div class="param-description">
13025
<p>Configuration object literal for the widget</p>
13041
<div id="method_initializer" class="method item private">
13042
<h3 class="name"><code>initializer</code></h3>
13046
<span class="paren">(</span><ul class="args-list inline commas">
13050
<code>config</code>
13054
</ul><span class="paren">)</span>
13063
<span class="flag private">private</span>
13083
<a href="../files/button_js_button.js.html#l31"><code>button/js/button.js:31</code></a>
13093
<div class="description">
13094
<p>Internal init() handler.</p>
13098
<div class="params">
13099
<h4>Parameters:</h4>
13101
<ul class="params-list">
13105
<code class="param-name">config</code>
13106
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13111
<div class="param-description">
13112
<p>Config object.</p>
13128
<div id="method_isRoot" class="method item inherited">
13129
<h3 class="name"><code>isRoot</code></h3>
13132
<span class="paren">()</span>
13136
<span class="returns-inline">
13137
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
13155
<a href="../classes/Widget.html#method_isRoot">Widget</a>:
13159
<a href="../files/widget-child_js_Widget-Child.js.html#l267"><code>widget-child/js/Widget-Child.js:267</code></a>
13169
<div class="description">
13170
<p>Determines if the Widget is the root Widget in the
13171
object hierarchy.</p>
13177
<div class="returns">
13180
<div class="returns-description">
13183
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>:
13185
Boolean indicating if Widget is the root Widget in the
13196
<div id="method_modifyAttr" class="method item inherited">
13197
<h3 class="name"><code>modifyAttr</code></h3>
13201
<span class="paren">(</span><ul class="args-list inline commas">
13211
<code>config</code>
13215
</ul><span class="paren">)</span>
13235
<a href="../classes/AttributeExtras.html#method_modifyAttr">AttributeExtras</a>:
13239
<a href="../files/attribute_js_AttributeExtras.js.html#l39"><code>attribute/js/AttributeExtras.js:39</code></a>
13249
<div class="description">
13250
<p>Updates the configuration of an attribute which has already been added.</p>
13253
The properties which can be modified through this interface are limited
13254
to the following subset of attributes, which can be safely modified
13255
after a value has already been set on the attribute: readOnly, writeOnce,
13256
broadcast and getter.
13261
<div class="params">
13262
<h4>Parameters:</h4>
13264
<ul class="params-list">
13268
<code class="param-name">name</code>
13269
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13274
<div class="param-description">
13275
<p>The name of the attribute whose configuration is to be updated.</p>
13283
<code class="param-name">config</code>
13284
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13289
<div class="param-description">
13290
<p>An object with configuration property/value pairs, specifying the configuration properties to modify.</p>
13306
<div id="method_next" class="method item inherited">
13307
<h3 class="name"><code>next</code></h3>
13311
<span class="paren">(</span><ul class="args-list inline commas">
13315
<code>circular</code>
13319
</ul><span class="paren">)</span>
13324
<span class="returns-inline">
13325
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>
13343
<a href="../classes/Widget.html#method_next">Widget</a>:
13347
<a href="../files/widget-child_js_Widget-Child.js.html#l191"><code>widget-child/js/Widget-Child.js:191</code></a>
13357
<div class="description">
13358
<p>Returns the Widget's next sibling.</p>
13362
<div class="params">
13363
<h4>Parameters:</h4>
13365
<ul class="params-list">
13369
<code class="param-name">circular</code>
13370
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
13375
<div class="param-description">
13376
<p>Boolean indicating if the parent's first child
13377
should be returned if the child has no next sibling.</p>
13388
<div class="returns">
13391
<div class="returns-description">
13394
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>:
13406
<div id="method_on" class="method item inherited">
13407
<h3 class="name"><code>on</code></h3>
13411
<span class="paren">(</span><ul class="args-list inline commas">
13427
<code class="optional">[context]</code>
13433
<code class="optional">[arg*]</code>
13437
</ul><span class="paren">)</span>
13442
<span class="returns-inline">
13443
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
13461
<a href="../classes/EventTarget.html#method_on">EventTarget</a>:
13465
<a href="../files/event-custom_js_event-target.js.html#l192"><code>event-custom/js/event-target.js:192</code></a>
13475
<div class="description">
13476
<p>Subscribe a callback function to a custom event fired by this object or
13477
from an object that bubbles its events to this object.</p>
13479
<p>Callback functions for events published with <code>emitFacade = true</code> will
13480
receive an <code>EventFacade</code> as the first argument (typically named "e").
13481
These callbacks can then call <code>e.preventDefault()</code> to disable the
13482
behavior published to that event's <code>defaultFn</code>. See the <code>EventFacade</code>
13483
API for all available properties and methods. Subscribers to
13484
non-<code>emitFacade</code> events will receive the arguments passed to <code>fire()</code>
13485
after the event name.</p>
13487
<p>To subscribe to multiple events at once, pass an object as the first
13488
argument, where the key:value pairs correspond to the eventName:callback,
13489
or pass an array of event names as the first argument to subscribe to
13490
all listed events with the same callback.</p>
13492
<p>Returning <code>false</code> from a callback is supported as an alternative to
13493
calling <code>e.preventDefault(); e.stopPropagation();</code>. However, it is
13494
recommended to use the event methods whenever possible.</p>
13498
<div class="params">
13499
<h4>Parameters:</h4>
13501
<ul class="params-list">
13505
<code class="param-name">type</code>
13506
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13511
<div class="param-description">
13512
<p>The name of the event</p>
13520
<code class="param-name">fn</code>
13521
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
13526
<div class="param-description">
13527
<p>The callback to execute in response to the event</p>
13535
<code class="param-name optional">[context]</code>
13536
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13537
<span class="flag optional" title="This parameter is optional.">optional</span>
13542
<div class="param-description">
13543
<p>Override <code>this</code> object in callback</p>
13551
<code class="param-name optional">[arg*]</code>
13552
<span class="type">Any</span>
13553
<span class="flag optional" title="This parameter is optional.">optional</span>
13558
<div class="param-description">
13559
<p>0..n additional arguments to supply to the subscriber</p>
13570
<div class="returns">
13573
<div class="returns-description">
13576
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
13578
A subscription handle capable of detaching that
13589
<div id="method_once" class="method item inherited">
13590
<h3 class="name"><code>once</code></h3>
13594
<span class="paren">(</span><ul class="args-list inline commas">
13610
<code class="optional">[context]</code>
13616
<code class="optional">[arg*]</code>
13620
</ul><span class="paren">)</span>
13625
<span class="returns-inline">
13626
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
13644
<a href="../classes/EventTarget.html#method_once">EventTarget</a>:
13648
<a href="../files/event-custom_js_event-target.js.html#l128"><code>event-custom/js/event-target.js:128</code></a>
13658
<div class="description">
13659
<p>Listen to a custom event hosted by this object one time.
13660
This is the equivalent to <code>on</code> except the
13661
listener is immediatelly detached when it is executed.</p>
13665
<div class="params">
13666
<h4>Parameters:</h4>
13668
<ul class="params-list">
13672
<code class="param-name">type</code>
13673
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13678
<div class="param-description">
13679
<p>The name of the event</p>
13687
<code class="param-name">fn</code>
13688
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
13693
<div class="param-description">
13694
<p>The callback to execute in response to the event</p>
13702
<code class="param-name optional">[context]</code>
13703
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13704
<span class="flag optional" title="This parameter is optional.">optional</span>
13709
<div class="param-description">
13710
<p>Override <code>this</code> object in callback</p>
13718
<code class="param-name optional">[arg*]</code>
13719
<span class="type">Any</span>
13720
<span class="flag optional" title="This parameter is optional.">optional</span>
13725
<div class="param-description">
13726
<p>0..n additional arguments to supply to the subscriber</p>
13737
<div class="returns">
13740
<div class="returns-description">
13743
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
13745
A subscription handle capable of detaching the
13756
<div id="method_onceAfter" class="method item inherited">
13757
<h3 class="name"><code>onceAfter</code></h3>
13761
<span class="paren">(</span><ul class="args-list inline commas">
13777
<code class="optional">[context]</code>
13783
<code class="optional">[arg*]</code>
13787
</ul><span class="paren">)</span>
13792
<span class="returns-inline">
13793
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>
13811
<a href="../classes/EventTarget.html#method_onceAfter">EventTarget</a>:
13815
<a href="../files/event-custom_js_event-target.js.html#l150"><code>event-custom/js/event-target.js:150</code></a>
13825
<div class="description">
13826
<p>Listen to a custom event hosted by this object one time.
13827
This is the equivalent to <code>after</code> except the
13828
listener is immediatelly detached when it is executed.</p>
13832
<div class="params">
13833
<h4>Parameters:</h4>
13835
<ul class="params-list">
13839
<code class="param-name">type</code>
13840
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
13845
<div class="param-description">
13846
<p>The name of the event</p>
13854
<code class="param-name">fn</code>
13855
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
13860
<div class="param-description">
13861
<p>The callback to execute in response to the event</p>
13869
<code class="param-name optional">[context]</code>
13870
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
13871
<span class="flag optional" title="This parameter is optional.">optional</span>
13876
<div class="param-description">
13877
<p>Override <code>this</code> object in callback</p>
13885
<code class="param-name optional">[arg*]</code>
13886
<span class="type">Any</span>
13887
<span class="flag optional" title="This parameter is optional.">optional</span>
13892
<div class="param-description">
13893
<p>0..n additional arguments to supply to the subscriber</p>
13904
<div class="returns">
13907
<div class="returns-description">
13910
<span class="type"><a href="../classes/EventHandle.html" class="crosslink">EventHandle</a></span>:
13912
A subscription handle capable of detaching that
13923
<div id="method_parseType" class="method item inherited">
13924
<h3 class="name"><code>parseType</code></h3>
13928
<span class="paren">(</span><ul class="args-list inline commas">
13938
<code class="optional">[pre=this._yuievt.config.prefix]</code>
13942
</ul><span class="paren">)</span>
13947
<span class="returns-inline">
13948
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
13966
<a href="../classes/EventTarget.html#method_parseType">EventTarget</a>:
13970
<a href="../files/event-custom_js_event-target.js.html#l172"><code>event-custom/js/event-target.js:172</code></a>
13978
<p>Available since 3.3.0</p>
13982
<div class="description">
13983
<p>Takes the type parameter passed to 'on' and parses out the
13984
various pieces that could be included in the type. If the
13985
event type is passed without a prefix, it will be expanded
13986
to include the prefix one is supplied or the event target
13987
is configured with a default prefix.</p>
13991
<div class="params">
13992
<h4>Parameters:</h4>
13994
<ul class="params-list">
13998
<code class="param-name">type</code>
13999
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14004
<div class="param-description">
14013
<code class="param-name optional">[pre=this._yuievt.config.prefix]</code>
14014
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14015
<span class="flag optional" title="This parameter is optional.">optional</span>
14020
<div class="param-description">
14032
<div class="returns">
14035
<div class="returns-description">
14038
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>:
14040
an array containing:
14041
* the detach category, if supplied,
14042
* the prefixed event type,
14043
* whether or not this is an after listener,
14044
* the supplied event type
14054
<div id="method_previous" class="method item inherited">
14055
<h3 class="name"><code>previous</code></h3>
14059
<span class="paren">(</span><ul class="args-list inline commas">
14063
<code>circular</code>
14067
</ul><span class="paren">)</span>
14072
<span class="returns-inline">
14073
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>
14091
<a href="../classes/Widget.html#method_previous">Widget</a>:
14095
<a href="../files/widget-child_js_Widget-Child.js.html#l216"><code>widget-child/js/Widget-Child.js:216</code></a>
14105
<div class="description">
14106
<p>Returns the Widget's previous sibling.</p>
14110
<div class="params">
14111
<h4>Parameters:</h4>
14113
<ul class="params-list">
14117
<code class="param-name">circular</code>
14118
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
14123
<div class="param-description">
14124
<p>Boolean indicating if the parent's last child
14125
should be returned if the child has no previous sibling.</p>
14136
<div class="returns">
14139
<div class="returns-description">
14142
<span class="type"><a href="../classes/Widget.html" class="crosslink">Widget</a></span>:
14154
<div id="method_publish" class="method item inherited">
14155
<h3 class="name"><code>publish</code></h3>
14159
<span class="paren">(</span><ul class="args-list inline commas">
14173
</ul><span class="paren">)</span>
14178
<span class="returns-inline">
14179
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>
14197
<a href="../classes/EventTarget.html#method_publish">EventTarget</a>:
14201
<a href="../files/event-custom_js_event-target.js.html#l489"><code>event-custom/js/event-target.js:489</code></a>
14211
<div class="description">
14212
<p>Creates a new custom event of the specified type. If a custom event
14213
by that name already exists, it will not be re-created. In either
14214
case the custom event is returned.</p>
14218
<div class="params">
14219
<h4>Parameters:</h4>
14221
<ul class="params-list">
14225
<code class="param-name">type</code>
14226
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14231
<div class="param-description">
14232
<p>the type, or name of the event</p>
14240
<code class="param-name">opts</code>
14241
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14246
<div class="param-description">
14247
<p>optional config params. Valid properties are:</p>
14251
'broadcast': whether or not the YUI instance and YUI global are notified when the event is fired (false)
14254
'bubbles': whether or not this event bubbles (true)
14255
Events can only bubble if emitFacade is true.
14258
'context': the default execution context for the listeners (this)
14261
'defaultFn': the default function to execute when this event fires if preventDefault was not called
14264
'emitFacade': whether or not this event emits a facade (false)
14267
'prefix': the prefix for this targets events, e.g., 'menu' in 'menu:click'
14270
'fireOnce': if an event is configured to fire once, new subscribers after
14271
the fire will be notified immediately.
14274
'async': fireOnce event listeners will fire synchronously if the event has already
14275
fired unless async is true.
14278
'preventable': whether or not preventDefault() has an effect (true)
14281
'preventedFn': a function that is executed when preventDefault is called
14284
'queuable': whether or not this event can be queued during bubbling (false)
14287
'silent': if silent is true, debug messages are not provided for this event.
14290
'stoppedFn': a function that is executed when stopPropagation is called
14294
'monitored': specifies whether or not this event should send notifications about
14295
when the event has been attached, detached, or published.
14298
'type': the event type (valid option if not provided as the first parameter to publish)
14311
<div class="returns">
14314
<div class="returns-description">
14317
<span class="type"><a href="../classes/CustomEvent.html" class="crosslink">CustomEvent</a></span>:
14329
<div id="method_removeAttr" class="method item inherited">
14330
<h3 class="name"><code>removeAttr</code></h3>
14334
<span class="paren">(</span><ul class="args-list inline commas">
14342
</ul><span class="paren">)</span>
14362
<a href="../classes/AttributeExtras.html#method_removeAttr">AttributeExtras</a>:
14366
<a href="../files/attribute_js_AttributeExtras.js.html#l77"><code>attribute/js/AttributeExtras.js:77</code></a>
14376
<div class="description">
14377
<p>Removes an attribute from the host object</p>
14381
<div class="params">
14382
<h4>Parameters:</h4>
14384
<ul class="params-list">
14388
<code class="param-name">name</code>
14389
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14394
<div class="param-description">
14395
<p>The name of the attribute to be removed.</p>
14411
<div id="method_removeTarget" class="method item inherited">
14412
<h3 class="name"><code>removeTarget</code></h3>
14416
<span class="paren">(</span><ul class="args-list inline commas">
14424
</ul><span class="paren">)</span>
14444
<a href="../classes/EventTarget.html#method_removeTarget">EventTarget</a>:
14448
<a href="../files/event-custom_js_event-facade.js.html#l409"><code>event-custom/js/event-facade.js:409</code></a>
14458
<div class="description">
14459
<p>Removes a bubble target</p>
14463
<div class="params">
14464
<h4>Parameters:</h4>
14466
<ul class="params-list">
14470
<code class="param-name">o</code>
14471
<span class="type"><a href="../classes/EventTarget.html" class="crosslink">EventTarget</a></span>
14476
<div class="param-description">
14477
<p>the target to remove</p>
14493
<div id="method_render" class="method item inherited">
14494
<h3 class="name"><code>render</code></h3>
14498
<span class="paren">(</span><ul class="args-list inline commas">
14502
<code>parentNode</code>
14506
</ul><span class="paren">)</span>
14517
<span class="flag final">final</span>
14523
<span class="flag chainable">chainable</span>
14530
<a href="../classes/Widget.html#method_render">Widget</a>:
14534
<a href="../files/widget_js_Widget.js.html#l514"><code>widget/js/Widget.js:514</code></a>
14544
<div class="description">
14545
<p>Establishes the initial DOM for the widget. Invoking this
14546
method will lead to the creating of all DOM elements for
14547
the widget (or the manipulation of existing DOM elements
14548
for the progressive enhancement use case).</p>
14551
This method should only be invoked once for an initialized
14556
It delegates to the widget specific renderer method to do
14562
<div class="params">
14563
<h4>Parameters:</h4>
14565
<ul class="params-list">
14569
<code class="param-name">parentNode</code>
14570
<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>
14575
<div class="param-description">
14576
<p>Optional. The Node under which the
14577
Widget is to be rendered. This can be a Node instance or a CSS selector string. </p>
14580
If the selector string returns more than one Node, the first node will be used
14581
as the parentNode. NOTE: This argument is required if both the boundingBox and contentBox
14582
are not currently in the document. If it's not provided, the Widget will be rendered
14583
to the body of the current document in this case.
14600
<div id="method_renderer" class="method item protected inherited">
14601
<h3 class="name"><code>renderer</code></h3>
14604
<span class="paren">()</span>
14612
<span class="flag protected">protected</span>
14625
<a href="../classes/Widget.html#method_renderer">Widget</a>:
14629
<a href="../files/widget_js_Widget.js.html#l589"><code>widget/js/Widget.js:589</code></a>
14639
<div class="description">
14640
<p>Creates DOM (or manipulates DOM for progressive enhancement)
14641
This method is invoked by render() and is not chained
14642
automatically for the class hierarchy (unlike initializer, destructor)
14643
so it should be chained manually for subclasses if required.</p>
14654
<div id="method_renderUI" class="method item protected inherited">
14655
<h3 class="name"><code>renderUI</code></h3>
14658
<span class="paren">()</span>
14666
<span class="flag protected">protected</span>
14679
<a href="../classes/Widget.html#method_renderUI">Widget</a>:
14683
<a href="../files/widget_js_Widget.js.html#l623"><code>widget/js/Widget.js:623</code></a>
14693
<div class="description">
14694
<p>Adds nodes to the DOM </p>
14696
<p>This method is not called by framework and is not chained
14697
automatically for the class hierarchy.</p>
14708
<div id="method_reset" class="method item inherited">
14709
<h3 class="name"><code>reset</code></h3>
14713
<span class="paren">(</span><ul class="args-list inline commas">
14721
</ul><span class="paren">)</span>
14726
<span class="returns-inline">
14727
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14740
<span class="flag chainable">chainable</span>
14747
<a href="../classes/AttributeExtras.html#method_reset">AttributeExtras</a>:
14751
<a href="../files/attribute_js_AttributeExtras.js.html#l87"><code>attribute/js/AttributeExtras.js:87</code></a>
14761
<div class="description">
14762
<p>Resets the attribute (or all attributes) to its initial value, as long as
14763
the attribute is not readOnly, or writeOnce.</p>
14767
<div class="params">
14768
<h4>Parameters:</h4>
14770
<ul class="params-list">
14774
<code class="param-name">name</code>
14775
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14780
<div class="param-description">
14781
<p>Optional. The name of the attribute to reset. If omitted, all attributes are reset.</p>
14792
<div class="returns">
14795
<div class="returns-description">
14798
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
14800
A reference to the host object.
14810
<div id="method_set" class="method item inherited">
14811
<h3 class="name"><code>set</code></h3>
14815
<span class="paren">(</span><ul class="args-list inline commas">
14829
</ul><span class="paren">)</span>
14834
<span class="returns-inline">
14835
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14848
<span class="flag chainable">chainable</span>
14854
<a href="../classes/AttributeEvents.html#method_set">
14862
<a href="../files/attribute_js_AttributeCore.js.html#l328"><code>attribute/js/AttributeCore.js:328</code></a>
14872
<div class="description">
14873
<p>Sets the value of an attribute.</p>
14877
<div class="params">
14878
<h4>Parameters:</h4>
14880
<ul class="params-list">
14884
<code class="param-name">name</code>
14885
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
14890
<div class="param-description">
14891
<p>The name of the attribute. If the
14892
current value of the attribute is an Object, dot notation can be used
14893
to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>).</p>
14901
<code class="param-name">value</code>
14902
<span class="type">Any</span>
14907
<div class="param-description">
14908
<p>The value to set the attribute to.</p>
14919
<div class="returns">
14922
<div class="returns-description">
14925
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
14927
A reference to the host object.
14937
<div id="method_setAttrs" class="method item inherited">
14938
<h3 class="name"><code>setAttrs</code></h3>
14942
<span class="paren">(</span><ul class="args-list inline commas">
14950
</ul><span class="paren">)</span>
14955
<span class="returns-inline">
14956
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
14969
<span class="flag chainable">chainable</span>
14975
<a href="../classes/AttributeEvents.html#method_setAttrs">
14983
<a href="../files/attribute_js_AttributeCore.js.html#l635"><code>attribute/js/AttributeCore.js:635</code></a>
14993
<div class="description">
14994
<p>Sets multiple attribute values.</p>
14998
<div class="params">
14999
<h4>Parameters:</h4>
15001
<ul class="params-list">
15005
<code class="param-name">attrs</code>
15006
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15011
<div class="param-description">
15012
<p>An object with attributes name/value pairs.</p>
15023
<div class="returns">
15026
<div class="returns-description">
15029
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>:
15031
A reference to the host object.
15041
<div id="method_show" class="method item inherited">
15042
<h3 class="name"><code>show</code></h3>
15045
<span class="paren">()</span>
15059
<span class="flag chainable">chainable</span>
15066
<a href="../classes/Widget.html#method_show">Widget</a>:
15070
<a href="../files/widget_js_Widget.js.html#l655"><code>widget/js/Widget.js:655</code></a>
15080
<div class="description">
15081
<p>Shows the Widget by setting the "visible" attribute to "true".</p>
15092
<div id="method_subscribe" class="method item deprecated inherited">
15093
<h3 class="name"><code>subscribe</code></h3>
15096
<span class="paren">()</span>
15102
<span class="flag deprecated" title="use on">deprecated</span>
15117
<a href="../classes/EventTarget.html#method_subscribe">EventTarget</a>:
15121
<a href="../files/event-custom_js_event-target.js.html#l335"><code>event-custom/js/event-target.js:335</code></a>
15127
<p>Deprecated: use on</p>
15133
<div class="description">
15134
<p>subscribe to an event</p>
15145
<div id="method_syncUI" class="method item">
15146
<h3 class="name"><code>syncUI</code></h3>
15149
<span class="paren">()</span>
15167
<a href="../classes/Widget.html#method_syncUI">
15175
<a href="../files/button_js_button.js.html#l53"><code>button/js/button.js:53</code></a>
15185
<div class="description">
15186
<p>Updates button attributes</p>
15197
<div id="method_toString" class="method item inherited">
15198
<h3 class="name"><code>toString</code></h3>
15201
<span class="paren">()</span>
15205
<span class="returns-inline">
15206
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15223
<a href="../classes/BaseCore.html#method_toString">
15231
<a href="../files/widget_js_Widget.js.html#l1094"><code>widget/js/Widget.js:1094</code></a>
15241
<div class="description">
15242
<p>Generic toString implementation for all widgets.</p>
15248
<div class="returns">
15251
<div class="returns-description">
15254
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>:
15256
The default string value for the widget [ displays the NAME of the instance, and the unique id ]
15266
<div id="method_unsubscribe" class="method item deprecated inherited">
15267
<h3 class="name"><code>unsubscribe</code></h3>
15270
<span class="paren">()</span>
15276
<span class="flag deprecated" title="use detach">deprecated</span>
15291
<a href="../classes/EventTarget.html#method_unsubscribe">EventTarget</a>:
15295
<a href="../files/event-custom_js_event-target.js.html#l455"><code>event-custom/js/event-target.js:455</code></a>
15301
<p>Deprecated: use detach</p>
15307
<div class="description">
15308
<p>detach a listener</p>
15319
<div id="method_unsubscribeAll" class="method item deprecated inherited">
15320
<h3 class="name"><code>unsubscribeAll</code></h3>
15324
<span class="paren">(</span><ul class="args-list inline commas">
15332
</ul><span class="paren">)</span>
15339
<span class="flag deprecated" title="use detachAll">deprecated</span>
15354
<a href="../classes/EventTarget.html#method_unsubscribeAll">EventTarget</a>:
15358
<a href="../files/event-custom_js_event-target.js.html#l476"><code>event-custom/js/event-target.js:476</code></a>
15364
<p>Deprecated: use detachAll</p>
15370
<div class="description">
15371
<p>Removes all listeners from the specified event. If the event type
15372
is not specified, all listeners from all hosted custom events will
15377
<div class="params">
15378
<h4>Parameters:</h4>
15380
<ul class="params-list">
15384
<code class="param-name">type</code>
15385
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15390
<div class="param-description">
15391
<p>The type, or name of the event</p>
15411
<div id="properties" class="api-class-tabpanel">
15412
<h2 class="off-left">Properties</h2>
15415
<div id="property__allowAdHocAttrs" class="property item protected inherited">
15416
<h3 class="name"><code>_allowAdHocAttrs</code></h3>
15417
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
15422
<span class="flag protected">protected</span>
15433
<a href="../classes/BaseCore.html#property__allowAdHocAttrs">BaseCore</a>:
15437
<a href="../files/base_js_BaseCore.js.html#l100"><code>base/js/BaseCore.js:100</code></a>
15446
<div class="description">
15447
<p>This property controls whether or not instances of this class should
15448
allow users to add ad-hoc attributes through the constructor configuration
15451
<p>AdHoc attributes are attributes which are not defined by the class, and are
15452
not handled by the MyClass.<em>NON</em>ATTRS_CFG</p>
15456
<p><strong>Default:</strong> undefined (false)</p>
15465
<div id="property__UI_ATTRS" class="property item private inherited">
15466
<h3 class="name"><code>_UI_ATTRS</code></h3>
15467
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15472
<span class="flag private">private</span>
15483
<a href="../classes/Widget.html#property__UI_ATTRS">Widget</a>:
15487
<a href="../files/widget_js_Widget.js.html#l1236"><code>widget/js/Widget.js:1236</code></a>
15496
<div class="description">
15497
<p>The lists of UI attributes to bind and sync for widget's _bindUI and _syncUI implementations</p>
15508
<div id="property_ATTRS" class="property item protected">
15509
<h3 class="name"><code>ATTRS</code></h3>
15510
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15515
<span class="flag protected">protected</span>
15521
<span class="flag static">static</span>
15535
<a href="../files/button_js_button.js.html#l94"><code>button/js/button.js:94</code></a>
15544
<div class="description">
15545
<p>Static property used to define the default attribute configuration of
15557
<div id="property_BOUNDING_TEMPLATE" class="property item inherited">
15558
<h3 class="name"><code>BOUNDING_TEMPLATE</code></h3>
15559
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15573
<a href="../classes/Widget.html#property_BOUNDING_TEMPLATE">Widget</a>:
15577
<a href="../files/widget_js_Widget.js.html#l1132"><code>widget/js/Widget.js:1132</code></a>
15586
<div class="description">
15587
<p>Property defining the markup template for bounding box.</p>
15598
<div id="property_CLASS_NAMES" class="property item">
15599
<h3 class="name"><code>CLASS_NAMES</code></h3>
15600
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15609
<span class="flag static">static</span>
15623
<a href="../files/button_js_button.js.html#l130"><code>button/js/button.js:130</code></a>
15632
<div class="description">
15633
<p>List of class names used in the ButtonGroup's DOM</p>
15644
<div id="property_CONTENT_TEMPLATE" class="property item inherited">
15645
<h3 class="name"><code>CONTENT_TEMPLATE</code></h3>
15646
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15660
<a href="../classes/Widget.html#property_CONTENT_TEMPLATE">Widget</a>:
15664
<a href="../files/widget_js_Widget.js.html#l1122"><code>widget/js/Widget.js:1122</code></a>
15673
<div class="description">
15674
<p>Property defining the markup template for content box. If your Widget doesn't
15675
need the dual boundingBox/contentBox structure, set CONTENT_TEMPLATE to null,
15676
and contentBox and boundingBox will both point to the same Node.</p>
15687
<div id="property_DEF_PARENT_NODE" class="property item inherited">
15688
<h3 class="name"><code>DEF_PARENT_NODE</code></h3>
15689
<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>
15703
<a href="../classes/Widget.html#property_DEF_PARENT_NODE">Widget</a>:
15707
<a href="../files/widget_js_Widget.js.html#l1113"><code>widget/js/Widget.js:1113</code></a>
15716
<div class="description">
15717
<p>Default node to render the bounding box to. If not set,
15718
will default to the current document body.</p>
15729
<div id="property_DEF_UNIT" class="property item inherited">
15730
<h3 class="name"><code>DEF_UNIT</code></h3>
15731
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15745
<a href="../classes/Widget.html#property_DEF_UNIT">Widget</a>:
15749
<a href="../files/widget_js_Widget.js.html#l1105"><code>widget/js/Widget.js:1105</code></a>
15758
<div class="description">
15759
<p>Default unit to use for dimension values</p>
15770
<div id="property_HTML_PARSER" class="property item protected">
15771
<h3 class="name"><code>HTML_PARSER</code></h3>
15772
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15777
<span class="flag protected">protected</span>
15783
<span class="flag static">static</span>
15797
<a href="../files/button_js_button.js.html#l113"><code>button/js/button.js:113</code></a>
15806
<div class="description">
15818
<div id="property_NAME" class="property item protected">
15819
<h3 class="name"><code>NAME</code></h3>
15820
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15825
<span class="flag protected">protected</span>
15831
<span class="flag static">static</span>
15845
<a href="../files/button_js_button.js.html#l82"><code>button/js/button.js:82</code></a>
15854
<div class="description">
15855
<p>The identity of the widget.</p>
15859
<p><strong>Default:</strong> 'button'</p>
15868
<div id="property_name" class="property item deprecated inherited">
15869
<h3 class="name"><code>name</code></h3>
15870
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
15873
<span class="flag deprecated" title="Use this.constructor.NAME">deprecated</span>
15886
<a href="../classes/BaseCore.html#property_name">BaseCore</a>:
15890
<a href="../files/base_js_BaseCore.js.html#l196"><code>base/js/BaseCore.js:196</code></a>
15895
<p>Deprecated: Use this.constructor.NAME</p>
15901
<div class="description">
15902
<p>The string used to identify the class of this object.</p>
15913
<div id="property_UI_EVENTS" class="property item inherited">
15914
<h3 class="name"><code>UI_EVENTS</code></h3>
15915
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
15929
<a href="../classes/Widget.html#property_UI_EVENTS">Widget</a>:
15933
<a href="../files/widget_js_WidgetUIEvents.js.html#l52"><code>widget/js/WidgetUIEvents.js:52</code></a>
15942
<div class="description">
15943
<p>Map of DOM events that should be fired as Custom Events by the
15944
Widget instance.</p>
15959
<div id="attrs" class="api-class-tabpanel">
15960
<h2 class="off-left">Attributes</h2>
15963
<div id="attr_boundingBox" class="attr item inherited">
15964
<a name="config_boundingBox"></a>
15965
<h3 class="name"><code>boundingBox</code></h3>
15966
<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>
15980
<a href="../classes/Widget.html#attr_boundingBox">Widget</a>:
15984
<a href="../files/widget_js_Widget.js.html#l175"><code>widget/js/Widget.js:175</code></a>
15993
<div class="description">
15994
<p>The outermost DOM node for the Widget, used for sizing and positioning
15995
of a Widget as well as a containing element for any decorator elements used
16002
<div class="emits box">
16003
<h4>Fires event <code>boundingBoxChange</code></h4>
16006
Fires when the value for the configuration attribute <code>boundingBox</code> is
16007
changed. You can listen for the event using the <code>on</code> method if you
16008
wish to be notified before the attribute's value has changed, or
16009
using the <code>after</code> method if you wish to be notified after the
16010
attribute's value has changed.
16013
<div class="params">
16014
<h4>Parameters:</h4>
16016
<ul class="params-list">
16018
<code class="param-name">e</code>
16019
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16021
<div class="param-description">
16022
An Event Facade object with the following
16023
attribute-specific properties added:
16026
<ul class="params-list">
16028
<code class="param-name">prevVal</code>
16029
<span class="type">Any</span>
16030
<div class="param-description">The value of the attribute, prior to it being set.</div>
16033
<code class="param-name">newVal</code>
16034
<span class="type">Any</span>
16035
<div class="param-description">The value the attribute is to be set to.</div>
16038
<code class="param-name">attrName</code>
16039
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16040
<div class="param-description">The name of the attribute being set.</div>
16043
<code class="param-name">subAttrName</code>
16044
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16045
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16058
<div id="attr_contentBox" class="attr item inherited">
16059
<a name="config_contentBox"></a>
16060
<h3 class="name"><code>contentBox</code></h3>
16061
<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>
16075
<a href="../classes/Widget.html#attr_contentBox">Widget</a>:
16079
<a href="../files/widget_js_Widget.js.html#l189"><code>widget/js/Widget.js:189</code></a>
16088
<div class="description">
16089
<p>A DOM node that is a direct descendant of a Widget's bounding box that
16090
houses its content.</p>
16096
<div class="emits box">
16097
<h4>Fires event <code>contentBoxChange</code></h4>
16100
Fires when the value for the configuration attribute <code>contentBox</code> is
16101
changed. You can listen for the event using the <code>on</code> method if you
16102
wish to be notified before the attribute's value has changed, or
16103
using the <code>after</code> method if you wish to be notified after the
16104
attribute's value has changed.
16107
<div class="params">
16108
<h4>Parameters:</h4>
16110
<ul class="params-list">
16112
<code class="param-name">e</code>
16113
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16115
<div class="param-description">
16116
An Event Facade object with the following
16117
attribute-specific properties added:
16120
<ul class="params-list">
16122
<code class="param-name">prevVal</code>
16123
<span class="type">Any</span>
16124
<div class="param-description">The value of the attribute, prior to it being set.</div>
16127
<code class="param-name">newVal</code>
16128
<span class="type">Any</span>
16129
<div class="param-description">The value the attribute is to be set to.</div>
16132
<code class="param-name">attrName</code>
16133
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16134
<div class="param-description">The name of the attribute being set.</div>
16137
<code class="param-name">subAttrName</code>
16138
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16139
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16152
<div id="attr_destroyed" class="attr item inherited">
16153
<a name="config_destroyed"></a>
16154
<h3 class="name"><code>destroyed</code></h3>
16155
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16169
<a href="../classes/BaseCore.html#attr_destroyed">BaseCore</a>:
16173
<a href="../files/base_js_BaseCore.js.html#l157"><code>base/js/BaseCore.js:157</code></a>
16182
<div class="description">
16183
<p>Flag indicating whether or not this object
16184
has been through the destroy lifecycle phase.</p>
16188
<p><strong>Default:</strong> false</p>
16192
<div class="emits box">
16193
<h4>Fires event <code>destroyedChange</code></h4>
16196
Fires when the value for the configuration attribute <code>destroyed</code> is
16197
changed. You can listen for the event using the <code>on</code> method if you
16198
wish to be notified before the attribute's value has changed, or
16199
using the <code>after</code> method if you wish to be notified after the
16200
attribute's value has changed.
16203
<div class="params">
16204
<h4>Parameters:</h4>
16206
<ul class="params-list">
16208
<code class="param-name">e</code>
16209
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16211
<div class="param-description">
16212
An Event Facade object with the following
16213
attribute-specific properties added:
16216
<ul class="params-list">
16218
<code class="param-name">prevVal</code>
16219
<span class="type">Any</span>
16220
<div class="param-description">The value of the attribute, prior to it being set.</div>
16223
<code class="param-name">newVal</code>
16224
<span class="type">Any</span>
16225
<div class="param-description">The value the attribute is to be set to.</div>
16228
<code class="param-name">attrName</code>
16229
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16230
<div class="param-description">The name of the attribute being set.</div>
16233
<code class="param-name">subAttrName</code>
16234
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16235
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16248
<div id="attr_disabled" class="attr item inherited">
16249
<a name="config_disabled"></a>
16250
<h3 class="name"><code>disabled</code></h3>
16251
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16265
<a href="../classes/Widget.html#attr_disabled">Widget</a>:
16269
<a href="../files/widget_js_Widget.js.html#l231"><code>widget/js/Widget.js:231</code></a>
16278
<div class="description">
16279
<p>Boolean indicating if the Widget should be disabled. The disabled implementation
16280
is left to the specific classes extending widget.</p>
16284
<p><strong>Default:</strong> false</p>
16288
<div class="emits box">
16289
<h4>Fires event <code>disabledChange</code></h4>
16292
Fires when the value for the configuration attribute <code>disabled</code> is
16293
changed. You can listen for the event using the <code>on</code> method if you
16294
wish to be notified before the attribute's value has changed, or
16295
using the <code>after</code> method if you wish to be notified after the
16296
attribute's value has changed.
16299
<div class="params">
16300
<h4>Parameters:</h4>
16302
<ul class="params-list">
16304
<code class="param-name">e</code>
16305
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16307
<div class="param-description">
16308
An Event Facade object with the following
16309
attribute-specific properties added:
16312
<ul class="params-list">
16314
<code class="param-name">prevVal</code>
16315
<span class="type">Any</span>
16316
<div class="param-description">The value of the attribute, prior to it being set.</div>
16319
<code class="param-name">newVal</code>
16320
<span class="type">Any</span>
16321
<div class="param-description">The value the attribute is to be set to.</div>
16324
<code class="param-name">attrName</code>
16325
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16326
<div class="param-description">The name of the attribute being set.</div>
16329
<code class="param-name">subAttrName</code>
16330
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16331
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16344
<div id="attr_focused" class="attr item inherited">
16345
<a name="config_focused"></a>
16346
<h3 class="name"><code>focused</code></h3>
16347
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16361
<a href="../classes/Widget.html#attr_focused">Widget</a>:
16365
<a href="../files/widget_js_Widget.js.html#l218"><code>widget/js/Widget.js:218</code></a>
16374
<div class="description">
16375
<p>Boolean indicating if the Widget, or one of its descendants,
16380
<p><strong>Default:</strong> false</p>
16384
<div class="emits box">
16385
<h4>Fires event <code>focusedChange</code></h4>
16388
Fires when the value for the configuration attribute <code>focused</code> is
16389
changed. You can listen for the event using the <code>on</code> method if you
16390
wish to be notified before the attribute's value has changed, or
16391
using the <code>after</code> method if you wish to be notified after the
16392
attribute's value has changed.
16395
<div class="params">
16396
<h4>Parameters:</h4>
16398
<ul class="params-list">
16400
<code class="param-name">e</code>
16401
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16403
<div class="param-description">
16404
An Event Facade object with the following
16405
attribute-specific properties added:
16408
<ul class="params-list">
16410
<code class="param-name">prevVal</code>
16411
<span class="type">Any</span>
16412
<div class="param-description">The value of the attribute, prior to it being set.</div>
16415
<code class="param-name">newVal</code>
16416
<span class="type">Any</span>
16417
<div class="param-description">The value the attribute is to be set to.</div>
16420
<code class="param-name">attrName</code>
16421
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16422
<div class="param-description">The name of the attribute being set.</div>
16425
<code class="param-name">subAttrName</code>
16426
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16427
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16440
<div id="attr_height" class="attr item inherited">
16441
<a name="config_height"></a>
16442
<h3 class="name"><code>height</code></h3>
16443
<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/Number" class="crosslink external" target="_blank">Number</a></span>
16457
<a href="../classes/Widget.html#attr_height">Widget</a>:
16461
<a href="../files/widget_js_Widget.js.html#l252"><code>widget/js/Widget.js:252</code></a>
16470
<div class="description">
16471
<p>String with units, or number, representing the height of the Widget. If a number is provided,
16472
the default unit, defined by the Widgets DEF_UNIT, property is used.</p>
16476
<p><strong>Default:</strong> EMPTY_STR</p>
16480
<div class="emits box">
16481
<h4>Fires event <code>heightChange</code></h4>
16484
Fires when the value for the configuration attribute <code>height</code> is
16485
changed. You can listen for the event using the <code>on</code> method if you
16486
wish to be notified before the attribute's value has changed, or
16487
using the <code>after</code> method if you wish to be notified after the
16488
attribute's value has changed.
16491
<div class="params">
16492
<h4>Parameters:</h4>
16494
<ul class="params-list">
16496
<code class="param-name">e</code>
16497
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16499
<div class="param-description">
16500
An Event Facade object with the following
16501
attribute-specific properties added:
16504
<ul class="params-list">
16506
<code class="param-name">prevVal</code>
16507
<span class="type">Any</span>
16508
<div class="param-description">The value of the attribute, prior to it being set.</div>
16511
<code class="param-name">newVal</code>
16512
<span class="type">Any</span>
16513
<div class="param-description">The value the attribute is to be set to.</div>
16516
<code class="param-name">attrName</code>
16517
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16518
<div class="param-description">The name of the attribute being set.</div>
16521
<code class="param-name">subAttrName</code>
16522
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16523
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16536
<div id="attr_id" class="attr item inherited">
16537
<a name="config_id"></a>
16538
<h3 class="name"><code>id</code></h3>
16539
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16553
<a href="../classes/Widget.html#attr_id">Widget</a>:
16557
<a href="../files/widget_js_Widget.js.html#l149"><code>widget/js/Widget.js:149</code></a>
16566
<div class="description">
16571
<p><strong>Default:</strong> Generated using guid()</p>
16575
<div class="emits box">
16576
<h4>Fires event <code>idChange</code></h4>
16579
Fires when the value for the configuration attribute <code>id</code> is
16580
changed. You can listen for the event using the <code>on</code> method if you
16581
wish to be notified before the attribute's value has changed, or
16582
using the <code>after</code> method if you wish to be notified after the
16583
attribute's value has changed.
16586
<div class="params">
16587
<h4>Parameters:</h4>
16589
<ul class="params-list">
16591
<code class="param-name">e</code>
16592
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16594
<div class="param-description">
16595
An Event Facade object with the following
16596
attribute-specific properties added:
16599
<ul class="params-list">
16601
<code class="param-name">prevVal</code>
16602
<span class="type">Any</span>
16603
<div class="param-description">The value of the attribute, prior to it being set.</div>
16606
<code class="param-name">newVal</code>
16607
<span class="type">Any</span>
16608
<div class="param-description">The value the attribute is to be set to.</div>
16611
<code class="param-name">attrName</code>
16612
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16613
<div class="param-description">The name of the attribute being set.</div>
16616
<code class="param-name">subAttrName</code>
16617
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16618
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16631
<div id="attr_initialized" class="attr item inherited">
16632
<a name="config_initialized"></a>
16633
<h3 class="name"><code>initialized</code></h3>
16634
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16648
<a href="../classes/BaseCore.html#attr_initialized">BaseCore</a>:
16652
<a href="../files/base_js_BaseCore.js.html#l143"><code>base/js/BaseCore.js:143</code></a>
16661
<div class="description">
16662
<p>Flag indicating whether or not this object
16663
has been through the init lifecycle phase.</p>
16667
<p><strong>Default:</strong> false</p>
16671
<div class="emits box">
16672
<h4>Fires event <code>initializedChange</code></h4>
16675
Fires when the value for the configuration attribute <code>initialized</code> is
16676
changed. You can listen for the event using the <code>on</code> method if you
16677
wish to be notified before the attribute's value has changed, or
16678
using the <code>after</code> method if you wish to be notified after the
16679
attribute's value has changed.
16682
<div class="params">
16683
<h4>Parameters:</h4>
16685
<ul class="params-list">
16687
<code class="param-name">e</code>
16688
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16690
<div class="param-description">
16691
An Event Facade object with the following
16692
attribute-specific properties added:
16695
<ul class="params-list">
16697
<code class="param-name">prevVal</code>
16698
<span class="type">Any</span>
16699
<div class="param-description">The value of the attribute, prior to it being set.</div>
16702
<code class="param-name">newVal</code>
16703
<span class="type">Any</span>
16704
<div class="param-description">The value the attribute is to be set to.</div>
16707
<code class="param-name">attrName</code>
16708
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16709
<div class="param-description">The name of the attribute being set.</div>
16712
<code class="param-name">subAttrName</code>
16713
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16714
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16727
<div id="attr_locale" class="attr item deprecated inherited">
16728
<a name="config_locale"></a>
16729
<h3 class="name"><code>locale</code></h3>
16730
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16733
<span class="flag deprecated" title="Use Y.config.lang and Y.Intl externalization support">deprecated</span>
16746
<a href="../classes/Widget.html#attr_locale">Widget</a>:
16750
<a href="../files/widget_js_WidgetLocale.js.html#l14"><code>widget/js/WidgetLocale.js:14</code></a>
16755
<p>Deprecated: Use Y.config.lang and Y.Intl externalization support</p>
16761
<div class="description">
16762
<p>The default locale for the widget. NOTE: Using get/set on the "strings" attribute will
16763
return/set strings for this locale.</p>
16767
<p><strong>Default:</strong> "en"</p>
16771
<div class="emits box">
16772
<h4>Fires event <code>localeChange</code></h4>
16775
Fires when the value for the configuration attribute <code>locale</code> is
16776
changed. You can listen for the event using the <code>on</code> method if you
16777
wish to be notified before the attribute's value has changed, or
16778
using the <code>after</code> method if you wish to be notified after the
16779
attribute's value has changed.
16782
<div class="params">
16783
<h4>Parameters:</h4>
16785
<ul class="params-list">
16787
<code class="param-name">e</code>
16788
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16790
<div class="param-description">
16791
An Event Facade object with the following
16792
attribute-specific properties added:
16795
<ul class="params-list">
16797
<code class="param-name">prevVal</code>
16798
<span class="type">Any</span>
16799
<div class="param-description">The value of the attribute, prior to it being set.</div>
16802
<code class="param-name">newVal</code>
16803
<span class="type">Any</span>
16804
<div class="param-description">The value the attribute is to be set to.</div>
16807
<code class="param-name">attrName</code>
16808
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16809
<div class="param-description">The name of the attribute being set.</div>
16812
<code class="param-name">subAttrName</code>
16813
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16814
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16827
<div id="attr_render" class="attr item inherited">
16828
<a name="config_render"></a>
16829
<h3 class="name"><code>render</code></h3>
16830
<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>
16844
<a href="../classes/Widget.html#attr_render">Widget</a>:
16848
<a href="../files/widget_js_Widget.js.html#l286"><code>widget/js/Widget.js:286</code></a>
16857
<div class="description">
16858
<p>Whether or not to render the widget automatically after init, and optionally, to which parent node.</p>
16864
<div class="emits box">
16865
<h4>Fires event <code>renderChange</code></h4>
16868
Fires when the value for the configuration attribute <code>render</code> is
16869
changed. You can listen for the event using the <code>on</code> method if you
16870
wish to be notified before the attribute's value has changed, or
16871
using the <code>after</code> method if you wish to be notified after the
16872
attribute's value has changed.
16875
<div class="params">
16876
<h4>Parameters:</h4>
16878
<ul class="params-list">
16880
<code class="param-name">e</code>
16881
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16883
<div class="param-description">
16884
An Event Facade object with the following
16885
attribute-specific properties added:
16888
<ul class="params-list">
16890
<code class="param-name">prevVal</code>
16891
<span class="type">Any</span>
16892
<div class="param-description">The value of the attribute, prior to it being set.</div>
16895
<code class="param-name">newVal</code>
16896
<span class="type">Any</span>
16897
<div class="param-description">The value the attribute is to be set to.</div>
16900
<code class="param-name">attrName</code>
16901
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16902
<div class="param-description">The name of the attribute being set.</div>
16905
<code class="param-name">subAttrName</code>
16906
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16907
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
16920
<div id="attr_rendered" class="attr item inherited">
16921
<a name="config_rendered"></a>
16922
<h3 class="name"><code>rendered</code></h3>
16923
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
16937
<a href="../classes/Widget.html#attr_rendered">Widget</a>:
16941
<a href="../files/widget_js_Widget.js.html#l161"><code>widget/js/Widget.js:161</code></a>
16950
<div class="description">
16951
<p>Flag indicating whether or not this Widget
16952
has been through the render lifecycle phase.</p>
16956
<p><strong>Default:</strong> false</p>
16960
<div class="emits box">
16961
<h4>Fires event <code>renderedChange</code></h4>
16964
Fires when the value for the configuration attribute <code>rendered</code> is
16965
changed. You can listen for the event using the <code>on</code> method if you
16966
wish to be notified before the attribute's value has changed, or
16967
using the <code>after</code> method if you wish to be notified after the
16968
attribute's value has changed.
16971
<div class="params">
16972
<h4>Parameters:</h4>
16974
<ul class="params-list">
16976
<code class="param-name">e</code>
16977
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
16979
<div class="param-description">
16980
An Event Facade object with the following
16981
attribute-specific properties added:
16984
<ul class="params-list">
16986
<code class="param-name">prevVal</code>
16987
<span class="type">Any</span>
16988
<div class="param-description">The value of the attribute, prior to it being set.</div>
16991
<code class="param-name">newVal</code>
16992
<span class="type">Any</span>
16993
<div class="param-description">The value the attribute is to be set to.</div>
16996
<code class="param-name">attrName</code>
16997
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
16998
<div class="param-description">The name of the attribute being set.</div>
17001
<code class="param-name">subAttrName</code>
17002
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17003
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17016
<div id="attr_srcNode" class="attr item inherited">
17017
<a name="config_srcNode"></a>
17018
<h3 class="name"><code>srcNode</code></h3>
17019
<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>
17033
<a href="../classes/Widget.html#attr_srcNode">Widget</a>:
17037
<a href="../files/widget_js_WidgetHTMLParser.js.html#l59"><code>widget/js/WidgetHTMLParser.js:59</code></a>
17046
<div class="description">
17047
<p>The DOM node to parse for configuration values, passed to the Widget's HTML_PARSER definition</p>
17053
<div class="emits box">
17054
<h4>Fires event <code>srcNodeChange</code></h4>
17057
Fires when the value for the configuration attribute <code>srcNode</code> is
17058
changed. You can listen for the event using the <code>on</code> method if you
17059
wish to be notified before the attribute's value has changed, or
17060
using the <code>after</code> method if you wish to be notified after the
17061
attribute's value has changed.
17064
<div class="params">
17065
<h4>Parameters:</h4>
17067
<ul class="params-list">
17069
<code class="param-name">e</code>
17070
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17072
<div class="param-description">
17073
An Event Facade object with the following
17074
attribute-specific properties added:
17077
<ul class="params-list">
17079
<code class="param-name">prevVal</code>
17080
<span class="type">Any</span>
17081
<div class="param-description">The value of the attribute, prior to it being set.</div>
17084
<code class="param-name">newVal</code>
17085
<span class="type">Any</span>
17086
<div class="param-description">The value the attribute is to be set to.</div>
17089
<code class="param-name">attrName</code>
17090
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17091
<div class="param-description">The name of the attribute being set.</div>
17094
<code class="param-name">subAttrName</code>
17095
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17096
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17109
<div id="attr_strings" class="attr item inherited">
17110
<a name="config_strings"></a>
17111
<h3 class="name"><code>strings</code></h3>
17112
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object" class="crosslink external" target="_blank">Object</a></span>
17126
<a href="../classes/Widget.html#attr_strings">Widget</a>:
17130
<a href="../files/widget_js_Widget.js.html#l274"><code>widget/js/Widget.js:274</code></a>
17139
<div class="description">
17140
<p>Collection of strings used to label elements of the Widget's UI.</p>
17144
<p><strong>Default:</strong> null</p>
17148
<div class="emits box">
17149
<h4>Fires event <code>stringsChange</code></h4>
17152
Fires when the value for the configuration attribute <code>strings</code> is
17153
changed. You can listen for the event using the <code>on</code> method if you
17154
wish to be notified before the attribute's value has changed, or
17155
using the <code>after</code> method if you wish to be notified after the
17156
attribute's value has changed.
17159
<div class="params">
17160
<h4>Parameters:</h4>
17162
<ul class="params-list">
17164
<code class="param-name">e</code>
17165
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17167
<div class="param-description">
17168
An Event Facade object with the following
17169
attribute-specific properties added:
17172
<ul class="params-list">
17174
<code class="param-name">prevVal</code>
17175
<span class="type">Any</span>
17176
<div class="param-description">The value of the attribute, prior to it being set.</div>
17179
<code class="param-name">newVal</code>
17180
<span class="type">Any</span>
17181
<div class="param-description">The value the attribute is to be set to.</div>
17184
<code class="param-name">attrName</code>
17185
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17186
<div class="param-description">The name of the attribute being set.</div>
17189
<code class="param-name">subAttrName</code>
17190
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17191
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17204
<div id="attr_tabIndex" class="attr item inherited">
17205
<a name="config_tabIndex"></a>
17206
<h3 class="name"><code>tabIndex</code></h3>
17207
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Number" class="crosslink external" target="_blank">Number</a></span>
17221
<a href="../classes/Widget.html#attr_tabIndex">Widget</a>:
17225
<a href="../files/widget_js_Widget.js.html#l202"><code>widget/js/Widget.js:202</code></a>
17234
<div class="description">
17235
<p>Number (between -32767 to 32767) indicating the widget's
17236
position in the default tab flow. The value is used to set the
17237
"tabIndex" attribute on the widget's bounding box. Negative values allow
17238
the widget to receive DOM focus programmatically (by calling the focus
17239
method), while being removed from the default tab flow. A value of
17240
null removes the "tabIndex" attribute from the widget's bounding box.</p>
17244
<p><strong>Default:</strong> null</p>
17248
<div class="emits box">
17249
<h4>Fires event <code>tabIndexChange</code></h4>
17252
Fires when the value for the configuration attribute <code>tabIndex</code> is
17253
changed. You can listen for the event using the <code>on</code> method if you
17254
wish to be notified before the attribute's value has changed, or
17255
using the <code>after</code> method if you wish to be notified after the
17256
attribute's value has changed.
17259
<div class="params">
17260
<h4>Parameters:</h4>
17262
<ul class="params-list">
17264
<code class="param-name">e</code>
17265
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17267
<div class="param-description">
17268
An Event Facade object with the following
17269
attribute-specific properties added:
17272
<ul class="params-list">
17274
<code class="param-name">prevVal</code>
17275
<span class="type">Any</span>
17276
<div class="param-description">The value of the attribute, prior to it being set.</div>
17279
<code class="param-name">newVal</code>
17280
<span class="type">Any</span>
17281
<div class="param-description">The value the attribute is to be set to.</div>
17284
<code class="param-name">attrName</code>
17285
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17286
<div class="param-description">The name of the attribute being set.</div>
17289
<code class="param-name">subAttrName</code>
17290
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17291
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17304
<div id="attr_visible" class="attr item inherited">
17305
<a name="config_visible"></a>
17306
<h3 class="name"><code>visible</code></h3>
17307
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
17321
<a href="../classes/Widget.html#attr_visible">Widget</a>:
17325
<a href="../files/widget_js_Widget.js.html#l242"><code>widget/js/Widget.js:242</code></a>
17334
<div class="description">
17335
<p>Boolean indicating weather or not the Widget is visible.</p>
17339
<p><strong>Default:</strong> TRUE</p>
17343
<div class="emits box">
17344
<h4>Fires event <code>visibleChange</code></h4>
17347
Fires when the value for the configuration attribute <code>visible</code> is
17348
changed. You can listen for the event using the <code>on</code> method if you
17349
wish to be notified before the attribute's value has changed, or
17350
using the <code>after</code> method if you wish to be notified after the
17351
attribute's value has changed.
17354
<div class="params">
17355
<h4>Parameters:</h4>
17357
<ul class="params-list">
17359
<code class="param-name">e</code>
17360
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17362
<div class="param-description">
17363
An Event Facade object with the following
17364
attribute-specific properties added:
17367
<ul class="params-list">
17369
<code class="param-name">prevVal</code>
17370
<span class="type">Any</span>
17371
<div class="param-description">The value of the attribute, prior to it being set.</div>
17374
<code class="param-name">newVal</code>
17375
<span class="type">Any</span>
17376
<div class="param-description">The value the attribute is to be set to.</div>
17379
<code class="param-name">attrName</code>
17380
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17381
<div class="param-description">The name of the attribute being set.</div>
17384
<code class="param-name">subAttrName</code>
17385
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17386
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17399
<div id="attr_width" class="attr item inherited">
17400
<a name="config_width"></a>
17401
<h3 class="name"><code>width</code></h3>
17402
<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/Number" class="crosslink external" target="_blank">Number</a></span>
17416
<a href="../classes/Widget.html#attr_width">Widget</a>:
17420
<a href="../files/widget_js_Widget.js.html#l263"><code>widget/js/Widget.js:263</code></a>
17429
<div class="description">
17430
<p>String with units, or number, representing the width of the Widget. If a number is provided,
17431
the default unit, defined by the Widgets DEF_UNIT, property is used.</p>
17435
<p><strong>Default:</strong> EMPTY_STR</p>
17439
<div class="emits box">
17440
<h4>Fires event <code>widthChange</code></h4>
17443
Fires when the value for the configuration attribute <code>width</code> is
17444
changed. You can listen for the event using the <code>on</code> method if you
17445
wish to be notified before the attribute's value has changed, or
17446
using the <code>after</code> method if you wish to be notified after the
17447
attribute's value has changed.
17450
<div class="params">
17451
<h4>Parameters:</h4>
17453
<ul class="params-list">
17455
<code class="param-name">e</code>
17456
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17458
<div class="param-description">
17459
An Event Facade object with the following
17460
attribute-specific properties added:
17463
<ul class="params-list">
17465
<code class="param-name">prevVal</code>
17466
<span class="type">Any</span>
17467
<div class="param-description">The value of the attribute, prior to it being set.</div>
17470
<code class="param-name">newVal</code>
17471
<span class="type">Any</span>
17472
<div class="param-description">The value the attribute is to be set to.</div>
17475
<code class="param-name">attrName</code>
17476
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17477
<div class="param-description">The name of the attribute being set.</div>
17480
<code class="param-name">subAttrName</code>
17481
<span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
17482
<div class="param-description">If setting a property within the attribute's value, the name of the sub-attribute property being set.</div>
17499
<div id="events" class="api-class-tabpanel">
17500
<h2 class="off-left">Events</h2>
17503
<div id="event_destroy" class="events item inherited">
17504
<h3 class="name"><code>destroy</code></h3>
17505
<span class="type"></span>
17519
<a href="../classes/Base.html#event_destroy">Base</a>:
17523
<a href="../files/base_js_Base.js.html#l285"><code>base/js/Base.js:285</code></a>
17532
<div class="description">
17534
Lifecycle event for the destroy phase,
17535
fired prior to destruction. Invoking the preventDefault
17536
method on the event object provided to subscribers will
17537
prevent destruction from proceeding.
17541
Subscribers to the "after" moment of this event, will be notified
17542
after destruction is complete (and as a result cannot prevent
17548
<div class="params">
17549
<h4>Event Payload:</h4>
17551
<ul class="params-list">
17555
<code class="param-name">e</code>
17556
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17561
<div class="param-description">
17562
<p>Event object</p>
17577
<div id="event_init" class="events item inherited">
17578
<h3 class="name"><code>init</code></h3>
17579
<span class="type"></span>
17593
<a href="../classes/Base.html#event_init">Base</a>:
17597
<a href="../files/base_js_Base.js.html#l202"><code>base/js/Base.js:202</code></a>
17606
<div class="description">
17608
Lifecycle event for the init phase, fired prior to initialization.
17609
Invoking the preventDefault() method on the event object provided
17610
to subscribers will prevent initialization from occuring.
17614
Subscribers to the "after" momemt of this event, will be notified
17615
after initialization of the object is complete (and therefore
17616
cannot prevent initialization).
17621
<div class="params">
17622
<h4>Event Payload:</h4>
17624
<ul class="params-list">
17628
<code class="param-name">e</code>
17629
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17634
<div class="param-description">
17635
<p>Event object, with a cfg property which
17636
refers to the configuration object passed to the constructor.</p>
17651
<div id="event_widget:contentUpdate" class="events item inherited">
17652
<h3 class="name"><code>widget:contentUpdate</code></h3>
17653
<span class="type"></span>
17667
<a href="../classes/Widget.html#event_widget:contentUpdate">Widget</a>:
17671
<a href="../files/widget_js_Widget.js.html#l398"><code>widget/js/Widget.js:398</code></a>
17680
<div class="description">
17681
<p>Notification event, which widget implementations can fire, when
17682
they change the content of the widget. This event has no default
17683
behavior and cannot be prevented, so the "on" or "after"
17684
moments are effectively equivalent (with on listeners being invoked before
17685
after listeners).</p>
17689
<div class="params">
17690
<h4>Event Payload:</h4>
17692
<ul class="params-list">
17696
<code class="param-name">e</code>
17697
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17702
<div class="param-description">
17703
<p>The Event Facade</p>
17718
<div id="event_widget:render" class="events item inherited">
17719
<h3 class="name"><code>widget:render</code></h3>
17720
<span class="type"></span>
17734
<a href="../classes/Widget.html#event_widget:render">Widget</a>:
17738
<a href="../files/widget_js_Widget.js.html#l544"><code>widget/js/Widget.js:544</code></a>
17747
<div class="description">
17748
<p>Lifecycle event for the render phase, fired prior to rendering the UI
17749
for the widget (prior to invoking the widget's renderer method).</p>
17752
Subscribers to the "on" moment of this event, will be notified
17753
before the widget is rendered.
17757
Subscribers to the "after" moment of this event, will be notified
17758
after rendering is complete.
17763
<div class="params">
17764
<h4>Event Payload:</h4>
17766
<ul class="params-list">
17770
<code class="param-name">e</code>
17771
<span class="type"><a href="../classes/EventFacade.html" class="crosslink">EventFacade</a></span>
17776
<div class="param-description">
17777
<p>The Event Facade</p>
17803
<script src="../assets/vendor/prettify/prettify-min.js"></script>
17804
<script>prettyPrint();</script>
17805
<script src="../assets/js/yui-prettify.js"></script>
17806
<script src="../assets/../api.js"></script>
17807
<script src="../assets/js/api-filter.js"></script>
17808
<script src="../assets/js/api-list.js"></script>
17809
<script src="../assets/js/api-search.js"></script>
17810
<script src="../assets/js/apidocs.js"></script>