|
0
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
|
|
2 |
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#"> |
|
|
3 |
<head> |
|
|
4 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> |
|
|
5 |
<title>API: attribute State (YUI Library)</title> |
|
|
6 |
|
|
|
7 |
<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" /> |
|
|
8 |
<link rel="stylesheet" type="text/css" href="assets/api.css" /> |
|
|
9 |
|
|
|
10 |
<script type="text/javascript" src="assets/api-js"></script> |
|
|
11 |
<script type="text/javascript" src="assets/ac-js"></script> |
|
|
12 |
</head> |
|
|
13 |
|
|
|
14 |
<body id="yahoo-com"> |
|
|
15 |
|
|
|
16 |
<div id="doc3" class="yui-t2"> |
|
|
17 |
<div id="hd"> |
|
|
18 |
<h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1> |
|
|
19 |
<h3>attribute <span class="subtitle">3.0.0</span></h3> |
|
|
20 |
<a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
|
21 |
> <a href="./module_attribute.html" title="attribute">attribute</a> |
|
|
22 |
> State |
|
|
23 |
|
|
|
24 |
<form onsubmit="return false"> |
|
|
25 |
<div id="propertysearch"> |
|
|
26 |
Search: <input autocomplete="off" id="searchinput" /> |
|
|
27 |
<div id="searchresults"> |
|
|
28 |
|
|
|
29 |
</div> |
|
|
30 |
</div> |
|
|
31 |
</form> |
|
|
32 |
</div> |
|
|
33 |
|
|
|
34 |
<div id="bd"> |
|
|
35 |
<div id="yui-main"> |
|
|
36 |
<div class="yui-b"> |
|
|
37 |
<form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form"> |
|
|
38 |
<fieldset> |
|
|
39 |
<legend>Filters</legend> |
|
|
40 |
<span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span> |
|
|
41 |
<span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span> |
|
|
42 |
<span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span> |
|
|
43 |
</fieldset> |
|
|
44 |
</form> |
|
|
45 |
|
|
|
46 |
<h2> |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
Class <b property="yui:name">State</b> |
|
|
52 |
<span class="extends"> |
|
|
53 |
</span> |
|
|
54 |
|
|
|
55 |
</h2> |
|
|
56 |
<!-- class tree goes here --> |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
<div class="summary description" property="yui:description"> |
|
|
62 |
The State class maintains state for a collection of named items, with |
|
|
63 |
a varying number of properties defined. |
|
|
64 |
It avoids the need to create a separate class for the item, and separate instances |
|
|
65 |
of these classes for each item, by storing the state in a 2 level hash table, |
|
|
66 |
improving performance when the number of items is likely to be large. |
|
|
67 |
</div> |
|
|
68 |
|
|
|
69 |
<div class="section constructor details" rel="yui:constructor" resource="#constructor"> |
|
|
70 |
<h3 id="constructor">Constructor</h3> |
|
|
71 |
<div class="content"> |
|
|
72 |
<div class="detail"> |
|
|
73 |
<strong property="yui:name">State</strong> |
|
|
74 |
<code> |
|
|
75 |
( |
|
|
76 |
) |
|
|
77 |
</code> |
|
|
78 |
<div class="description"> |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
</div> |
|
|
82 |
</div> |
|
|
83 |
</div> |
|
|
84 |
</div> |
|
|
85 |
|
|
|
86 |
<div rel="yui:properties" resource="#properties"> |
|
|
87 |
<div class="section field details"> |
|
|
88 |
<h3 id="properties">Properties</h3> |
|
|
89 |
<div class="content"> |
|
|
90 |
<div class="" rel="yui:property" resource="#property_data"> |
|
|
91 |
<h4><a name="property_data" property="yui:name">data</a> |
|
|
92 |
- <code><span property="yui:type">object</span></code> |
|
|
93 |
</h4> |
|
|
94 |
<div class="detail"> |
|
|
95 |
<div class="description" property="yui:description"> |
|
|
96 |
Hash of attributes |
|
|
97 |
</div> |
|
|
98 |
</div> |
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
<hr /> |
|
|
104 |
</div> |
|
|
105 |
</div> |
|
|
106 |
</div> |
|
|
107 |
|
|
|
108 |
</div> |
|
|
109 |
|
|
|
110 |
<div rel="yui:methods" resource="#methods"> |
|
|
111 |
<div class="section method details"> |
|
|
112 |
<h3 id="methods">Methods</h3> |
|
|
113 |
<div class="content"> |
|
|
114 |
<div class="" rel="yui:method" resource="#method_add"> |
|
|
115 |
<h4> |
|
|
116 |
<a name="method_add">add</a></h4> |
|
|
117 |
<div class="detail" > |
|
|
118 |
<code> |
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
void |
|
|
123 |
<strong property="yui:name">add</strong> |
|
|
124 |
( |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
name |
|
|
128 |
|
|
|
129 |
|
|
|
130 |
, |
|
|
131 |
key |
|
|
132 |
|
|
|
133 |
|
|
|
134 |
, |
|
|
135 |
val |
|
|
136 |
|
|
|
137 |
|
|
|
138 |
) |
|
|
139 |
</code> |
|
|
140 |
|
|
|
141 |
<div class="description" property="yui:description"> |
|
|
142 |
Adds a property to an item. |
|
|
143 |
</div> |
|
|
144 |
|
|
|
145 |
<div class="description"> |
|
|
146 |
|
|
|
147 |
<dl rel="yui:parameters"> |
|
|
148 |
<dt>Parameters:</dt> |
|
|
149 |
<dd rel="yui:parameter"> |
|
|
150 |
<code><span property="yui:name">name</span> |
|
|
151 |
<<span property="yui:type">String</span>> |
|
|
152 |
</code> |
|
|
153 |
<span property="yui:description"> The name of the item.</span> |
|
|
154 |
</dd> |
|
|
155 |
<dd rel="yui:parameter"> |
|
|
156 |
<code><span property="yui:name">key</span> |
|
|
157 |
<<span property="yui:type">String</span>> |
|
|
158 |
</code> |
|
|
159 |
<span property="yui:description"> The name of the property.</span> |
|
|
160 |
</dd> |
|
|
161 |
<dd rel="yui:parameter"> |
|
|
162 |
<code><span property="yui:name">val</span> |
|
|
163 |
<<span property="yui:type">Any</span>> |
|
|
164 |
</code> |
|
|
165 |
<span property="yui:description"> The value of the property.</span> |
|
|
166 |
</dd> |
|
|
167 |
</dl> |
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
</div> |
|
|
174 |
|
|
|
175 |
</div> |
|
|
176 |
<hr /> |
|
|
177 |
</div> |
|
|
178 |
<div class="" rel="yui:method" resource="#method_addAll"> |
|
|
179 |
<h4> |
|
|
180 |
<a name="method_addAll">addAll</a></h4> |
|
|
181 |
<div class="detail" > |
|
|
182 |
<code> |
|
|
183 |
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
void |
|
|
187 |
<strong property="yui:name">addAll</strong> |
|
|
188 |
( |
|
|
189 |
|
|
|
190 |
|
|
|
191 |
name |
|
|
192 |
|
|
|
193 |
|
|
|
194 |
, |
|
|
195 |
o |
|
|
196 |
|
|
|
197 |
|
|
|
198 |
) |
|
|
199 |
</code> |
|
|
200 |
|
|
|
201 |
<div class="description" property="yui:description"> |
|
|
202 |
Adds multiple properties to an item. |
|
|
203 |
</div> |
|
|
204 |
|
|
|
205 |
<div class="description"> |
|
|
206 |
|
|
|
207 |
<dl rel="yui:parameters"> |
|
|
208 |
<dt>Parameters:</dt> |
|
|
209 |
<dd rel="yui:parameter"> |
|
|
210 |
<code><span property="yui:name">name</span> |
|
|
211 |
<<span property="yui:type">String</span>> |
|
|
212 |
</code> |
|
|
213 |
<span property="yui:description"> The name of the item.</span> |
|
|
214 |
</dd> |
|
|
215 |
<dd rel="yui:parameter"> |
|
|
216 |
<code><span property="yui:name">o</span> |
|
|
217 |
<<span property="yui:type">Object</span>> |
|
|
218 |
</code> |
|
|
219 |
<span property="yui:description"> A hash of property/value pairs.</span> |
|
|
220 |
</dd> |
|
|
221 |
</dl> |
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
</div> |
|
|
228 |
|
|
|
229 |
</div> |
|
|
230 |
<hr /> |
|
|
231 |
</div> |
|
|
232 |
<div class="" rel="yui:method" resource="#method_get"> |
|
|
233 |
<h4> |
|
|
234 |
<a name="method_get">get</a></h4> |
|
|
235 |
<div class="detail" > |
|
|
236 |
<code> |
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
Any |
|
|
241 |
<strong property="yui:name">get</strong> |
|
|
242 |
( |
|
|
243 |
|
|
|
244 |
|
|
|
245 |
name |
|
|
246 |
|
|
|
247 |
|
|
|
248 |
, |
|
|
249 |
key |
|
|
250 |
|
|
|
251 |
|
|
|
252 |
) |
|
|
253 |
</code> |
|
|
254 |
|
|
|
255 |
<div class="description" property="yui:description"> |
|
|
256 |
For a given item, returns the value of the property requested, or undefined if not found. |
|
|
257 |
</div> |
|
|
258 |
|
|
|
259 |
<div class="description"> |
|
|
260 |
|
|
|
261 |
<dl rel="yui:parameters"> |
|
|
262 |
<dt>Parameters:</dt> |
|
|
263 |
<dd rel="yui:parameter"> |
|
|
264 |
<code><span property="yui:name">name</span> |
|
|
265 |
<<span property="yui:type">String</span>> |
|
|
266 |
</code> |
|
|
267 |
<span property="yui:description"> The name of the item</span> |
|
|
268 |
</dd> |
|
|
269 |
<dd rel="yui:parameter"> |
|
|
270 |
<code><span property="yui:name">key</span> |
|
|
271 |
<<span property="yui:type">String</span>> |
|
|
272 |
</code> |
|
|
273 |
<span property="yui:description"> Optional. The property value to retrieve.</span> |
|
|
274 |
</dd> |
|
|
275 |
</dl> |
|
|
276 |
|
|
|
277 |
<dl> |
|
|
278 |
<dt>Returns: |
|
|
279 |
<code property="yui:return"> |
|
|
280 |
Any |
|
|
281 |
</code></dt> |
|
|
282 |
<dd property="yui:returnInfo">The value of the supplied property.</dd> |
|
|
283 |
</dl> |
|
|
284 |
|
|
|
285 |
|
|
|
286 |
|
|
|
287 |
|
|
|
288 |
</div> |
|
|
289 |
|
|
|
290 |
</div> |
|
|
291 |
<hr /> |
|
|
292 |
</div> |
|
|
293 |
<div class="" rel="yui:method" resource="#method_getAll"> |
|
|
294 |
<h4> |
|
|
295 |
<a name="method_getAll">getAll</a></h4> |
|
|
296 |
<div class="detail" > |
|
|
297 |
<code> |
|
|
298 |
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
Object |
|
|
302 |
<strong property="yui:name">getAll</strong> |
|
|
303 |
( |
|
|
304 |
|
|
|
305 |
|
|
|
306 |
name |
|
|
307 |
|
|
|
308 |
|
|
|
309 |
) |
|
|
310 |
</code> |
|
|
311 |
|
|
|
312 |
<div class="description" property="yui:description"> |
|
|
313 |
For the given item, returns a disposable object with all of the |
|
|
314 |
item's property/value pairs. |
|
|
315 |
</div> |
|
|
316 |
|
|
|
317 |
<div class="description"> |
|
|
318 |
|
|
|
319 |
<dl rel="yui:parameters"> |
|
|
320 |
<dt>Parameters:</dt> |
|
|
321 |
<dd rel="yui:parameter"> |
|
|
322 |
<code><span property="yui:name">name</span> |
|
|
323 |
<<span property="yui:type">String</span>> |
|
|
324 |
</code> |
|
|
325 |
<span property="yui:description"> The name of the item</span> |
|
|
326 |
</dd> |
|
|
327 |
</dl> |
|
|
328 |
|
|
|
329 |
<dl> |
|
|
330 |
<dt>Returns: |
|
|
331 |
<code property="yui:return"> |
|
|
332 |
Object |
|
|
333 |
</code></dt> |
|
|
334 |
<dd property="yui:returnInfo">An object with property/value pairs for the item.</dd> |
|
|
335 |
</dl> |
|
|
336 |
|
|
|
337 |
|
|
|
338 |
|
|
|
339 |
|
|
|
340 |
</div> |
|
|
341 |
|
|
|
342 |
</div> |
|
|
343 |
<hr /> |
|
|
344 |
</div> |
|
|
345 |
<div class="" rel="yui:method" resource="#method_remove"> |
|
|
346 |
<h4> |
|
|
347 |
<a name="method_remove">remove</a></h4> |
|
|
348 |
<div class="detail" > |
|
|
349 |
<code> |
|
|
350 |
|
|
|
351 |
|
|
|
352 |
|
|
|
353 |
void |
|
|
354 |
<strong property="yui:name">remove</strong> |
|
|
355 |
( |
|
|
356 |
|
|
|
357 |
|
|
|
358 |
name |
|
|
359 |
|
|
|
360 |
|
|
|
361 |
, |
|
|
362 |
key |
|
|
363 |
|
|
|
364 |
|
|
|
365 |
) |
|
|
366 |
</code> |
|
|
367 |
|
|
|
368 |
<div class="description" property="yui:description"> |
|
|
369 |
Removes a property from an item. |
|
|
370 |
</div> |
|
|
371 |
|
|
|
372 |
<div class="description"> |
|
|
373 |
|
|
|
374 |
<dl rel="yui:parameters"> |
|
|
375 |
<dt>Parameters:</dt> |
|
|
376 |
<dd rel="yui:parameter"> |
|
|
377 |
<code><span property="yui:name">name</span> |
|
|
378 |
<<span property="yui:type">String</span>> |
|
|
379 |
</code> |
|
|
380 |
<span property="yui:description"> The name of the item.</span> |
|
|
381 |
</dd> |
|
|
382 |
<dd rel="yui:parameter"> |
|
|
383 |
<code><span property="yui:name">key</span> |
|
|
384 |
<<span property="yui:type">String</span>> |
|
|
385 |
</code> |
|
|
386 |
<span property="yui:description"> The property to remove.</span> |
|
|
387 |
</dd> |
|
|
388 |
</dl> |
|
|
389 |
|
|
|
390 |
|
|
|
391 |
|
|
|
392 |
|
|
|
393 |
|
|
|
394 |
</div> |
|
|
395 |
|
|
|
396 |
</div> |
|
|
397 |
<hr /> |
|
|
398 |
</div> |
|
|
399 |
<div class="" rel="yui:method" resource="#method_removeAll"> |
|
|
400 |
<h4> |
|
|
401 |
<a name="method_removeAll">removeAll</a></h4> |
|
|
402 |
<div class="detail" > |
|
|
403 |
<code> |
|
|
404 |
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
void |
|
|
408 |
<strong property="yui:name">removeAll</strong> |
|
|
409 |
( |
|
|
410 |
|
|
|
411 |
|
|
|
412 |
name |
|
|
413 |
|
|
|
414 |
|
|
|
415 |
, |
|
|
416 |
o |
|
|
417 |
|
|
|
418 |
|
|
|
419 |
) |
|
|
420 |
</code> |
|
|
421 |
|
|
|
422 |
<div class="description" property="yui:description"> |
|
|
423 |
Removes multiple properties from an item, or remove the item completely. |
|
|
424 |
</div> |
|
|
425 |
|
|
|
426 |
<div class="description"> |
|
|
427 |
|
|
|
428 |
<dl rel="yui:parameters"> |
|
|
429 |
<dt>Parameters:</dt> |
|
|
430 |
<dd rel="yui:parameter"> |
|
|
431 |
<code><span property="yui:name">name</span> |
|
|
432 |
<<span property="yui:type">String</span>> |
|
|
433 |
</code> |
|
|
434 |
<span property="yui:description"> The name of the item.</span> |
|
|
435 |
</dd> |
|
|
436 |
<dd rel="yui:parameter"> |
|
|
437 |
<code><span property="yui:name">o</span> |
|
|
438 |
<<span property="yui:type">Object|Array</span>> |
|
|
439 |
</code> |
|
|
440 |
<span property="yui:description"> Collection of properties to delete. If not provided, the entire item is removed.</span> |
|
|
441 |
</dd> |
|
|
442 |
</dl> |
|
|
443 |
|
|
|
444 |
|
|
|
445 |
|
|
|
446 |
|
|
|
447 |
|
|
|
448 |
</div> |
|
|
449 |
|
|
|
450 |
</div> |
|
|
451 |
<hr /> |
|
|
452 |
</div> |
|
|
453 |
</div> |
|
|
454 |
</div> |
|
|
455 |
|
|
|
456 |
</div> |
|
|
457 |
|
|
|
458 |
<div rel="yui:events" resource="#events"> |
|
|
459 |
|
|
|
460 |
|
|
|
461 |
</div> |
|
|
462 |
|
|
|
463 |
<div rel="yui:attributes" resource="#configattributes"> |
|
|
464 |
|
|
|
465 |
</div> |
|
|
466 |
|
|
|
467 |
</div> |
|
|
468 |
</div> |
|
|
469 |
<div class="yui-b"> |
|
|
470 |
<div class="nav"> |
|
|
471 |
|
|
|
472 |
<div id="moduleList" class="module"> |
|
|
473 |
<h4>Modules</h4> |
|
|
474 |
<ul class="content"> |
|
|
475 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
|
476 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li> |
|
|
477 |
<li class="selected"><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
|
478 |
<li class=""><a href="module_base.html" title="base">base</a></li> |
|
|
479 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
|
480 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
|
481 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
|
482 |
<li class=""><a href="module_console.html" title="console">console</a></li> |
|
|
483 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
|
484 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
|
485 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
|
486 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
|
487 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
|
488 |
<li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
|
489 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
|
490 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
|
491 |
<li class=""><a href="module_event.html" title="event">event</a></li> |
|
|
492 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
|
493 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
|
494 |
<li class=""><a href="module_history.html" title="history">history</a></li> |
|
|
495 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
|
496 |
<li class=""><a href="module_io.html" title="io">io</a></li> |
|
|
497 |
<li class=""><a href="module_json.html" title="json">json</a></li> |
|
|
498 |
<li class=""><a href="module_node.html" title="node">node</a></li> |
|
|
499 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
|
500 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
|
501 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
|
502 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
|
503 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
|
504 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
|
505 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li> |
|
|
506 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
|
507 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
|
508 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
|
509 |
<li class=""><a href="module_test.html" title="test">test</a></li> |
|
|
510 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
|
511 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
|
512 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
|
513 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
|
514 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
|
515 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
|
516 |
</ul> |
|
|
517 |
</div> |
|
|
518 |
|
|
|
519 |
<div id="classList" class="module"> |
|
|
520 |
<h4>Classes</h4> |
|
|
521 |
<ul class="content"> |
|
|
522 |
<li class=""><a href="Attribute.html" title="Attribute">Attribute</a></li> |
|
|
523 |
<li class="selected"><a href="State.html" title="State">State</a></li> |
|
|
524 |
</ul> |
|
|
525 |
</div> |
|
|
526 |
|
|
|
527 |
<div id="fileList" class="module"> |
|
|
528 |
<h4>Files</h4> |
|
|
529 |
<ul class="content"> |
|
|
530 |
<li class=""><a href="Attribute.js.html" title="Attribute.js">Attribute.js</a></li> |
|
|
531 |
<li class=""><a href="ComplexAttribute.js.html" title="ComplexAttribute.js">ComplexAttribute.js</a></li> |
|
|
532 |
<li class=""><a href="State.js.html" title="State.js">State.js</a></li> |
|
|
533 |
</ul> |
|
|
534 |
</div> |
|
|
535 |
|
|
|
536 |
<div id="propertyList" class="module"> |
|
|
537 |
<h4>Properties</h4> |
|
|
538 |
<ul class="content"> |
|
|
539 |
<li class=""><a href="#property_data" title="data">data</a></li> |
|
|
540 |
</ul> |
|
|
541 |
</div> |
|
|
542 |
|
|
|
543 |
<div id="methodsList" class="module"> |
|
|
544 |
<h4>Methods</h4> |
|
|
545 |
<ul class="content"> |
|
|
546 |
<li class=""><a href="#method_add" title="add">add</a></li> |
|
|
547 |
<li class=""><a href="#method_addAll" title="addAll">addAll</a></li> |
|
|
548 |
<li class=""><a href="#method_get" title="get">get</a></li> |
|
|
549 |
<li class=""><a href="#method_getAll" title="getAll">getAll</a></li> |
|
|
550 |
<li class=""><a href="#method_remove" title="remove">remove</a></li> |
|
|
551 |
<li class=""><a href="#method_removeAll" title="removeAll">removeAll</a></li> |
|
|
552 |
</ul> |
|
|
553 |
</div> |
|
|
554 |
|
|
|
555 |
|
|
|
556 |
|
|
|
557 |
</div> |
|
|
558 |
</div> |
|
|
559 |
</div> |
|
|
560 |
<div id="ft"> |
|
|
561 |
<hr /> |
|
|
562 |
Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
|
563 |
</div> |
|
|
564 |
</div> |
|
|
565 |
<script type="text/javascript"> |
|
|
566 |
ALL_YUI_PROPS = [{"access": "", "host": "State", "name": "add", "url": "State.html#method_add", "type": "method"}, {"access": "", "host": "State", "name": "addAll", "url": "State.html#method_addAll", "type": "method"}, {"access": "", "host": "Attribute", "name": "addAttr", "url": "Attribute.html#method_addAttr", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_addAttrs", "url": "Attribute.html#method__addAttrs", "type": "method"}, {"access": "", "host": "Attribute", "name": "addAttrs", "url": "Attribute.html#method_addAttrs", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_addLazyAttr", "url": "Attribute.html#method__addLazyAttr", "type": "method"}, {"access": "", "host": "Attribute", "name": "attrAdded", "url": "Attribute.html#method_attrAdded", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "Attribute._ATTR_CFG", "url": "Attribute.html#property_Attribute._ATTR_CFG", "type": "property"}, {"access": "", "host": "Attribute", "name": "Attribute.INVALID_VALUE", "url": "Attribute.html#property_Attribute.INVALID_VALUE", "type": "property"}, {"access": "", "host": "State", "name": "data", "url": "State.html#property_data", "type": "property"}, {"access": "private", "host": "Attribute", "name": "_defAttrChangeFn", "url": "Attribute.html#method__defAttrChangeFn", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_fireAttrChange", "url": "Attribute.html#method__fireAttrChange", "type": "method"}, {"access": "", "host": "Attribute", "name": "get", "url": "Attribute.html#method_get", "type": "method"}, {"access": "", "host": "State", "name": "get", "url": "State.html#method_get", "type": "method"}, {"access": "", "host": "State", "name": "getAll", "url": "State.html#method_getAll", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "_getAttr", "url": "Attribute.html#method__getAttr", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_getAttrInitVal", "url": "Attribute.html#method__getAttrInitVal", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "_getAttrs", "url": "Attribute.html#method__getAttrs", "type": "method"}, {"access": "", "host": "Attribute", "name": "getAttrs", "url": "Attribute.html#method_getAttrs", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_getStateVal", "url": "Attribute.html#method__getStateVal", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_isLazyAttr", "url": "Attribute.html#method__isLazyAttr", "type": "method"}, {"access": "", "host": "Attribute", "name": "modifyAttr", "url": "Attribute.html#method_modifyAttr", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_normAttrVals", "url": "Attribute.html#method__normAttrVals", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "_protectAttrs", "url": "Attribute.html#method__protectAttrs", "type": "method"}, {"access": "", "host": "State", "name": "remove", "url": "State.html#method_remove", "type": "method"}, {"access": "", "host": "State", "name": "removeAll", "url": "State.html#method_removeAll", "type": "method"}, {"access": "", "host": "Attribute", "name": "removeAttr", "url": "Attribute.html#method_removeAttr", "type": "method"}, {"access": "", "host": "Attribute", "name": "reset", "url": "Attribute.html#method_reset", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "_set", "url": "Attribute.html#method__set", "type": "method"}, {"access": "", "host": "Attribute", "name": "set", "url": "Attribute.html#method_set", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "_setAttr", "url": "Attribute.html#method__setAttr", "type": "method"}, {"access": "protected", "host": "Attribute", "name": "_setAttrs", "url": "Attribute.html#method__setAttrs", "type": "method"}, {"access": "", "host": "Attribute", "name": "setAttrs", "url": "Attribute.html#method_setAttrs", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_setAttrVal", "url": "Attribute.html#method__setAttrVal", "type": "method"}, {"access": "private", "host": "Attribute", "name": "_setStateVal", "url": "Attribute.html#method__setStateVal", "type": "method"}]; |
|
|
567 |
</script> |
|
|
568 |
</body> |
|
|
569 |
</html> |