|
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: plugin Plugin.Base (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>plugin <span class="subtitle">3.0.0b1</span></h3> |
|
20 <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
21 > <a href="./module_plugin.html" title="plugin">plugin</a> |
|
22 > Plugin.Base |
|
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">Plugin.Base</b> |
|
52 <span class="extends"> |
|
53 - extends <a href="Base.html" title="Base">Base</a> |
|
54 </span> |
|
55 |
|
56 </h2> |
|
57 <!-- class tree goes here --> |
|
58 |
|
59 <dl class="subclasses" rel="yui:subclasses"> |
|
60 <dt>Known Subclasses:</dt> |
|
61 <dd> |
|
62 <span rel="yui:subclass" resource="DataSourceXMLSchema.html"> |
|
63 <a href="DataSourceXMLSchema.html" property="yui:name" title="DataSourceXMLSchema">DataSourceXMLSchema</a> |
|
64 </span> |
|
65 <span rel="yui:subclass" resource="DataSourceArraySchema.html"> |
|
66 <a href="DataSourceArraySchema.html" property="yui:name" title="DataSourceArraySchema">DataSourceArraySchema</a> |
|
67 </span> |
|
68 <span rel="yui:subclass" resource="DataSourceJSONSchema.html"> |
|
69 <a href="DataSourceJSONSchema.html" property="yui:name" title="DataSourceJSONSchema">DataSourceJSONSchema</a> |
|
70 </span> |
|
71 <span rel="yui:subclass" resource="Cache.html"> |
|
72 <a href="Cache.html" property="yui:name" title="Cache">Cache</a> |
|
73 </span> |
|
74 <span rel="yui:subclass" resource="DataSourceTextSchema.html"> |
|
75 <a href="DataSourceTextSchema.html" property="yui:name" title="DataSourceTextSchema">DataSourceTextSchema</a> |
|
76 </span> |
|
77 </dd> |
|
78 </dl> |
|
79 |
|
80 |
|
81 |
|
82 <div class="summary description" property="yui:description"> |
|
83 The base class for all Plugin instances. |
|
84 </div> |
|
85 |
|
86 |
|
87 <div rel="yui:properties" resource="#properties"> |
|
88 <div class="section field details"> |
|
89 <h3 id="properties">Properties</h3> |
|
90 <div class="content"> |
|
91 <div class="private" rel="yui:property" resource="#property__handles"> |
|
92 <h4><a name="property__handles" property="yui:name">_handles</a> |
|
93 - <code>private <span property="yui:type">Array</span></code> |
|
94 </h4> |
|
95 <div class="detail"> |
|
96 <div class="description" property="yui:description"> |
|
97 The list of event handles for event listeners or AOP injected methods |
|
98 applied by the plugin to the host object. |
|
99 </div> |
|
100 </div> |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 <hr /> |
|
106 </div> |
|
107 <div class="" rel="yui:property" resource="#property_Plugin.Base.ATTRS"> |
|
108 <h4><a name="property_Plugin.Base.ATTRS" property="yui:name">Plugin.Base.ATTRS</a> |
|
109 - <code>static <span property="yui:type">Object</span></code> |
|
110 </h4> |
|
111 <div class="detail"> |
|
112 <div class="description" property="yui:description"> |
|
113 Object defining the set of attributes supported by the Plugin.Base class |
|
114 </div> |
|
115 </div> |
|
116 |
|
117 |
|
118 |
|
119 |
|
120 <hr /> |
|
121 </div> |
|
122 <div class="" rel="yui:property" resource="#property_Plugin.Base.NAME"> |
|
123 <h4><a name="property_Plugin.Base.NAME" property="yui:name">Plugin.Base.NAME</a> |
|
124 - <code>static <span property="yui:type">String</span></code> |
|
125 </h4> |
|
126 <div class="detail"> |
|
127 <div class="description" property="yui:description"> |
|
128 The string identifying the Plugin.Base class. Plugins extending |
|
129 Plugin.Base should set their own NAME value. |
|
130 </div> |
|
131 </div> |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 <hr /> |
|
137 </div> |
|
138 <div class="" rel="yui:property" resource="#property_Plugin.NS"> |
|
139 <h4><a name="property_Plugin.NS" property="yui:name">Plugin.NS</a> |
|
140 - <code>static <span property="yui:type">String</span></code> |
|
141 </h4> |
|
142 <div class="detail"> |
|
143 <div class="description" property="yui:description"> |
|
144 The name of the property the the plugin will be attached to |
|
145 when plugged into a Plugin Host. Plugins extending Plugin.Base, |
|
146 should set their own NS value. |
|
147 </div> |
|
148 </div> |
|
149 |
|
150 |
|
151 |
|
152 |
|
153 <hr /> |
|
154 </div> |
|
155 </div> |
|
156 </div> |
|
157 |
|
158 <div rel="yui:inheritance"> |
|
159 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
160 <h4>Properties inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
161 <div class="content" rel="yui:properties"> |
|
162 <code> |
|
163 |
|
164 </code> |
|
165 </div> |
|
166 </div> |
|
167 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
168 <h4>Properties inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
169 <div class="content" rel="yui:properties"> |
|
170 <code> |
|
171 |
|
172 <span rel="yui:property" resource="Base.html#property_name"> |
|
173 <a class=" deprecated" href="Base.html#property_name" property="yui:name" title="name">name</a> |
|
174 </span> |
|
175 |
|
176 </code> |
|
177 </div> |
|
178 </div> |
|
179 </div> |
|
180 </div> |
|
181 |
|
182 <div rel="yui:methods" resource="#methods"> |
|
183 <div class="section method details"> |
|
184 <h3 id="methods">Methods</h3> |
|
185 <div class="content"> |
|
186 <div class="" rel="yui:method" resource="#method_destructor"> |
|
187 <h4> |
|
188 <a name="method_destructor">destructor</a></h4> |
|
189 <div class="detail" > |
|
190 <code> |
|
191 |
|
192 |
|
193 |
|
194 void |
|
195 <strong property="yui:name">destructor</strong> |
|
196 ( |
|
197 ) |
|
198 </code> |
|
199 |
|
200 <div class="description" property="yui:description"> |
|
201 Destructor lifecycle implementation. |
|
202 Removes any event listeners or injected methods applied by the Plugin |
|
203 </div> |
|
204 |
|
205 <div class="description"> |
|
206 |
|
207 |
|
208 <dl> |
|
209 <dt>Returns: |
|
210 <code property="yui:return"> |
|
211 void |
|
212 </code></dt> |
|
213 <dd property="yui:returnInfo"></dd> |
|
214 </dl> |
|
215 |
|
216 |
|
217 |
|
218 |
|
219 </div> |
|
220 |
|
221 </div> |
|
222 <hr /> |
|
223 </div> |
|
224 <div class="" rel="yui:method" resource="#method_doAfter"> |
|
225 <h4> |
|
226 <a name="method_doAfter">doAfter</a></h4> |
|
227 <div class="detail" > |
|
228 <code> |
|
229 |
|
230 |
|
231 |
|
232 EventHandle |
|
233 <strong property="yui:name">doAfter</strong> |
|
234 ( |
|
235 |
|
236 |
|
237 sFn |
|
238 |
|
239 |
|
240 , |
|
241 fn |
|
242 |
|
243 |
|
244 , |
|
245 context |
|
246 |
|
247 |
|
248 ) |
|
249 </code> |
|
250 |
|
251 <div class="description" property="yui:description"> |
|
252 Listens for the "after" moment of events fired by the host, |
|
253 or injects code "after" a given method on the host. |
|
254 </div> |
|
255 |
|
256 <div class="description"> |
|
257 |
|
258 <dl rel="yui:parameters"> |
|
259 <dt>Parameters:</dt> |
|
260 <dd rel="yui:parameter"> |
|
261 <code><span property="yui:name">sFn</span> |
|
262 <<span property="yui:type">String</span>> |
|
263 </code> |
|
264 <span property="yui:description"> The event to listen for, or method to inject logic after.</span> |
|
265 </dd> |
|
266 <dd rel="yui:parameter"> |
|
267 <code><span property="yui:name">fn</span> |
|
268 <<span property="yui:type">Function</span>> |
|
269 </code> |
|
270 <span property="yui:description"> The handler function. For events, the "after" moment listener. For methods, the function to execute after the given method is executed.</span> |
|
271 </dd> |
|
272 <dd rel="yui:parameter"> |
|
273 <code><span property="yui:name">context</span> |
|
274 <<span property="yui:type">Object</span>> |
|
275 </code> |
|
276 <span property="yui:description"> An optional context to call the handler with. The default context is the plugin instance.</span> |
|
277 </dd> |
|
278 </dl> |
|
279 |
|
280 <dl> |
|
281 <dt>Returns: |
|
282 <code property="yui:return"> |
|
283 EventHandle |
|
284 </code></dt> |
|
285 <dd property="yui:returnInfo">handle The detach handle for the handler.</dd> |
|
286 </dl> |
|
287 |
|
288 |
|
289 |
|
290 |
|
291 </div> |
|
292 |
|
293 </div> |
|
294 <hr /> |
|
295 </div> |
|
296 <div class="" rel="yui:method" resource="#method_doBefore"> |
|
297 <h4> |
|
298 <a name="method_doBefore">doBefore</a></h4> |
|
299 <div class="detail" > |
|
300 <code> |
|
301 |
|
302 |
|
303 |
|
304 EventHandle |
|
305 <strong property="yui:name">doBefore</strong> |
|
306 ( |
|
307 |
|
308 |
|
309 sFn |
|
310 |
|
311 |
|
312 , |
|
313 fn |
|
314 |
|
315 |
|
316 , |
|
317 context |
|
318 |
|
319 |
|
320 ) |
|
321 </code> |
|
322 |
|
323 <div class="description" property="yui:description"> |
|
324 Listens for the "on" moment of events fired by the host, |
|
325 or injects code "before" a given method on the host. |
|
326 </div> |
|
327 |
|
328 <div class="description"> |
|
329 |
|
330 <dl rel="yui:parameters"> |
|
331 <dt>Parameters:</dt> |
|
332 <dd rel="yui:parameter"> |
|
333 <code><span property="yui:name">sFn</span> |
|
334 <<span property="yui:type">String</span>> |
|
335 </code> |
|
336 <span property="yui:description"> The event to listen for, or method to inject logic before.</span> |
|
337 </dd> |
|
338 <dd rel="yui:parameter"> |
|
339 <code><span property="yui:name">fn</span> |
|
340 <<span property="yui:type">Function</span>> |
|
341 </code> |
|
342 <span property="yui:description"> The handler function. For events, the "on" moment listener. For methods, the function to execute before the given method is executed.</span> |
|
343 </dd> |
|
344 <dd rel="yui:parameter"> |
|
345 <code><span property="yui:name">context</span> |
|
346 <<span property="yui:type">Object</span>> |
|
347 </code> |
|
348 <span property="yui:description"> An optional context to call the handler with. The default context is the plugin instance.</span> |
|
349 </dd> |
|
350 </dl> |
|
351 |
|
352 <dl> |
|
353 <dt>Returns: |
|
354 <code property="yui:return"> |
|
355 EventHandle |
|
356 </code></dt> |
|
357 <dd property="yui:returnInfo">handle The detach handle for the handler.</dd> |
|
358 </dl> |
|
359 |
|
360 |
|
361 |
|
362 |
|
363 </div> |
|
364 |
|
365 </div> |
|
366 <hr /> |
|
367 </div> |
|
368 <div class="" rel="yui:method" resource="#method_initializer"> |
|
369 <h4> |
|
370 <a name="method_initializer">initializer</a></h4> |
|
371 <div class="detail" > |
|
372 <code> |
|
373 |
|
374 |
|
375 |
|
376 void |
|
377 <strong property="yui:name">initializer</strong> |
|
378 ( |
|
379 |
|
380 |
|
381 config |
|
382 |
|
383 |
|
384 ) |
|
385 </code> |
|
386 |
|
387 <div class="description" property="yui:description"> |
|
388 Initializer lifecycle implementation. |
|
389 </div> |
|
390 |
|
391 <div class="description"> |
|
392 |
|
393 <dl rel="yui:parameters"> |
|
394 <dt>Parameters:</dt> |
|
395 <dd rel="yui:parameter"> |
|
396 <code><span property="yui:name">config</span> |
|
397 <<span property="yui:type">Object</span>> |
|
398 </code> |
|
399 <span property="yui:description"> Configuration object with property name/value pairs.</span> |
|
400 </dd> |
|
401 </dl> |
|
402 |
|
403 <dl> |
|
404 <dt>Returns: |
|
405 <code property="yui:return"> |
|
406 void |
|
407 </code></dt> |
|
408 <dd property="yui:returnInfo"></dd> |
|
409 </dl> |
|
410 |
|
411 |
|
412 |
|
413 |
|
414 </div> |
|
415 |
|
416 </div> |
|
417 <hr /> |
|
418 </div> |
|
419 </div> |
|
420 </div> |
|
421 |
|
422 <div rel="yui:inheritance"> |
|
423 <div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html"> |
|
424 <h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4> |
|
425 <div class="content" rel="yui:methods"> |
|
426 <code> |
|
427 <span rel="yui:method" resource="EventTarget.html#method__getType"> |
|
428 <a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span> |
|
429 </span> |
|
430 <span rel="yui:method" resource="EventTarget.html#method__parseType"> |
|
431 <a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span> |
|
432 </span> |
|
433 <span rel="yui:method" resource="EventTarget.html#method_addTarget"> |
|
434 <a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span> |
|
435 </span> |
|
436 <span rel="yui:method" resource="EventTarget.html#method_after"> |
|
437 <a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span> |
|
438 </span> |
|
439 <span rel="yui:method" resource="EventTarget.html#method_before"> |
|
440 <a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span> |
|
441 </span> |
|
442 <span rel="yui:method" resource="EventTarget.html#method_bubble"> |
|
443 <a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span> |
|
444 </span> |
|
445 <span rel="yui:method" resource="EventTarget.html#method_detach"> |
|
446 <a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span> |
|
447 </span> |
|
448 <span rel="yui:method" resource="EventTarget.html#method_detachAll"> |
|
449 <a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span> |
|
450 </span> |
|
451 <span rel="yui:method" resource="EventTarget.html#method_fire"> |
|
452 <a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span> |
|
453 </span> |
|
454 <span rel="yui:method" resource="EventTarget.html#method_getEvent"> |
|
455 <a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span> |
|
456 </span> |
|
457 <span rel="yui:method" resource="EventTarget.html#method_on"> |
|
458 <a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span> |
|
459 </span> |
|
460 <span rel="yui:method" resource="EventTarget.html#method_publish"> |
|
461 <a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span> |
|
462 </span> |
|
463 <span rel="yui:method" resource="EventTarget.html#method_removeTarget"> |
|
464 <a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span> |
|
465 </span> |
|
466 <span rel="yui:method" resource="EventTarget.html#method_subscribe"> |
|
467 <a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span> |
|
468 </span> |
|
469 <span rel="yui:method" resource="EventTarget.html#method_unsubscribe"> |
|
470 <a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span> |
|
471 </span> |
|
472 <span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll"> |
|
473 <a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a> |
|
474 </span> |
|
475 </code> |
|
476 </div> |
|
477 </div> |
|
478 <div class="section field inheritance" rel="yui:superclass" resource="Attribute.html"> |
|
479 <h4>Methods inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4> |
|
480 <div class="content" rel="yui:methods"> |
|
481 <code> |
|
482 <span rel="yui:method" resource="Attribute.html#method__addAttrs"> |
|
483 <a class="private" href="Attribute.html#method__addAttrs" property="yui:name" title="_addAttrs">_addAttrs</a><span class="private">,</span> |
|
484 </span> |
|
485 <span rel="yui:method" resource="Attribute.html#method__addLazyAttr"> |
|
486 <a class="private" href="Attribute.html#method__addLazyAttr" property="yui:name" title="_addLazyAttr">_addLazyAttr</a><span class="private">,</span> |
|
487 </span> |
|
488 <span rel="yui:method" resource="Attribute.html#method__defAttrChangeFn"> |
|
489 <a class="private" href="Attribute.html#method__defAttrChangeFn" property="yui:name" title="_defAttrChangeFn">_defAttrChangeFn</a><span class="private">,</span> |
|
490 </span> |
|
491 <span rel="yui:method" resource="Attribute.html#method__fireAttrChange"> |
|
492 <a class="private" href="Attribute.html#method__fireAttrChange" property="yui:name" title="_fireAttrChange">_fireAttrChange</a><span class="private">,</span> |
|
493 </span> |
|
494 <span rel="yui:method" resource="Attribute.html#method__getAttrInitVal"> |
|
495 <a class="private" href="Attribute.html#method__getAttrInitVal" property="yui:name" title="_getAttrInitVal">_getAttrInitVal</a><span class="private">,</span> |
|
496 </span> |
|
497 <span rel="yui:method" resource="Attribute.html#method__isLazyAttr"> |
|
498 <a class="private" href="Attribute.html#method__isLazyAttr" property="yui:name" title="_isLazyAttr">_isLazyAttr</a><span class="private">,</span> |
|
499 </span> |
|
500 <span rel="yui:method" resource="Attribute.html#method__set"> |
|
501 <a class="protected" href="Attribute.html#method__set" property="yui:name" title="_set">_set</a><span class="protected">,</span> |
|
502 </span> |
|
503 <span rel="yui:method" resource="Attribute.html#method__setAttr"> |
|
504 <a class="protected" href="Attribute.html#method__setAttr" property="yui:name" title="_setAttr">_setAttr</a><span class="protected">,</span> |
|
505 </span> |
|
506 <span rel="yui:method" resource="Attribute.html#method__setAttrVal"> |
|
507 <a class="private" href="Attribute.html#method__setAttrVal" property="yui:name" title="_setAttrVal">_setAttrVal</a><span class="private">,</span> |
|
508 </span> |
|
509 <span rel="yui:method" resource="Attribute.html#method__splitAttrVals"> |
|
510 <a class="private" href="Attribute.html#method__splitAttrVals" property="yui:name" title="_splitAttrVals">_splitAttrVals</a><span class="private">,</span> |
|
511 </span> |
|
512 <span rel="yui:method" resource="Attribute.html#method_addAttr"> |
|
513 <a class="" href="Attribute.html#method_addAttr" property="yui:name" title="addAttr">addAttr</a><span class="">,</span> |
|
514 </span> |
|
515 <span rel="yui:method" resource="Attribute.html#method_addAttrs"> |
|
516 <a class="" href="Attribute.html#method_addAttrs" property="yui:name" title="addAttrs">addAttrs</a><span class="">,</span> |
|
517 </span> |
|
518 <span rel="yui:method" resource="Attribute.html#method_attrAdded"> |
|
519 <a class="" href="Attribute.html#method_attrAdded" property="yui:name" title="attrAdded">attrAdded</a><span class="">,</span> |
|
520 </span> |
|
521 <span rel="yui:method" resource="Attribute.html#method_get"> |
|
522 <a class="" href="Attribute.html#method_get" property="yui:name" title="get">get</a><span class="">,</span> |
|
523 </span> |
|
524 <span rel="yui:method" resource="Attribute.html#method_getAttrs"> |
|
525 <a class="" href="Attribute.html#method_getAttrs" property="yui:name" title="getAttrs">getAttrs</a><span class="">,</span> |
|
526 </span> |
|
527 <span rel="yui:method" resource="Attribute.html#method_modifyAttr"> |
|
528 <a class="" href="Attribute.html#method_modifyAttr" property="yui:name" title="modifyAttr">modifyAttr</a><span class="">,</span> |
|
529 </span> |
|
530 <span rel="yui:method" resource="Attribute.html#method_removeAttr"> |
|
531 <a class="" href="Attribute.html#method_removeAttr" property="yui:name" title="removeAttr">removeAttr</a><span class="">,</span> |
|
532 </span> |
|
533 <span rel="yui:method" resource="Attribute.html#method_reset"> |
|
534 <a class="" href="Attribute.html#method_reset" property="yui:name" title="reset">reset</a><span class="">,</span> |
|
535 </span> |
|
536 <span rel="yui:method" resource="Attribute.html#method_set"> |
|
537 <a class="" href="Attribute.html#method_set" property="yui:name" title="set">set</a><span class="">,</span> |
|
538 </span> |
|
539 <span rel="yui:method" resource="Attribute.html#method_setAttrs"> |
|
540 <a class="" href="Attribute.html#method_setAttrs" property="yui:name" title="setAttrs">setAttrs</a> |
|
541 </span> |
|
542 </code> |
|
543 </div> |
|
544 </div> |
|
545 <div class="section field inheritance" rel="yui:superclass" resource="Plugin.Host.html"> |
|
546 <h4>Methods inherited from <a href="Plugin.Host.html" property="yui:name" title="Plugin.Host">Plugin.Host</a>:</h4> |
|
547 <div class="content" rel="yui:methods"> |
|
548 <code> |
|
549 <span rel="yui:method" resource="Plugin.Host.html#method__destroyPlugins"> |
|
550 <a class="private" href="Plugin.Host.html#method__destroyPlugins" property="yui:name" title="_destroyPlugins">_destroyPlugins</a><span class="private">,</span> |
|
551 </span> |
|
552 <span rel="yui:method" resource="Plugin.Host.html#method__initPlugins"> |
|
553 <a class="private" href="Plugin.Host.html#method__initPlugins" property="yui:name" title="_initPlugins">_initPlugins</a><span class="private">,</span> |
|
554 </span> |
|
555 <span rel="yui:method" resource="Plugin.Host.html#method__plug"> |
|
556 <a class="private" href="Plugin.Host.html#method__plug" property="yui:name" title="_plug">_plug</a><span class="private">,</span> |
|
557 </span> |
|
558 <span rel="yui:method" resource="Plugin.Host.html#method__unplug"> |
|
559 <a class="private" href="Plugin.Host.html#method__unplug" property="yui:name" title="_unplug">_unplug</a><span class="private">,</span> |
|
560 </span> |
|
561 <span rel="yui:method" resource="Plugin.Host.html#method_hasPlugin"> |
|
562 <a class="" href="Plugin.Host.html#method_hasPlugin" property="yui:name" title="hasPlugin">hasPlugin</a><span class="">,</span> |
|
563 </span> |
|
564 <span rel="yui:method" resource="Plugin.Host.html#method_plug"> |
|
565 <a class="" href="Plugin.Host.html#method_plug" property="yui:name" title="plug">plug</a><span class="">,</span> |
|
566 </span> |
|
567 <span rel="yui:method" resource="Plugin.Host.html#method_unplug"> |
|
568 <a class="" href="Plugin.Host.html#method_unplug" property="yui:name" title="unplug">unplug</a> |
|
569 </span> |
|
570 </code> |
|
571 </div> |
|
572 </div> |
|
573 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
574 <h4>Methods inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
575 <div class="content" rel="yui:methods"> |
|
576 <code> |
|
577 <span rel="yui:method" resource="Base.html#method__aggregateAttrs"> |
|
578 <a class="private" href="Base.html#method__aggregateAttrs" property="yui:name" title="_aggregateAttrs">_aggregateAttrs</a><span class="private">,</span> |
|
579 </span> |
|
580 <span rel="yui:method" resource="Base.html#method__defDestroyFn"> |
|
581 <a class="protected" href="Base.html#method__defDestroyFn" property="yui:name" title="_defDestroyFn">_defDestroyFn</a><span class="protected">,</span> |
|
582 </span> |
|
583 <span rel="yui:method" resource="Base.html#method__defInitFn"> |
|
584 <a class="protected" href="Base.html#method__defInitFn" property="yui:name" title="_defInitFn">_defInitFn</a><span class="protected">,</span> |
|
585 </span> |
|
586 <span rel="yui:method" resource="Base.html#method__destroyHierarchy"> |
|
587 <a class="private" href="Base.html#method__destroyHierarchy" property="yui:name" title="_destroyHierarchy">_destroyHierarchy</a><span class="private">,</span> |
|
588 </span> |
|
589 <span rel="yui:method" resource="Base.html#method__filterAttrCfs"> |
|
590 <a class="private" href="Base.html#method__filterAttrCfs" property="yui:name" title="_filterAttrCfs">_filterAttrCfs</a><span class="private">,</span> |
|
591 </span> |
|
592 <span rel="yui:method" resource="Base.html#method__getAttrCfgs"> |
|
593 <a class="protected" href="Base.html#method__getAttrCfgs" property="yui:name" title="_getAttrCfgs">_getAttrCfgs</a><span class="protected">,</span> |
|
594 </span> |
|
595 <span rel="yui:method" resource="Base.html#method__getClasses"> |
|
596 <a class="protected" href="Base.html#method__getClasses" property="yui:name" title="_getClasses">_getClasses</a><span class="protected">,</span> |
|
597 </span> |
|
598 <span rel="yui:method" resource="Base.html#method__initHierarchy"> |
|
599 <a class="private" href="Base.html#method__initHierarchy" property="yui:name" title="_initHierarchy">_initHierarchy</a><span class="private">,</span> |
|
600 </span> |
|
601 <span rel="yui:method" resource="Base.html#method__initHierarchyData"> |
|
602 <a class="private" href="Base.html#method__initHierarchyData" property="yui:name" title="_initHierarchyData">_initHierarchyData</a><span class="private">,</span> |
|
603 </span> |
|
604 <span rel="yui:method" resource="Base.html#method_destroy"> |
|
605 <a class="" href="Base.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
606 </span> |
|
607 <span rel="yui:method" resource="Base.html#method_init"> |
|
608 <a class="" href="Base.html#method_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
609 </span> |
|
610 <span rel="yui:method" resource="Base.html#method_toString"> |
|
611 <a class="" href="Base.html#method_toString" property="yui:name" title="toString">toString</a> |
|
612 </span> |
|
613 </code> |
|
614 </div> |
|
615 </div> |
|
616 </div> |
|
617 </div> |
|
618 |
|
619 <div rel="yui:events" resource="#events"> |
|
620 <div class="section method details"> |
|
621 <h3 id="events">Events</h3> |
|
622 <div class="content"> |
|
623 <div class="" rel="yui:event" resource="#event_hostChange"> |
|
624 <h4> |
|
625 <a name="event_hostChange">hostChange</a></h4> |
|
626 <div class="detail"> |
|
627 <code> |
|
628 |
|
629 |
|
630 |
|
631 <strong property="yui:name">hostChange</strong> |
|
632 |
|
633 ( |
|
634 |
|
635 |
|
636 event |
|
637 |
|
638 |
|
639 ) |
|
640 |
|
641 </code> |
|
642 |
|
643 <div class="description" property="yui:description"> |
|
644 Fires when the value for the configuration attribute 'host' is changed. You can listen for the event using the <a href="Attribute.html#method_on">on</a> method if you wish to be notified before the attribute's value has changed, or using the <a href="Event.Target.html#method_after">after</a> method if you wish to be notified after the attribute's value has changed. |
|
645 </div> |
|
646 |
|
647 <div class="description"> |
|
648 |
|
649 |
|
650 <dl rel="yui:parameters"> |
|
651 <dt>Parameters:</dt> |
|
652 <dd rel="yui:parameter"> |
|
653 <code><span property="yui:name">event</span> |
|
654 <<span property="yui:type">Event.Facade</span>> |
|
655 </code> |
|
656 <span property="yui:description">An Event Facade object with the following attribute specific properties added: <dl> <dt>prevVal</dt> <dd>The value of the attribute, prior to it being set</dd> <dt>newVal</dt> <dd>The value the attribute is to be set to</dd> <dt>attrName</dt> <dd>The name of the attribute being set</dd> <dt>subAttrName</dt> <dd>If setting a property within the attribute's value, the name of the sub-attribute property being set</dd> </dl></span> |
|
657 </dd> |
|
658 |
|
659 </dl> |
|
660 |
|
661 |
|
662 </div> |
|
663 |
|
664 </div> |
|
665 <hr /> |
|
666 </div> |
|
667 </div> |
|
668 </div> |
|
669 |
|
670 |
|
671 <div rel="yui:inheritance"> |
|
672 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
673 <h4>Events inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
674 <div class="content" rel="yui:events"> |
|
675 <code> |
|
676 <span rel="yui:event" resource="Base.html#event_destroy"> |
|
677 <a class="" href="Base.html#event_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span> |
|
678 </span> |
|
679 <span rel="yui:event" resource="Base.html#event_destroyedChange"> |
|
680 <a class="" href="Base.html#event_destroyedChange" property="yui:name" title="destroyedChange">destroyedChange</a><span class="">,</span> |
|
681 </span> |
|
682 <span rel="yui:event" resource="Base.html#event_init"> |
|
683 <a class="" href="Base.html#event_init" property="yui:name" title="init">init</a><span class="">,</span> |
|
684 </span> |
|
685 <span rel="yui:event" resource="Base.html#event_initializedChange"> |
|
686 <a class="" href="Base.html#event_initializedChange" property="yui:name" title="initializedChange">initializedChange</a><span class="">,</span> |
|
687 </span> |
|
688 |
|
689 </code> |
|
690 </div> |
|
691 </div> |
|
692 </div> |
|
693 </div> |
|
694 |
|
695 <div rel="yui:attributes" resource="#configattributes"> |
|
696 <div class="section field details"> |
|
697 <h3 id="configattributes">Configuration Attributes</h3> |
|
698 <div class="content"> |
|
699 <div class="" rel="yui:attribute" resource="#config_host"> |
|
700 <h4><a name="config_host">host</a> |
|
701 <code>- writeonce <span property="yui:type">Plugin.Host</span></code> |
|
702 </h4> |
|
703 <div class="detail"> |
|
704 <div class="description" property="yui:description"> |
|
705 The plugin's host object. |
|
706 </div> |
|
707 </div> |
|
708 |
|
709 |
|
710 |
|
711 <hr /> |
|
712 </div> |
|
713 |
|
714 </div> |
|
715 </div> |
|
716 |
|
717 <div rel="yui:inheritance"> |
|
718 <div class="section field inheritance" rel="yui:superclass" resource="Base.html"> |
|
719 <h4>Configuration attributes inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4> |
|
720 <div class="content" rel="yui:attributes"> |
|
721 <code> |
|
722 <span rel="yui:attribute" resource="Base.html#config_destroyed"> |
|
723 <a class="" href="Base.html#config_destroyed" property="yui:name" title="destroyed">destroyed</a><span class="">,</span> |
|
724 </span> |
|
725 <span rel="yui:attribute" resource="Base.html#config_initialized"> |
|
726 <a class="" href="Base.html#config_initialized" property="yui:name" title="initialized">initialized</a><span class="">,</span> |
|
727 </span> |
|
728 |
|
729 </code> |
|
730 </div> |
|
731 </div> |
|
732 </div> |
|
733 </div> |
|
734 |
|
735 </div> |
|
736 </div> |
|
737 <div class="yui-b"> |
|
738 <div class="nav"> |
|
739 |
|
740 <div id="moduleList" class="module"> |
|
741 <h4>Modules</h4> |
|
742 <ul class="content"> |
|
743 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
744 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
745 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
746 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
747 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
748 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
749 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
750 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
751 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
752 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
753 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
754 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
755 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
756 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
757 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
758 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
759 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
760 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
761 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
762 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
763 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
764 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
765 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
766 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
767 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
768 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
769 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
770 <li class="selected"><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
771 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
772 <li class=""><a href="module_queue.html" title="queue">queue</a></li> |
|
773 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
774 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
775 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
776 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
777 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
778 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
779 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
780 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
781 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
782 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
783 </ul> |
|
784 </div> |
|
785 |
|
786 <div id="classList" class="module"> |
|
787 <h4>Classes</h4> |
|
788 <ul class="content"> |
|
789 <li class="selected"><a href="Plugin.Base.html" title="Plugin.Base">Plugin.Base</a></li> |
|
790 </ul> |
|
791 </div> |
|
792 |
|
793 <div id="fileList" class="module"> |
|
794 <h4>Files</h4> |
|
795 <ul class="content"> |
|
796 <li class=""><a href="plugin.js.html" title="plugin.js">plugin.js</a></li> |
|
797 </ul> |
|
798 </div> |
|
799 |
|
800 <div id="propertyList" class="module"> |
|
801 <h4>Properties</h4> |
|
802 <ul class="content"> |
|
803 <li class="private"><a href="#property__handles" title="_handles">_handles</a></li> |
|
804 <li class=""><a href="#property_Plugin.Base.ATTRS" title="Plugin.Base.ATTRS">Plugin.Base.ATTRS</a></li> |
|
805 <li class=""><a href="#property_Plugin.Base.NAME" title="Plugin.Base.NAME">Plugin.Base.NAME</a></li> |
|
806 <li class=""><a href="#property_Plugin.NS" title="Plugin.NS">Plugin.NS</a></li> |
|
807 </ul> |
|
808 </div> |
|
809 |
|
810 <div id="methodsList" class="module"> |
|
811 <h4>Methods</h4> |
|
812 <ul class="content"> |
|
813 <li class=""><a href="#method_destructor" title="destructor">destructor</a></li> |
|
814 <li class=""><a href="#method_doAfter" title="doAfter">doAfter</a></li> |
|
815 <li class=""><a href="#method_doBefore" title="doBefore">doBefore</a></li> |
|
816 <li class=""><a href="#method_initializer" title="initializer">initializer</a></li> |
|
817 </ul> |
|
818 </div> |
|
819 |
|
820 <div id="eventsList" class="module"> |
|
821 <h4>Events</h4> |
|
822 <ul class="content"> |
|
823 <li class=""><a href="#event_hostChange" title="hostChange">hostChange</a></li> |
|
824 </ul> |
|
825 </div> |
|
826 |
|
827 <div id="configList" class="module"> |
|
828 <h4>Configuration Attributes</h4> |
|
829 <ul class="content"> |
|
830 <li class=""><a href="#config_host" title="host">host</a></li> |
|
831 </ul> |
|
832 </div> |
|
833 |
|
834 </div> |
|
835 </div> |
|
836 </div> |
|
837 <div id="ft"> |
|
838 <hr /> |
|
839 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
840 </div> |
|
841 </div> |
|
842 <script type="text/javascript"> |
|
843 ALL_YUI_PROPS = [{"access": "", "host": "Plugin.Base", "name": "destructor", "url": "Plugin.Base.html#method_destructor", "type": "method"}, {"access": "", "host": "Plugin.Base", "name": "doAfter", "url": "Plugin.Base.html#method_doAfter", "type": "method"}, {"access": "", "host": "Plugin.Base", "name": "doBefore", "url": "Plugin.Base.html#method_doBefore", "type": "method"}, {"access": "private", "host": "Plugin.Base", "name": "_handles", "url": "Plugin.Base.html#property__handles", "type": "property"}, {"access": "", "host": "Plugin.Base", "name": "host", "url": "Plugin.Base.html#config_host", "type": "config"}, {"access": "", "host": "Plugin.Base", "name": "hostChange", "url": "Plugin.Base.html#event_hostChange", "type": "event"}, {"access": "", "host": "Plugin.Base", "name": "initializer", "url": "Plugin.Base.html#method_initializer", "type": "method"}, {"access": "", "host": "Plugin.Base", "name": "Plugin.Base.ATTRS", "url": "Plugin.Base.html#property_Plugin.Base.ATTRS", "type": "property"}, {"access": "", "host": "Plugin.Base", "name": "Plugin.Base.NAME", "url": "Plugin.Base.html#property_Plugin.Base.NAME", "type": "property"}, {"access": "", "host": "Plugin.Base", "name": "Plugin.NS", "url": "Plugin.Base.html#property_Plugin.NS", "type": "property"}]; |
|
844 </script> |
|
845 </body> |
|
846 </html> |