|
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: dd Plugin.DragConstrained (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>dd <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_dd.html" title="dd">dd</a>
|
|
|
22 |
> Plugin.DragConstrained
|
|
|
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.DragConstrained</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 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
<div class="summary description" property="yui:description">
|
|
|
63 |
This is a plugin for the dd-drag module to add the constraining methods to it. It supports constraining to a renodenode or viewport. It anode* supports tick based moves and XY axis constraints.
|
|
|
64 |
</div>
|
|
|
65 |
|
|
|
66 |
<div class="section constructor details" rel="yui:constructor" resource="#constructor">
|
|
|
67 |
<h3 id="constructor">Constructor</h3>
|
|
|
68 |
<div class="content">
|
|
|
69 |
<div class="detail">
|
|
|
70 |
<strong property="yui:name">Plugin.DragConstrained</strong>
|
|
|
71 |
<code>
|
|
|
72 |
(
|
|
|
73 |
)
|
|
|
74 |
</code>
|
|
|
75 |
<div class="description">
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
</div>
|
|
|
79 |
</div>
|
|
|
80 |
</div>
|
|
|
81 |
</div>
|
|
|
82 |
|
|
|
83 |
<div rel="yui:properties" resource="#properties">
|
|
|
84 |
<div class="section field details">
|
|
|
85 |
<h3 id="properties">Properties</h3>
|
|
|
86 |
<div class="content">
|
|
|
87 |
<div class="private" rel="yui:property" resource="#property__regionCache">
|
|
|
88 |
<h4><a name="property__regionCache" property="yui:name">_regionCache</a>
|
|
|
89 |
- <code>private <span property="yui:type">Object</span></code>
|
|
|
90 |
</h4>
|
|
|
91 |
<div class="detail">
|
|
|
92 |
<div class="description" property="yui:description">
|
|
|
93 |
Store a cache of the region that we are constraining to
|
|
|
94 |
</div>
|
|
|
95 |
</div>
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
<hr />
|
|
|
101 |
</div>
|
|
|
102 |
<div class="" rel="yui:property" resource="#property_con">
|
|
|
103 |
<h4><a name="property_con" property="yui:name">con</a>
|
|
|
104 |
- <code><span property="yui:type">{String}</span></code>
|
|
|
105 |
</h4>
|
|
|
106 |
<div class="detail">
|
|
|
107 |
<div class="description" property="yui:description">
|
|
|
108 |
The Constrained instance will be placed on the Drag instance under the con namespace.
|
|
|
109 |
</div>
|
|
|
110 |
</div>
|
|
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
<hr />
|
|
|
116 |
</div>
|
|
|
117 |
</div>
|
|
|
118 |
</div>
|
|
|
119 |
|
|
|
120 |
<div rel="yui:inheritance">
|
|
|
121 |
<div class="section field inheritance" rel="yui:superclass" resource="Attribute.html">
|
|
|
122 |
<h4>Properties inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4>
|
|
|
123 |
<div class="content" rel="yui:properties">
|
|
|
124 |
<code>
|
|
|
125 |
|
|
|
126 |
</code>
|
|
|
127 |
</div>
|
|
|
128 |
</div>
|
|
|
129 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html">
|
|
|
130 |
<h4>Properties inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4>
|
|
|
131 |
<div class="content" rel="yui:properties">
|
|
|
132 |
<code>
|
|
|
133 |
|
|
|
134 |
<span rel="yui:property" resource="Base.html#property_name">
|
|
|
135 |
<a class=" deprecated" href="Base.html#property_name" property="yui:name" title="name">name</a>
|
|
|
136 |
</span>
|
|
|
137 |
|
|
|
138 |
</code>
|
|
|
139 |
</div>
|
|
|
140 |
</div>
|
|
|
141 |
</div>
|
|
|
142 |
</div>
|
|
|
143 |
|
|
|
144 |
<div rel="yui:methods" resource="#methods">
|
|
|
145 |
<div class="section method details">
|
|
|
146 |
<h3 id="methods">Methods</h3>
|
|
|
147 |
<div class="content">
|
|
|
148 |
<div class="private" rel="yui:method" resource="#method__cacheRegion">
|
|
|
149 |
<h4>
|
|
|
150 |
<a name="method__cacheRegion">_cacheRegion</a></h4>
|
|
|
151 |
<div class="detail" >
|
|
|
152 |
<code>
|
|
|
153 |
private
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
void
|
|
|
157 |
<strong property="yui:name">_cacheRegion</strong>
|
|
|
158 |
(
|
|
|
159 |
)
|
|
|
160 |
</code>
|
|
|
161 |
|
|
|
162 |
<div class="description" property="yui:description">
|
|
|
163 |
Get's the region and caches it, called from window.resize and when the cache is null
|
|
|
164 |
</div>
|
|
|
165 |
|
|
|
166 |
<div class="description">
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
</div>
|
|
|
174 |
|
|
|
175 |
</div>
|
|
|
176 |
<hr />
|
|
|
177 |
</div>
|
|
|
178 |
<div class="private" rel="yui:method" resource="#method__checkRegion">
|
|
|
179 |
<h4>
|
|
|
180 |
<a name="method__checkRegion">_checkRegion</a></h4>
|
|
|
181 |
<div class="detail" >
|
|
|
182 |
<code>
|
|
|
183 |
private
|
|
|
184 |
|
|
|
185 |
|
|
|
186 |
Array
|
|
|
187 |
<strong property="yui:name">_checkRegion</strong>
|
|
|
188 |
(
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
_xy
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
)
|
|
|
195 |
</code>
|
|
|
196 |
|
|
|
197 |
<div class="description" property="yui:description">
|
|
|
198 |
Check if xy is inside a given region, if not change to it be inside.
|
|
|
199 |
</div>
|
|
|
200 |
|
|
|
201 |
<div class="description">
|
|
|
202 |
|
|
|
203 |
<dl rel="yui:parameters">
|
|
|
204 |
<dt>Parameters:</dt>
|
|
|
205 |
<dd rel="yui:parameter">
|
|
|
206 |
<code><span property="yui:name">_xy</span>
|
|
|
207 |
<<span property="yui:type">Array</span>>
|
|
|
208 |
</code>
|
|
|
209 |
<span property="yui:description"> The XY to check if it's in the current region, if it isn't inside the region, it will reset the xy array to be inside the region.</span>
|
|
|
210 |
</dd>
|
|
|
211 |
</dl>
|
|
|
212 |
|
|
|
213 |
<dl>
|
|
|
214 |
<dt>Returns:
|
|
|
215 |
<code property="yui:return">
|
|
|
216 |
Array
|
|
|
217 |
</code></dt>
|
|
|
218 |
<dd property="yui:returnInfo">The new XY that is inside the region</dd>
|
|
|
219 |
</dl>
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
</div>
|
|
|
225 |
|
|
|
226 |
</div>
|
|
|
227 |
<hr />
|
|
|
228 |
</div>
|
|
|
229 |
<div class="private" rel="yui:method" resource="#method__checkTicks">
|
|
|
230 |
<h4>
|
|
|
231 |
<a name="method__checkTicks">_checkTicks</a></h4>
|
|
|
232 |
<div class="detail" >
|
|
|
233 |
<code>
|
|
|
234 |
private
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
Array
|
|
|
238 |
<strong property="yui:name">_checkTicks</strong>
|
|
|
239 |
(
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
xy
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
,
|
|
|
246 |
r
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
)
|
|
|
250 |
</code>
|
|
|
251 |
|
|
|
252 |
<div class="description" property="yui:description">
|
|
|
253 |
This method delegates the proper helper method for tick calculations
|
|
|
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">xy</span>
|
|
|
262 |
<<span property="yui:type">Array</span>>
|
|
|
263 |
</code>
|
|
|
264 |
<span property="yui:description"> The XY coords for the Drag</span>
|
|
|
265 |
</dd>
|
|
|
266 |
<dd rel="yui:parameter">
|
|
|
267 |
<code><span property="yui:name">r</span>
|
|
|
268 |
<<span property="yui:type">Object</span>>
|
|
|
269 |
</code>
|
|
|
270 |
<span property="yui:description"> The optional region that we are bound to.</span>
|
|
|
271 |
</dd>
|
|
|
272 |
</dl>
|
|
|
273 |
|
|
|
274 |
<dl>
|
|
|
275 |
<dt>Returns:
|
|
|
276 |
<code property="yui:return">
|
|
|
277 |
Array
|
|
|
278 |
</code></dt>
|
|
|
279 |
<dd property="yui:returnInfo">The calced XY coords</dd>
|
|
|
280 |
</dl>
|
|
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
|
285 |
</div>
|
|
|
286 |
|
|
|
287 |
</div>
|
|
|
288 |
<hr />
|
|
|
289 |
</div>
|
|
|
290 |
<div class="private" rel="yui:method" resource="#method__handleStart">
|
|
|
291 |
<h4>
|
|
|
292 |
<a name="method__handleStart">_handleStart</a></h4>
|
|
|
293 |
<div class="detail" >
|
|
|
294 |
<code>
|
|
|
295 |
private
|
|
|
296 |
|
|
|
297 |
|
|
|
298 |
void
|
|
|
299 |
<strong property="yui:name">_handleStart</strong>
|
|
|
300 |
(
|
|
|
301 |
)
|
|
|
302 |
</code>
|
|
|
303 |
|
|
|
304 |
<div class="description" property="yui:description">
|
|
|
305 |
Fires on drag:start and clears the _regionCache
|
|
|
306 |
</div>
|
|
|
307 |
|
|
|
308 |
<div class="description">
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
</div>
|
|
|
316 |
|
|
|
317 |
</div>
|
|
|
318 |
<hr />
|
|
|
319 |
</div>
|
|
|
320 |
<div class="" rel="yui:method" resource="#method_align">
|
|
|
321 |
<h4>
|
|
|
322 |
<a name="method_align">align</a></h4>
|
|
|
323 |
<div class="detail" >
|
|
|
324 |
<code>
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
void
|
|
|
329 |
<strong property="yui:name">align</strong>
|
|
|
330 |
(
|
|
|
331 |
)
|
|
|
332 |
</code>
|
|
|
333 |
|
|
|
334 |
<div class="description" property="yui:description">
|
|
|
335 |
Modifies the Drag.actXY method from the after drag:align event. This is where the constraining happens.
|
|
|
336 |
</div>
|
|
|
337 |
|
|
|
338 |
<div class="description">
|
|
|
339 |
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
|
|
|
344 |
|
|
|
345 |
</div>
|
|
|
346 |
|
|
|
347 |
</div>
|
|
|
348 |
<hr />
|
|
|
349 |
</div>
|
|
|
350 |
<div class="" rel="yui:method" resource="#method_getRegion">
|
|
|
351 |
<h4>
|
|
|
352 |
<a name="method_getRegion">getRegion</a></h4>
|
|
|
353 |
<div class="detail" >
|
|
|
354 |
<code>
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
Object
|
|
|
359 |
<strong property="yui:name">getRegion</strong>
|
|
|
360 |
(
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
inc
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
)
|
|
|
367 |
</code>
|
|
|
368 |
|
|
|
369 |
<div class="description" property="yui:description">
|
|
|
370 |
Get the active region: viewport, node, custom region
|
|
|
371 |
</div>
|
|
|
372 |
|
|
|
373 |
<div class="description">
|
|
|
374 |
|
|
|
375 |
<dl rel="yui:parameters">
|
|
|
376 |
<dt>Parameters:</dt>
|
|
|
377 |
<dd rel="yui:parameter">
|
|
|
378 |
<code><span property="yui:name">inc</span>
|
|
|
379 |
<<span property="yui:type">Boolean</span>>
|
|
|
380 |
</code>
|
|
|
381 |
<span property="yui:description"> Include the node's height and width</span>
|
|
|
382 |
</dd>
|
|
|
383 |
</dl>
|
|
|
384 |
|
|
|
385 |
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
|
|
|
389 |
</div>
|
|
|
390 |
|
|
|
391 |
</div>
|
|
|
392 |
<hr />
|
|
|
393 |
</div>
|
|
|
394 |
<div class="" rel="yui:method" resource="#method_inRegion">
|
|
|
395 |
<h4>
|
|
|
396 |
<a name="method_inRegion">inRegion</a></h4>
|
|
|
397 |
<div class="detail" >
|
|
|
398 |
<code>
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
Boolean
|
|
|
403 |
<strong property="yui:name">inRegion</strong>
|
|
|
404 |
(
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
xy
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
)
|
|
|
411 |
</code>
|
|
|
412 |
|
|
|
413 |
<div class="description" property="yui:description">
|
|
|
414 |
Checks if the XY passed or the dragNode is inside the active region.
|
|
|
415 |
</div>
|
|
|
416 |
|
|
|
417 |
<div class="description">
|
|
|
418 |
|
|
|
419 |
<dl rel="yui:parameters">
|
|
|
420 |
<dt>Parameters:</dt>
|
|
|
421 |
<dd rel="yui:parameter">
|
|
|
422 |
<code><span property="yui:name">xy</span>
|
|
|
423 |
<<span property="yui:type">Array</span>>
|
|
|
424 |
</code>
|
|
|
425 |
<span property="yui:description"> Optional XY to check, if not supplied this.get('dragNode').getXY() is used.</span>
|
|
|
426 |
</dd>
|
|
|
427 |
</dl>
|
|
|
428 |
|
|
|
429 |
<dl>
|
|
|
430 |
<dt>Returns:
|
|
|
431 |
<code property="yui:return">
|
|
|
432 |
Boolean
|
|
|
433 |
</code></dt>
|
|
|
434 |
<dd property="yui:returnInfo">True if the XY is inside the region, false otherwise.</dd>
|
|
|
435 |
</dl>
|
|
|
436 |
|
|
|
437 |
|
|
|
438 |
|
|
|
439 |
|
|
|
440 |
</div>
|
|
|
441 |
|
|
|
442 |
</div>
|
|
|
443 |
<hr />
|
|
|
444 |
</div>
|
|
|
445 |
</div>
|
|
|
446 |
</div>
|
|
|
447 |
|
|
|
448 |
<div rel="yui:inheritance">
|
|
|
449 |
<div class="section field inheritance" rel="yui:superclass" resource="EventTarget.html">
|
|
|
450 |
<h4>Methods inherited from <a href="EventTarget.html" property="yui:name" title="EventTarget">EventTarget</a>:</h4>
|
|
|
451 |
<div class="content" rel="yui:methods">
|
|
|
452 |
<code>
|
|
|
453 |
<span rel="yui:method" resource="EventTarget.html#method__getType">
|
|
|
454 |
<a class="private" href="EventTarget.html#method__getType" property="yui:name" title="_getType">_getType</a><span class="private">,</span>
|
|
|
455 |
</span>
|
|
|
456 |
<span rel="yui:method" resource="EventTarget.html#method__parseType">
|
|
|
457 |
<a class="private" href="EventTarget.html#method__parseType" property="yui:name" title="_parseType">_parseType</a><span class="private">,</span>
|
|
|
458 |
</span>
|
|
|
459 |
<span rel="yui:method" resource="EventTarget.html#method_addTarget">
|
|
|
460 |
<a class="" href="EventTarget.html#method_addTarget" property="yui:name" title="addTarget">addTarget</a><span class="">,</span>
|
|
|
461 |
</span>
|
|
|
462 |
<span rel="yui:method" resource="EventTarget.html#method_after">
|
|
|
463 |
<a class="" href="EventTarget.html#method_after" property="yui:name" title="after">after</a><span class="">,</span>
|
|
|
464 |
</span>
|
|
|
465 |
<span rel="yui:method" resource="EventTarget.html#method_before">
|
|
|
466 |
<a class=" deprecated" href="EventTarget.html#method_before" property="yui:name" title="before">before</a><span class=" deprecated">,</span>
|
|
|
467 |
</span>
|
|
|
468 |
<span rel="yui:method" resource="EventTarget.html#method_bubble">
|
|
|
469 |
<a class="" href="EventTarget.html#method_bubble" property="yui:name" title="bubble">bubble</a><span class="">,</span>
|
|
|
470 |
</span>
|
|
|
471 |
<span rel="yui:method" resource="EventTarget.html#method_detach">
|
|
|
472 |
<a class="" href="EventTarget.html#method_detach" property="yui:name" title="detach">detach</a><span class="">,</span>
|
|
|
473 |
</span>
|
|
|
474 |
<span rel="yui:method" resource="EventTarget.html#method_detachAll">
|
|
|
475 |
<a class="" href="EventTarget.html#method_detachAll" property="yui:name" title="detachAll">detachAll</a><span class="">,</span>
|
|
|
476 |
</span>
|
|
|
477 |
<span rel="yui:method" resource="EventTarget.html#method_fire">
|
|
|
478 |
<a class="" href="EventTarget.html#method_fire" property="yui:name" title="fire">fire</a><span class="">,</span>
|
|
|
479 |
</span>
|
|
|
480 |
<span rel="yui:method" resource="EventTarget.html#method_getEvent">
|
|
|
481 |
<a class="" href="EventTarget.html#method_getEvent" property="yui:name" title="getEvent">getEvent</a><span class="">,</span>
|
|
|
482 |
</span>
|
|
|
483 |
<span rel="yui:method" resource="EventTarget.html#method_on">
|
|
|
484 |
<a class="" href="EventTarget.html#method_on" property="yui:name" title="on">on</a><span class="">,</span>
|
|
|
485 |
</span>
|
|
|
486 |
<span rel="yui:method" resource="EventTarget.html#method_publish">
|
|
|
487 |
<a class="" href="EventTarget.html#method_publish" property="yui:name" title="publish">publish</a><span class="">,</span>
|
|
|
488 |
</span>
|
|
|
489 |
<span rel="yui:method" resource="EventTarget.html#method_removeTarget">
|
|
|
490 |
<a class="" href="EventTarget.html#method_removeTarget" property="yui:name" title="removeTarget">removeTarget</a><span class="">,</span>
|
|
|
491 |
</span>
|
|
|
492 |
<span rel="yui:method" resource="EventTarget.html#method_subscribe">
|
|
|
493 |
<a class=" deprecated" href="EventTarget.html#method_subscribe" property="yui:name" title="subscribe">subscribe</a><span class=" deprecated">,</span>
|
|
|
494 |
</span>
|
|
|
495 |
<span rel="yui:method" resource="EventTarget.html#method_unsubscribe">
|
|
|
496 |
<a class=" deprecated" href="EventTarget.html#method_unsubscribe" property="yui:name" title="unsubscribe">unsubscribe</a><span class=" deprecated">,</span>
|
|
|
497 |
</span>
|
|
|
498 |
<span rel="yui:method" resource="EventTarget.html#method_unsubscribeAll">
|
|
|
499 |
<a class=" deprecated" href="EventTarget.html#method_unsubscribeAll" property="yui:name" title="unsubscribeAll">unsubscribeAll</a>
|
|
|
500 |
</span>
|
|
|
501 |
</code>
|
|
|
502 |
</div>
|
|
|
503 |
</div>
|
|
|
504 |
<div class="section field inheritance" rel="yui:superclass" resource="Attribute.html">
|
|
|
505 |
<h4>Methods inherited from <a href="Attribute.html" property="yui:name" title="Attribute">Attribute</a>:</h4>
|
|
|
506 |
<div class="content" rel="yui:methods">
|
|
|
507 |
<code>
|
|
|
508 |
<span rel="yui:method" resource="Attribute.html#method__addAttrs">
|
|
|
509 |
<a class="private" href="Attribute.html#method__addAttrs" property="yui:name" title="_addAttrs">_addAttrs</a><span class="private">,</span>
|
|
|
510 |
</span>
|
|
|
511 |
<span rel="yui:method" resource="Attribute.html#method__addLazyAttr">
|
|
|
512 |
<a class="private" href="Attribute.html#method__addLazyAttr" property="yui:name" title="_addLazyAttr">_addLazyAttr</a><span class="private">,</span>
|
|
|
513 |
</span>
|
|
|
514 |
<span rel="yui:method" resource="Attribute.html#method__defAttrChangeFn">
|
|
|
515 |
<a class="private" href="Attribute.html#method__defAttrChangeFn" property="yui:name" title="_defAttrChangeFn">_defAttrChangeFn</a><span class="private">,</span>
|
|
|
516 |
</span>
|
|
|
517 |
<span rel="yui:method" resource="Attribute.html#method__fireAttrChange">
|
|
|
518 |
<a class="private" href="Attribute.html#method__fireAttrChange" property="yui:name" title="_fireAttrChange">_fireAttrChange</a><span class="private">,</span>
|
|
|
519 |
</span>
|
|
|
520 |
<span rel="yui:method" resource="Attribute.html#method__getAttr">
|
|
|
521 |
<a class="protected" href="Attribute.html#method__getAttr" property="yui:name" title="_getAttr">_getAttr</a><span class="protected">,</span>
|
|
|
522 |
</span>
|
|
|
523 |
<span rel="yui:method" resource="Attribute.html#method__getAttrInitVal">
|
|
|
524 |
<a class="private" href="Attribute.html#method__getAttrInitVal" property="yui:name" title="_getAttrInitVal">_getAttrInitVal</a><span class="private">,</span>
|
|
|
525 |
</span>
|
|
|
526 |
<span rel="yui:method" resource="Attribute.html#method__getAttrs">
|
|
|
527 |
<a class="protected" href="Attribute.html#method__getAttrs" property="yui:name" title="_getAttrs">_getAttrs</a><span class="protected">,</span>
|
|
|
528 |
</span>
|
|
|
529 |
<span rel="yui:method" resource="Attribute.html#method__getStateVal">
|
|
|
530 |
<a class="private" href="Attribute.html#method__getStateVal" property="yui:name" title="_getStateVal">_getStateVal</a><span class="private">,</span>
|
|
|
531 |
</span>
|
|
|
532 |
<span rel="yui:method" resource="Attribute.html#method__isLazyAttr">
|
|
|
533 |
<a class="private" href="Attribute.html#method__isLazyAttr" property="yui:name" title="_isLazyAttr">_isLazyAttr</a><span class="private">,</span>
|
|
|
534 |
</span>
|
|
|
535 |
<span rel="yui:method" resource="Attribute.html#method__normAttrVals">
|
|
|
536 |
<a class="private" href="Attribute.html#method__normAttrVals" property="yui:name" title="_normAttrVals">_normAttrVals</a><span class="private">,</span>
|
|
|
537 |
</span>
|
|
|
538 |
<span rel="yui:method" resource="Attribute.html#method__protectAttrs">
|
|
|
539 |
<a class="protected" href="Attribute.html#method__protectAttrs" property="yui:name" title="_protectAttrs">_protectAttrs</a><span class="protected">,</span>
|
|
|
540 |
</span>
|
|
|
541 |
<span rel="yui:method" resource="Attribute.html#method__set">
|
|
|
542 |
<a class="protected" href="Attribute.html#method__set" property="yui:name" title="_set">_set</a><span class="protected">,</span>
|
|
|
543 |
</span>
|
|
|
544 |
<span rel="yui:method" resource="Attribute.html#method__setAttr">
|
|
|
545 |
<a class="protected" href="Attribute.html#method__setAttr" property="yui:name" title="_setAttr">_setAttr</a><span class="protected">,</span>
|
|
|
546 |
</span>
|
|
|
547 |
<span rel="yui:method" resource="Attribute.html#method__setAttrs">
|
|
|
548 |
<a class="protected" href="Attribute.html#method__setAttrs" property="yui:name" title="_setAttrs">_setAttrs</a><span class="protected">,</span>
|
|
|
549 |
</span>
|
|
|
550 |
<span rel="yui:method" resource="Attribute.html#method__setAttrVal">
|
|
|
551 |
<a class="private" href="Attribute.html#method__setAttrVal" property="yui:name" title="_setAttrVal">_setAttrVal</a><span class="private">,</span>
|
|
|
552 |
</span>
|
|
|
553 |
<span rel="yui:method" resource="Attribute.html#method__setStateVal">
|
|
|
554 |
<a class="private" href="Attribute.html#method__setStateVal" property="yui:name" title="_setStateVal">_setStateVal</a><span class="private">,</span>
|
|
|
555 |
</span>
|
|
|
556 |
<span rel="yui:method" resource="Attribute.html#method_addAttr">
|
|
|
557 |
<a class="" href="Attribute.html#method_addAttr" property="yui:name" title="addAttr">addAttr</a><span class="">,</span>
|
|
|
558 |
</span>
|
|
|
559 |
<span rel="yui:method" resource="Attribute.html#method_addAttrs">
|
|
|
560 |
<a class="" href="Attribute.html#method_addAttrs" property="yui:name" title="addAttrs">addAttrs</a><span class="">,</span>
|
|
|
561 |
</span>
|
|
|
562 |
<span rel="yui:method" resource="Attribute.html#method_attrAdded">
|
|
|
563 |
<a class="" href="Attribute.html#method_attrAdded" property="yui:name" title="attrAdded">attrAdded</a><span class="">,</span>
|
|
|
564 |
</span>
|
|
|
565 |
<span rel="yui:method" resource="Attribute.html#method_get">
|
|
|
566 |
<a class="" href="Attribute.html#method_get" property="yui:name" title="get">get</a><span class="">,</span>
|
|
|
567 |
</span>
|
|
|
568 |
<span rel="yui:method" resource="Attribute.html#method_getAttrs">
|
|
|
569 |
<a class="" href="Attribute.html#method_getAttrs" property="yui:name" title="getAttrs">getAttrs</a><span class="">,</span>
|
|
|
570 |
</span>
|
|
|
571 |
<span rel="yui:method" resource="Attribute.html#method_modifyAttr">
|
|
|
572 |
<a class="" href="Attribute.html#method_modifyAttr" property="yui:name" title="modifyAttr">modifyAttr</a><span class="">,</span>
|
|
|
573 |
</span>
|
|
|
574 |
<span rel="yui:method" resource="Attribute.html#method_removeAttr">
|
|
|
575 |
<a class="" href="Attribute.html#method_removeAttr" property="yui:name" title="removeAttr">removeAttr</a><span class="">,</span>
|
|
|
576 |
</span>
|
|
|
577 |
<span rel="yui:method" resource="Attribute.html#method_reset">
|
|
|
578 |
<a class="" href="Attribute.html#method_reset" property="yui:name" title="reset">reset</a><span class="">,</span>
|
|
|
579 |
</span>
|
|
|
580 |
<span rel="yui:method" resource="Attribute.html#method_set">
|
|
|
581 |
<a class="" href="Attribute.html#method_set" property="yui:name" title="set">set</a><span class="">,</span>
|
|
|
582 |
</span>
|
|
|
583 |
<span rel="yui:method" resource="Attribute.html#method_setAttrs">
|
|
|
584 |
<a class="" href="Attribute.html#method_setAttrs" property="yui:name" title="setAttrs">setAttrs</a>
|
|
|
585 |
</span>
|
|
|
586 |
</code>
|
|
|
587 |
</div>
|
|
|
588 |
</div>
|
|
|
589 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html">
|
|
|
590 |
<h4>Methods inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4>
|
|
|
591 |
<div class="content" rel="yui:methods">
|
|
|
592 |
<code>
|
|
|
593 |
<span rel="yui:method" resource="Base.html#method__aggregateAttrs">
|
|
|
594 |
<a class="private" href="Base.html#method__aggregateAttrs" property="yui:name" title="_aggregateAttrs">_aggregateAttrs</a><span class="private">,</span>
|
|
|
595 |
</span>
|
|
|
596 |
<span rel="yui:method" resource="Base.html#method__defDestroyFn">
|
|
|
597 |
<a class="protected" href="Base.html#method__defDestroyFn" property="yui:name" title="_defDestroyFn">_defDestroyFn</a><span class="protected">,</span>
|
|
|
598 |
</span>
|
|
|
599 |
<span rel="yui:method" resource="Base.html#method__defInitFn">
|
|
|
600 |
<a class="protected" href="Base.html#method__defInitFn" property="yui:name" title="_defInitFn">_defInitFn</a><span class="protected">,</span>
|
|
|
601 |
</span>
|
|
|
602 |
<span rel="yui:method" resource="Base.html#method__destroyHierarchy">
|
|
|
603 |
<a class="private" href="Base.html#method__destroyHierarchy" property="yui:name" title="_destroyHierarchy">_destroyHierarchy</a><span class="private">,</span>
|
|
|
604 |
</span>
|
|
|
605 |
<span rel="yui:method" resource="Base.html#method__filterAttrCfs">
|
|
|
606 |
<a class="private" href="Base.html#method__filterAttrCfs" property="yui:name" title="_filterAttrCfs">_filterAttrCfs</a><span class="private">,</span>
|
|
|
607 |
</span>
|
|
|
608 |
<span rel="yui:method" resource="Base.html#method__getAttrCfgs">
|
|
|
609 |
<a class="protected" href="Base.html#method__getAttrCfgs" property="yui:name" title="_getAttrCfgs">_getAttrCfgs</a><span class="protected">,</span>
|
|
|
610 |
</span>
|
|
|
611 |
<span rel="yui:method" resource="Base.html#method__getClasses">
|
|
|
612 |
<a class="protected" href="Base.html#method__getClasses" property="yui:name" title="_getClasses">_getClasses</a><span class="protected">,</span>
|
|
|
613 |
</span>
|
|
|
614 |
<span rel="yui:method" resource="Base.html#method__initHierarchy">
|
|
|
615 |
<a class="private" href="Base.html#method__initHierarchy" property="yui:name" title="_initHierarchy">_initHierarchy</a><span class="private">,</span>
|
|
|
616 |
</span>
|
|
|
617 |
<span rel="yui:method" resource="Base.html#method__initHierarchyData">
|
|
|
618 |
<a class="private" href="Base.html#method__initHierarchyData" property="yui:name" title="_initHierarchyData">_initHierarchyData</a><span class="private">,</span>
|
|
|
619 |
</span>
|
|
|
620 |
<span rel="yui:method" resource="Base.html#method_destroy">
|
|
|
621 |
<a class="" href="Base.html#method_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span>
|
|
|
622 |
</span>
|
|
|
623 |
<span rel="yui:method" resource="Base.html#method_init">
|
|
|
624 |
<a class="" href="Base.html#method_init" property="yui:name" title="init">init</a><span class="">,</span>
|
|
|
625 |
</span>
|
|
|
626 |
<span rel="yui:method" resource="Base.html#method_toString">
|
|
|
627 |
<a class="" href="Base.html#method_toString" property="yui:name" title="toString">toString</a>
|
|
|
628 |
</span>
|
|
|
629 |
</code>
|
|
|
630 |
</div>
|
|
|
631 |
</div>
|
|
|
632 |
</div>
|
|
|
633 |
</div>
|
|
|
634 |
|
|
|
635 |
<div rel="yui:events" resource="#events">
|
|
|
636 |
<div class="section method details">
|
|
|
637 |
<h3 id="events">Events</h3>
|
|
|
638 |
<div class="content">
|
|
|
639 |
<div class="" rel="yui:event" resource="#event_constrain2nodeChange">
|
|
|
640 |
<h4>
|
|
|
641 |
<a name="event_constrain2nodeChange">constrain2nodeChange</a></h4>
|
|
|
642 |
<div class="detail">
|
|
|
643 |
<code>
|
|
|
644 |
|
|
|
645 |
|
|
|
646 |
|
|
|
647 |
<strong property="yui:name">constrain2nodeChange</strong>
|
|
|
648 |
|
|
|
649 |
(
|
|
|
650 |
|
|
|
651 |
|
|
|
652 |
event
|
|
|
653 |
|
|
|
654 |
|
|
|
655 |
)
|
|
|
656 |
|
|
|
657 |
</code>
|
|
|
658 |
|
|
|
659 |
<div class="description" property="yui:description">
|
|
|
660 |
Fires when the value for the configuration attribute 'constrain2node' 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.
|
|
|
661 |
</div>
|
|
|
662 |
|
|
|
663 |
<div class="description">
|
|
|
664 |
|
|
|
665 |
|
|
|
666 |
<dl rel="yui:parameters">
|
|
|
667 |
<dt>Parameters:</dt>
|
|
|
668 |
<dd rel="yui:parameter">
|
|
|
669 |
<code><span property="yui:name">event</span>
|
|
|
670 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
671 |
</code>
|
|
|
672 |
<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>
|
|
|
673 |
</dd>
|
|
|
674 |
|
|
|
675 |
</dl>
|
|
|
676 |
|
|
|
677 |
|
|
|
678 |
</div>
|
|
|
679 |
|
|
|
680 |
</div>
|
|
|
681 |
<hr />
|
|
|
682 |
</div>
|
|
|
683 |
<div class="" rel="yui:event" resource="#event_constrain2regionChange">
|
|
|
684 |
<h4>
|
|
|
685 |
<a name="event_constrain2regionChange">constrain2regionChange</a></h4>
|
|
|
686 |
<div class="detail">
|
|
|
687 |
<code>
|
|
|
688 |
|
|
|
689 |
|
|
|
690 |
|
|
|
691 |
<strong property="yui:name">constrain2regionChange</strong>
|
|
|
692 |
|
|
|
693 |
(
|
|
|
694 |
|
|
|
695 |
|
|
|
696 |
event
|
|
|
697 |
|
|
|
698 |
|
|
|
699 |
)
|
|
|
700 |
|
|
|
701 |
</code>
|
|
|
702 |
|
|
|
703 |
<div class="description" property="yui:description">
|
|
|
704 |
Fires when the value for the configuration attribute 'constrain2region' 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.
|
|
|
705 |
</div>
|
|
|
706 |
|
|
|
707 |
<div class="description">
|
|
|
708 |
|
|
|
709 |
|
|
|
710 |
<dl rel="yui:parameters">
|
|
|
711 |
<dt>Parameters:</dt>
|
|
|
712 |
<dd rel="yui:parameter">
|
|
|
713 |
<code><span property="yui:name">event</span>
|
|
|
714 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
715 |
</code>
|
|
|
716 |
<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>
|
|
|
717 |
</dd>
|
|
|
718 |
|
|
|
719 |
</dl>
|
|
|
720 |
|
|
|
721 |
|
|
|
722 |
</div>
|
|
|
723 |
|
|
|
724 |
</div>
|
|
|
725 |
<hr />
|
|
|
726 |
</div>
|
|
|
727 |
<div class="" rel="yui:event" resource="#event_constrain2viewChange">
|
|
|
728 |
<h4>
|
|
|
729 |
<a name="event_constrain2viewChange">constrain2viewChange</a></h4>
|
|
|
730 |
<div class="detail">
|
|
|
731 |
<code>
|
|
|
732 |
|
|
|
733 |
|
|
|
734 |
|
|
|
735 |
<strong property="yui:name">constrain2viewChange</strong>
|
|
|
736 |
|
|
|
737 |
(
|
|
|
738 |
|
|
|
739 |
|
|
|
740 |
event
|
|
|
741 |
|
|
|
742 |
|
|
|
743 |
)
|
|
|
744 |
|
|
|
745 |
</code>
|
|
|
746 |
|
|
|
747 |
<div class="description" property="yui:description">
|
|
|
748 |
Fires when the value for the configuration attribute 'constrain2view' 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.
|
|
|
749 |
</div>
|
|
|
750 |
|
|
|
751 |
<div class="description">
|
|
|
752 |
|
|
|
753 |
|
|
|
754 |
<dl rel="yui:parameters">
|
|
|
755 |
<dt>Parameters:</dt>
|
|
|
756 |
<dd rel="yui:parameter">
|
|
|
757 |
<code><span property="yui:name">event</span>
|
|
|
758 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
759 |
</code>
|
|
|
760 |
<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>
|
|
|
761 |
</dd>
|
|
|
762 |
|
|
|
763 |
</dl>
|
|
|
764 |
|
|
|
765 |
|
|
|
766 |
</div>
|
|
|
767 |
|
|
|
768 |
</div>
|
|
|
769 |
<hr />
|
|
|
770 |
</div>
|
|
|
771 |
<div class="" rel="yui:event" resource="#event_gutterChange">
|
|
|
772 |
<h4>
|
|
|
773 |
<a name="event_gutterChange">gutterChange</a></h4>
|
|
|
774 |
<div class="detail">
|
|
|
775 |
<code>
|
|
|
776 |
|
|
|
777 |
|
|
|
778 |
|
|
|
779 |
<strong property="yui:name">gutterChange</strong>
|
|
|
780 |
|
|
|
781 |
(
|
|
|
782 |
|
|
|
783 |
|
|
|
784 |
event
|
|
|
785 |
|
|
|
786 |
|
|
|
787 |
)
|
|
|
788 |
|
|
|
789 |
</code>
|
|
|
790 |
|
|
|
791 |
<div class="description" property="yui:description">
|
|
|
792 |
Fires when the value for the configuration attribute 'gutter' 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.
|
|
|
793 |
</div>
|
|
|
794 |
|
|
|
795 |
<div class="description">
|
|
|
796 |
|
|
|
797 |
|
|
|
798 |
<dl rel="yui:parameters">
|
|
|
799 |
<dt>Parameters:</dt>
|
|
|
800 |
<dd rel="yui:parameter">
|
|
|
801 |
<code><span property="yui:name">event</span>
|
|
|
802 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
803 |
</code>
|
|
|
804 |
<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>
|
|
|
805 |
</dd>
|
|
|
806 |
|
|
|
807 |
</dl>
|
|
|
808 |
|
|
|
809 |
|
|
|
810 |
</div>
|
|
|
811 |
|
|
|
812 |
</div>
|
|
|
813 |
<hr />
|
|
|
814 |
</div>
|
|
|
815 |
<div class="" rel="yui:event" resource="#event_stickXChange">
|
|
|
816 |
<h4>
|
|
|
817 |
<a name="event_stickXChange">stickXChange</a></h4>
|
|
|
818 |
<div class="detail">
|
|
|
819 |
<code>
|
|
|
820 |
|
|
|
821 |
|
|
|
822 |
|
|
|
823 |
<strong property="yui:name">stickXChange</strong>
|
|
|
824 |
|
|
|
825 |
(
|
|
|
826 |
|
|
|
827 |
|
|
|
828 |
event
|
|
|
829 |
|
|
|
830 |
|
|
|
831 |
)
|
|
|
832 |
|
|
|
833 |
</code>
|
|
|
834 |
|
|
|
835 |
<div class="description" property="yui:description">
|
|
|
836 |
Fires when the value for the configuration attribute 'stickX' 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.
|
|
|
837 |
</div>
|
|
|
838 |
|
|
|
839 |
<div class="description">
|
|
|
840 |
|
|
|
841 |
|
|
|
842 |
<dl rel="yui:parameters">
|
|
|
843 |
<dt>Parameters:</dt>
|
|
|
844 |
<dd rel="yui:parameter">
|
|
|
845 |
<code><span property="yui:name">event</span>
|
|
|
846 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
847 |
</code>
|
|
|
848 |
<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>
|
|
|
849 |
</dd>
|
|
|
850 |
|
|
|
851 |
</dl>
|
|
|
852 |
|
|
|
853 |
|
|
|
854 |
</div>
|
|
|
855 |
|
|
|
856 |
</div>
|
|
|
857 |
<hr />
|
|
|
858 |
</div>
|
|
|
859 |
<div class="" rel="yui:event" resource="#event_stickYChange">
|
|
|
860 |
<h4>
|
|
|
861 |
<a name="event_stickYChange">stickYChange</a></h4>
|
|
|
862 |
<div class="detail">
|
|
|
863 |
<code>
|
|
|
864 |
|
|
|
865 |
|
|
|
866 |
|
|
|
867 |
<strong property="yui:name">stickYChange</strong>
|
|
|
868 |
|
|
|
869 |
(
|
|
|
870 |
|
|
|
871 |
|
|
|
872 |
event
|
|
|
873 |
|
|
|
874 |
|
|
|
875 |
)
|
|
|
876 |
|
|
|
877 |
</code>
|
|
|
878 |
|
|
|
879 |
<div class="description" property="yui:description">
|
|
|
880 |
Fires when the value for the configuration attribute 'stickY' 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.
|
|
|
881 |
</div>
|
|
|
882 |
|
|
|
883 |
<div class="description">
|
|
|
884 |
|
|
|
885 |
|
|
|
886 |
<dl rel="yui:parameters">
|
|
|
887 |
<dt>Parameters:</dt>
|
|
|
888 |
<dd rel="yui:parameter">
|
|
|
889 |
<code><span property="yui:name">event</span>
|
|
|
890 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
891 |
</code>
|
|
|
892 |
<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>
|
|
|
893 |
</dd>
|
|
|
894 |
|
|
|
895 |
</dl>
|
|
|
896 |
|
|
|
897 |
|
|
|
898 |
</div>
|
|
|
899 |
|
|
|
900 |
</div>
|
|
|
901 |
<hr />
|
|
|
902 |
</div>
|
|
|
903 |
<div class="" rel="yui:event" resource="#event_tickXArrayChange">
|
|
|
904 |
<h4>
|
|
|
905 |
<a name="event_tickXArrayChange">tickXArrayChange</a></h4>
|
|
|
906 |
<div class="detail">
|
|
|
907 |
<code>
|
|
|
908 |
|
|
|
909 |
|
|
|
910 |
|
|
|
911 |
<strong property="yui:name">tickXArrayChange</strong>
|
|
|
912 |
|
|
|
913 |
(
|
|
|
914 |
|
|
|
915 |
|
|
|
916 |
event
|
|
|
917 |
|
|
|
918 |
|
|
|
919 |
)
|
|
|
920 |
|
|
|
921 |
</code>
|
|
|
922 |
|
|
|
923 |
<div class="description" property="yui:description">
|
|
|
924 |
Fires when the value for the configuration attribute 'tickXArray' 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.
|
|
|
925 |
</div>
|
|
|
926 |
|
|
|
927 |
<div class="description">
|
|
|
928 |
|
|
|
929 |
|
|
|
930 |
<dl rel="yui:parameters">
|
|
|
931 |
<dt>Parameters:</dt>
|
|
|
932 |
<dd rel="yui:parameter">
|
|
|
933 |
<code><span property="yui:name">event</span>
|
|
|
934 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
935 |
</code>
|
|
|
936 |
<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>
|
|
|
937 |
</dd>
|
|
|
938 |
|
|
|
939 |
</dl>
|
|
|
940 |
|
|
|
941 |
|
|
|
942 |
</div>
|
|
|
943 |
|
|
|
944 |
</div>
|
|
|
945 |
<hr />
|
|
|
946 |
</div>
|
|
|
947 |
<div class="" rel="yui:event" resource="#event_tickXChange">
|
|
|
948 |
<h4>
|
|
|
949 |
<a name="event_tickXChange">tickXChange</a></h4>
|
|
|
950 |
<div class="detail">
|
|
|
951 |
<code>
|
|
|
952 |
|
|
|
953 |
|
|
|
954 |
|
|
|
955 |
<strong property="yui:name">tickXChange</strong>
|
|
|
956 |
|
|
|
957 |
(
|
|
|
958 |
|
|
|
959 |
|
|
|
960 |
event
|
|
|
961 |
|
|
|
962 |
|
|
|
963 |
)
|
|
|
964 |
|
|
|
965 |
</code>
|
|
|
966 |
|
|
|
967 |
<div class="description" property="yui:description">
|
|
|
968 |
Fires when the value for the configuration attribute 'tickX' 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.
|
|
|
969 |
</div>
|
|
|
970 |
|
|
|
971 |
<div class="description">
|
|
|
972 |
|
|
|
973 |
|
|
|
974 |
<dl rel="yui:parameters">
|
|
|
975 |
<dt>Parameters:</dt>
|
|
|
976 |
<dd rel="yui:parameter">
|
|
|
977 |
<code><span property="yui:name">event</span>
|
|
|
978 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
979 |
</code>
|
|
|
980 |
<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>
|
|
|
981 |
</dd>
|
|
|
982 |
|
|
|
983 |
</dl>
|
|
|
984 |
|
|
|
985 |
|
|
|
986 |
</div>
|
|
|
987 |
|
|
|
988 |
</div>
|
|
|
989 |
<hr />
|
|
|
990 |
</div>
|
|
|
991 |
<div class="" rel="yui:event" resource="#event_tickYArrayChange">
|
|
|
992 |
<h4>
|
|
|
993 |
<a name="event_tickYArrayChange">tickYArrayChange</a></h4>
|
|
|
994 |
<div class="detail">
|
|
|
995 |
<code>
|
|
|
996 |
|
|
|
997 |
|
|
|
998 |
|
|
|
999 |
<strong property="yui:name">tickYArrayChange</strong>
|
|
|
1000 |
|
|
|
1001 |
(
|
|
|
1002 |
|
|
|
1003 |
|
|
|
1004 |
event
|
|
|
1005 |
|
|
|
1006 |
|
|
|
1007 |
)
|
|
|
1008 |
|
|
|
1009 |
</code>
|
|
|
1010 |
|
|
|
1011 |
<div class="description" property="yui:description">
|
|
|
1012 |
Fires when the value for the configuration attribute 'tickYArray' 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.
|
|
|
1013 |
</div>
|
|
|
1014 |
|
|
|
1015 |
<div class="description">
|
|
|
1016 |
|
|
|
1017 |
|
|
|
1018 |
<dl rel="yui:parameters">
|
|
|
1019 |
<dt>Parameters:</dt>
|
|
|
1020 |
<dd rel="yui:parameter">
|
|
|
1021 |
<code><span property="yui:name">event</span>
|
|
|
1022 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
1023 |
</code>
|
|
|
1024 |
<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>
|
|
|
1025 |
</dd>
|
|
|
1026 |
|
|
|
1027 |
</dl>
|
|
|
1028 |
|
|
|
1029 |
|
|
|
1030 |
</div>
|
|
|
1031 |
|
|
|
1032 |
</div>
|
|
|
1033 |
<hr />
|
|
|
1034 |
</div>
|
|
|
1035 |
<div class="" rel="yui:event" resource="#event_tickYChange">
|
|
|
1036 |
<h4>
|
|
|
1037 |
<a name="event_tickYChange">tickYChange</a></h4>
|
|
|
1038 |
<div class="detail">
|
|
|
1039 |
<code>
|
|
|
1040 |
|
|
|
1041 |
|
|
|
1042 |
|
|
|
1043 |
<strong property="yui:name">tickYChange</strong>
|
|
|
1044 |
|
|
|
1045 |
(
|
|
|
1046 |
|
|
|
1047 |
|
|
|
1048 |
event
|
|
|
1049 |
|
|
|
1050 |
|
|
|
1051 |
)
|
|
|
1052 |
|
|
|
1053 |
</code>
|
|
|
1054 |
|
|
|
1055 |
<div class="description" property="yui:description">
|
|
|
1056 |
Fires when the value for the configuration attribute 'tickY' 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.
|
|
|
1057 |
</div>
|
|
|
1058 |
|
|
|
1059 |
<div class="description">
|
|
|
1060 |
|
|
|
1061 |
|
|
|
1062 |
<dl rel="yui:parameters">
|
|
|
1063 |
<dt>Parameters:</dt>
|
|
|
1064 |
<dd rel="yui:parameter">
|
|
|
1065 |
<code><span property="yui:name">event</span>
|
|
|
1066 |
<<span property="yui:type">Event.Facade</span>>
|
|
|
1067 |
</code>
|
|
|
1068 |
<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>
|
|
|
1069 |
</dd>
|
|
|
1070 |
|
|
|
1071 |
</dl>
|
|
|
1072 |
|
|
|
1073 |
|
|
|
1074 |
</div>
|
|
|
1075 |
|
|
|
1076 |
</div>
|
|
|
1077 |
<hr />
|
|
|
1078 |
</div>
|
|
|
1079 |
</div>
|
|
|
1080 |
</div>
|
|
|
1081 |
|
|
|
1082 |
|
|
|
1083 |
<div rel="yui:inheritance">
|
|
|
1084 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html">
|
|
|
1085 |
<h4>Events inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4>
|
|
|
1086 |
<div class="content" rel="yui:events">
|
|
|
1087 |
<code>
|
|
|
1088 |
<span rel="yui:event" resource="Base.html#event_destroy">
|
|
|
1089 |
<a class="" href="Base.html#event_destroy" property="yui:name" title="destroy">destroy</a><span class="">,</span>
|
|
|
1090 |
</span>
|
|
|
1091 |
<span rel="yui:event" resource="Base.html#event_destroyedChange">
|
|
|
1092 |
<a class="" href="Base.html#event_destroyedChange" property="yui:name" title="destroyedChange">destroyedChange</a><span class="">,</span>
|
|
|
1093 |
</span>
|
|
|
1094 |
<span rel="yui:event" resource="Base.html#event_init">
|
|
|
1095 |
<a class="" href="Base.html#event_init" property="yui:name" title="init">init</a><span class="">,</span>
|
|
|
1096 |
</span>
|
|
|
1097 |
<span rel="yui:event" resource="Base.html#event_initializedChange">
|
|
|
1098 |
<a class="" href="Base.html#event_initializedChange" property="yui:name" title="initializedChange">initializedChange</a><span class="">,</span>
|
|
|
1099 |
</span>
|
|
|
1100 |
|
|
|
1101 |
</code>
|
|
|
1102 |
</div>
|
|
|
1103 |
</div>
|
|
|
1104 |
</div>
|
|
|
1105 |
</div>
|
|
|
1106 |
|
|
|
1107 |
<div rel="yui:attributes" resource="#configattributes">
|
|
|
1108 |
<div class="section field details">
|
|
|
1109 |
<h3 id="configattributes">Configuration Attributes</h3>
|
|
|
1110 |
<div class="content">
|
|
|
1111 |
<div class="" rel="yui:attribute" resource="#config_constrain2node">
|
|
|
1112 |
<h4><a name="config_constrain2node">constrain2node</a>
|
|
|
1113 |
<code>- <span property="yui:type">Object</span></code>
|
|
|
1114 |
</h4>
|
|
|
1115 |
<div class="detail">
|
|
|
1116 |
<div class="description" property="yui:description">
|
|
|
1117 |
Will attempt to constrain the drag node to the boundaries of this node.
|
|
|
1118 |
</div>
|
|
|
1119 |
</div>
|
|
|
1120 |
|
|
|
1121 |
|
|
|
1122 |
|
|
|
1123 |
<hr />
|
|
|
1124 |
</div>
|
|
|
1125 |
<div class="" rel="yui:attribute" resource="#config_constrain2region">
|
|
|
1126 |
<h4><a name="config_constrain2region">constrain2region</a>
|
|
|
1127 |
<code>- <span property="yui:type">Object</span></code>
|
|
|
1128 |
</h4>
|
|
|
1129 |
<div class="detail">
|
|
|
1130 |
<div class="description" property="yui:description">
|
|
|
1131 |
An Object Literal containing a valid region (top, right, bottom, left) of page positions to constrain the drag node to.
|
|
|
1132 |
</div>
|
|
|
1133 |
</div>
|
|
|
1134 |
|
|
|
1135 |
|
|
|
1136 |
|
|
|
1137 |
<hr />
|
|
|
1138 |
</div>
|
|
|
1139 |
<div class="" rel="yui:attribute" resource="#config_constrain2view">
|
|
|
1140 |
<h4><a name="config_constrain2view">constrain2view</a>
|
|
|
1141 |
<code>- <span property="yui:type">Object</span></code>
|
|
|
1142 |
</h4>
|
|
|
1143 |
<div class="detail">
|
|
|
1144 |
<div class="description" property="yui:description">
|
|
|
1145 |
Will attempt to constrain the drag node to the boundaries of the viewport region.
|
|
|
1146 |
</div>
|
|
|
1147 |
</div>
|
|
|
1148 |
|
|
|
1149 |
|
|
|
1150 |
|
|
|
1151 |
<hr />
|
|
|
1152 |
</div>
|
|
|
1153 |
<div class="" rel="yui:attribute" resource="#config_gutter">
|
|
|
1154 |
<h4><a name="config_gutter">gutter</a>
|
|
|
1155 |
<code>- <span property="yui:type">String</span></code>
|
|
|
1156 |
</h4>
|
|
|
1157 |
<div class="detail">
|
|
|
1158 |
<div class="description" property="yui:description">
|
|
|
1159 |
CSS style string for the gutter of a region (supports negative values): '5 0' (sets top and bottom to 5px, left and right to 0px), '1 2 3 4' (top 1px, right 2px, bottom 3px, left 4px)
|
|
|
1160 |
</div>
|
|
|
1161 |
</div>
|
|
|
1162 |
|
|
|
1163 |
|
|
|
1164 |
|
|
|
1165 |
<hr />
|
|
|
1166 |
</div>
|
|
|
1167 |
<div class="" rel="yui:attribute" resource="#config_stickX">
|
|
|
1168 |
<h4><a name="config_stickX">stickX</a>
|
|
|
1169 |
<code>- <span property="yui:type">Boolean</span></code>
|
|
|
1170 |
</h4>
|
|
|
1171 |
<div class="detail">
|
|
|
1172 |
<div class="description" property="yui:description">
|
|
|
1173 |
Stick the drag movement to the X-Axis. Default: false
|
|
|
1174 |
</div>
|
|
|
1175 |
</div>
|
|
|
1176 |
|
|
|
1177 |
|
|
|
1178 |
|
|
|
1179 |
<hr />
|
|
|
1180 |
</div>
|
|
|
1181 |
<div class="" rel="yui:attribute" resource="#config_stickY">
|
|
|
1182 |
<h4><a name="config_stickY">stickY</a>
|
|
|
1183 |
<code>- <span property="yui:type">Boolean</span></code>
|
|
|
1184 |
</h4>
|
|
|
1185 |
<div class="detail">
|
|
|
1186 |
<div class="description" property="yui:description">
|
|
|
1187 |
Stick the drag movement to the Y-Axis
|
|
|
1188 |
</div>
|
|
|
1189 |
</div>
|
|
|
1190 |
|
|
|
1191 |
|
|
|
1192 |
|
|
|
1193 |
<hr />
|
|
|
1194 |
</div>
|
|
|
1195 |
<div class="" rel="yui:attribute" resource="#config_tickX">
|
|
|
1196 |
<h4><a name="config_tickX">tickX</a>
|
|
|
1197 |
<code>- <span property="yui:type">Number/false</span></code>
|
|
|
1198 |
</h4>
|
|
|
1199 |
<div class="detail">
|
|
|
1200 |
<div class="description" property="yui:description">
|
|
|
1201 |
The X tick offset the drag node should snap to on each drag move. False for no ticks. Default: false
|
|
|
1202 |
</div>
|
|
|
1203 |
</div>
|
|
|
1204 |
|
|
|
1205 |
|
|
|
1206 |
|
|
|
1207 |
<hr />
|
|
|
1208 |
</div>
|
|
|
1209 |
<div class="" rel="yui:attribute" resource="#config_tickXArray">
|
|
|
1210 |
<h4><a name="config_tickXArray">tickXArray</a>
|
|
|
1211 |
<code>- <span property="yui:type">Array</span></code>
|
|
|
1212 |
</h4>
|
|
|
1213 |
<div class="detail">
|
|
|
1214 |
<div class="description" property="yui:description">
|
|
|
1215 |
An array of page coordinates to use as X ticks for drag movement.
|
|
|
1216 |
</div>
|
|
|
1217 |
</div>
|
|
|
1218 |
|
|
|
1219 |
|
|
|
1220 |
|
|
|
1221 |
<hr />
|
|
|
1222 |
</div>
|
|
|
1223 |
<div class="" rel="yui:attribute" resource="#config_tickY">
|
|
|
1224 |
<h4><a name="config_tickY">tickY</a>
|
|
|
1225 |
<code>- <span property="yui:type">Number/false</span></code>
|
|
|
1226 |
</h4>
|
|
|
1227 |
<div class="detail">
|
|
|
1228 |
<div class="description" property="yui:description">
|
|
|
1229 |
The Y tick offset the drag node should snap to on each drag move. False for no ticks. Default: false
|
|
|
1230 |
</div>
|
|
|
1231 |
</div>
|
|
|
1232 |
|
|
|
1233 |
|
|
|
1234 |
|
|
|
1235 |
<hr />
|
|
|
1236 |
</div>
|
|
|
1237 |
<div class="" rel="yui:attribute" resource="#config_tickYArray">
|
|
|
1238 |
<h4><a name="config_tickYArray">tickYArray</a>
|
|
|
1239 |
<code>- <span property="yui:type">Array</span></code>
|
|
|
1240 |
</h4>
|
|
|
1241 |
<div class="detail">
|
|
|
1242 |
<div class="description" property="yui:description">
|
|
|
1243 |
An array of page coordinates to use as Y ticks for drag movement.
|
|
|
1244 |
</div>
|
|
|
1245 |
</div>
|
|
|
1246 |
|
|
|
1247 |
|
|
|
1248 |
|
|
|
1249 |
<hr />
|
|
|
1250 |
</div>
|
|
|
1251 |
|
|
|
1252 |
</div>
|
|
|
1253 |
</div>
|
|
|
1254 |
|
|
|
1255 |
<div rel="yui:inheritance">
|
|
|
1256 |
<div class="section field inheritance" rel="yui:superclass" resource="Base.html">
|
|
|
1257 |
<h4>Configuration attributes inherited from <a href="Base.html" property="yui:name" title="Base">Base</a>:</h4>
|
|
|
1258 |
<div class="content" rel="yui:attributes">
|
|
|
1259 |
<code>
|
|
|
1260 |
<span rel="yui:attribute" resource="Base.html#config_destroyed">
|
|
|
1261 |
<a class="" href="Base.html#config_destroyed" property="yui:name" title="destroyed">destroyed</a><span class="">,</span>
|
|
|
1262 |
</span>
|
|
|
1263 |
<span rel="yui:attribute" resource="Base.html#config_initialized">
|
|
|
1264 |
<a class="" href="Base.html#config_initialized" property="yui:name" title="initialized">initialized</a><span class="">,</span>
|
|
|
1265 |
</span>
|
|
|
1266 |
|
|
|
1267 |
</code>
|
|
|
1268 |
</div>
|
|
|
1269 |
</div>
|
|
|
1270 |
</div>
|
|
|
1271 |
</div>
|
|
|
1272 |
|
|
|
1273 |
</div>
|
|
|
1274 |
</div>
|
|
|
1275 |
<div class="yui-b">
|
|
|
1276 |
<div class="nav">
|
|
|
1277 |
|
|
|
1278 |
<div id="moduleList" class="module">
|
|
|
1279 |
<h4>Modules</h4>
|
|
|
1280 |
<ul class="content">
|
|
|
1281 |
<li class=""><a href="module_anim.html" title="anim">anim</a></li>
|
|
|
1282 |
<li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
|
|
|
1283 |
<li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
|
|
|
1284 |
<li class=""><a href="module_base.html" title="base">base</a></li>
|
|
|
1285 |
<li class=""><a href="module_cache.html" title="cache">cache</a></li>
|
|
|
1286 |
<li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
|
|
|
1287 |
<li class=""><a href="module_collection.html" title="collection">collection</a></li>
|
|
|
1288 |
<li class=""><a href="module_console.html" title="console">console</a></li>
|
|
|
1289 |
<li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
|
|
|
1290 |
<li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
|
|
|
1291 |
<li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
|
|
|
1292 |
<li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
|
|
|
1293 |
<li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
|
|
|
1294 |
<li class="selected"><a href="module_dd.html" title="dd">dd</a></li>
|
|
|
1295 |
<li class=""><a href="module_dom.html" title="dom">dom</a></li>
|
|
|
1296 |
<li class=""><a href="module_dump.html" title="dump">dump</a></li>
|
|
|
1297 |
<li class=""><a href="module_event.html" title="event">event</a></li>
|
|
|
1298 |
<li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
|
|
|
1299 |
<li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
|
|
|
1300 |
<li class=""><a href="module_history.html" title="history">history</a></li>
|
|
|
1301 |
<li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
|
|
|
1302 |
<li class=""><a href="module_io.html" title="io">io</a></li>
|
|
|
1303 |
<li class=""><a href="module_json.html" title="json">json</a></li>
|
|
|
1304 |
<li class=""><a href="module_node.html" title="node">node</a></li>
|
|
|
1305 |
<li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
|
|
|
1306 |
<li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
|
|
|
1307 |
<li class=""><a href="module_oop.html" title="oop">oop</a></li>
|
|
|
1308 |
<li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
|
|
|
1309 |
<li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
|
|
|
1310 |
<li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
|
|
|
1311 |
<li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
|
|
|
1312 |
<li class=""><a href="module_slider.html" title="slider">slider</a></li>
|
|
|
1313 |
<li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
|
|
|
1314 |
<li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
|
|
|
1315 |
<li class=""><a href="module_test.html" title="test">test</a></li>
|
|
|
1316 |
<li class=""><a href="module_widget.html" title="widget">widget</a></li>
|
|
|
1317 |
<li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
|
|
|
1318 |
<li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
|
|
|
1319 |
<li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
|
|
|
1320 |
<li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
|
|
|
1321 |
<li class=""><a href="module_yui.html" title="yui">yui</a></li>
|
|
|
1322 |
</ul>
|
|
|
1323 |
</div>
|
|
|
1324 |
|
|
|
1325 |
<div id="classList" class="module">
|
|
|
1326 |
<h4>Classes</h4>
|
|
|
1327 |
<ul class="content">
|
|
|
1328 |
<li class=""><a href="DD.DDM.html" title="DD.DDM">DD.DDM</a></li>
|
|
|
1329 |
<li class=""><a href="DD.Drag.html" title="DD.Drag">DD.Drag</a></li>
|
|
|
1330 |
<li class=""><a href="DD.Drop.html" title="DD.Drop">DD.Drop</a></li>
|
|
|
1331 |
<li class=""><a href="DD.Scroll.html" title="DD.Scroll">DD.Scroll</a></li>
|
|
|
1332 |
<li class=""><a href="Plugin.DDNodeScroll.html" title="Plugin.DDNodeScroll">Plugin.DDNodeScroll</a></li>
|
|
|
1333 |
<li class=""><a href="Plugin.DDProxy.html" title="Plugin.DDProxy">Plugin.DDProxy</a></li>
|
|
|
1334 |
<li class=""><a href="Plugin.DDWindowScroll.html" title="Plugin.DDWindowScroll">Plugin.DDWindowScroll</a></li>
|
|
|
1335 |
<li class=""><a href="Plugin.Drag.html" title="Plugin.Drag">Plugin.Drag</a></li>
|
|
|
1336 |
<li class="selected"><a href="Plugin.DragConstrained.html" title="Plugin.DragConstrained">Plugin.DragConstrained</a></li>
|
|
|
1337 |
<li class=""><a href="Plugin.Drop.html" title="Plugin.Drop">Plugin.Drop</a></li>
|
|
|
1338 |
</ul>
|
|
|
1339 |
</div>
|
|
|
1340 |
|
|
|
1341 |
<div id="fileList" class="module">
|
|
|
1342 |
<h4>Files</h4>
|
|
|
1343 |
<ul class="content">
|
|
|
1344 |
<li class=""><a href="constrain.js.html" title="constrain.js">constrain.js</a></li>
|
|
|
1345 |
<li class=""><a href="dd-drop-plugin.js.html" title="dd-drop-plugin.js">dd-drop-plugin.js</a></li>
|
|
|
1346 |
<li class=""><a href="dd-plugin.js.html" title="dd-plugin.js">dd-plugin.js</a></li>
|
|
|
1347 |
<li class=""><a href="ddm-base.js.html" title="ddm-base.js">ddm-base.js</a></li>
|
|
|
1348 |
<li class=""><a href="ddm-drop.js.html" title="ddm-drop.js">ddm-drop.js</a></li>
|
|
|
1349 |
<li class=""><a href="ddm.js.html" title="ddm.js">ddm.js</a></li>
|
|
|
1350 |
<li class=""><a href="drag.js.html" title="drag.js">drag.js</a></li>
|
|
|
1351 |
<li class=""><a href="drop.js.html" title="drop.js">drop.js</a></li>
|
|
|
1352 |
<li class=""><a href="proxy.js.html" title="proxy.js">proxy.js</a></li>
|
|
|
1353 |
<li class=""><a href="scroll.js.html" title="scroll.js">scroll.js</a></li>
|
|
|
1354 |
</ul>
|
|
|
1355 |
</div>
|
|
|
1356 |
|
|
|
1357 |
<div id="propertyList" class="module">
|
|
|
1358 |
<h4>Properties</h4>
|
|
|
1359 |
<ul class="content">
|
|
|
1360 |
<li class="private"><a href="#property__regionCache" title="_regionCache">_regionCache</a></li>
|
|
|
1361 |
<li class=""><a href="#property_con" title="con">con</a></li>
|
|
|
1362 |
</ul>
|
|
|
1363 |
</div>
|
|
|
1364 |
|
|
|
1365 |
<div id="methodsList" class="module">
|
|
|
1366 |
<h4>Methods</h4>
|
|
|
1367 |
<ul class="content">
|
|
|
1368 |
<li class="private"><a href="#method__cacheRegion" title="_cacheRegion">_cacheRegion</a></li>
|
|
|
1369 |
<li class="private"><a href="#method__checkRegion" title="_checkRegion">_checkRegion</a></li>
|
|
|
1370 |
<li class="private"><a href="#method__checkTicks" title="_checkTicks">_checkTicks</a></li>
|
|
|
1371 |
<li class="private"><a href="#method__handleStart" title="_handleStart">_handleStart</a></li>
|
|
|
1372 |
<li class=""><a href="#method_align" title="align">align</a></li>
|
|
|
1373 |
<li class=""><a href="#method_getRegion" title="getRegion">getRegion</a></li>
|
|
|
1374 |
<li class=""><a href="#method_inRegion" title="inRegion">inRegion</a></li>
|
|
|
1375 |
</ul>
|
|
|
1376 |
</div>
|
|
|
1377 |
|
|
|
1378 |
<div id="eventsList" class="module">
|
|
|
1379 |
<h4>Events</h4>
|
|
|
1380 |
<ul class="content">
|
|
|
1381 |
<li class=""><a href="#event_constrain2nodeChange" title="constrain2nodeChange">constrain2nodeChange</a></li>
|
|
|
1382 |
<li class=""><a href="#event_constrain2regionChange" title="constrain2regionChange">constrain2regionChange</a></li>
|
|
|
1383 |
<li class=""><a href="#event_constrain2viewChange" title="constrain2viewChange">constrain2viewChange</a></li>
|
|
|
1384 |
<li class=""><a href="#event_gutterChange" title="gutterChange">gutterChange</a></li>
|
|
|
1385 |
<li class=""><a href="#event_stickXChange" title="stickXChange">stickXChange</a></li>
|
|
|
1386 |
<li class=""><a href="#event_stickYChange" title="stickYChange">stickYChange</a></li>
|
|
|
1387 |
<li class=""><a href="#event_tickXArrayChange" title="tickXArrayChange">tickXArrayChange</a></li>
|
|
|
1388 |
<li class=""><a href="#event_tickXChange" title="tickXChange">tickXChange</a></li>
|
|
|
1389 |
<li class=""><a href="#event_tickYArrayChange" title="tickYArrayChange">tickYArrayChange</a></li>
|
|
|
1390 |
<li class=""><a href="#event_tickYChange" title="tickYChange">tickYChange</a></li>
|
|
|
1391 |
</ul>
|
|
|
1392 |
</div>
|
|
|
1393 |
|
|
|
1394 |
<div id="configList" class="module">
|
|
|
1395 |
<h4>Configuration Attributes</h4>
|
|
|
1396 |
<ul class="content">
|
|
|
1397 |
<li class=""><a href="#config_constrain2node" title="constrain2node">constrain2node</a></li>
|
|
|
1398 |
<li class=""><a href="#config_constrain2region" title="constrain2region">constrain2region</a></li>
|
|
|
1399 |
<li class=""><a href="#config_constrain2view" title="constrain2view">constrain2view</a></li>
|
|
|
1400 |
<li class=""><a href="#config_gutter" title="gutter">gutter</a></li>
|
|
|
1401 |
<li class=""><a href="#config_stickX" title="stickX">stickX</a></li>
|
|
|
1402 |
<li class=""><a href="#config_stickY" title="stickY">stickY</a></li>
|
|
|
1403 |
<li class=""><a href="#config_tickX" title="tickX">tickX</a></li>
|
|
|
1404 |
<li class=""><a href="#config_tickXArray" title="tickXArray">tickXArray</a></li>
|
|
|
1405 |
<li class=""><a href="#config_tickY" title="tickY">tickY</a></li>
|
|
|
1406 |
<li class=""><a href="#config_tickYArray" title="tickYArray">tickYArray</a></li>
|
|
|
1407 |
</ul>
|
|
|
1408 |
</div>
|
|
|
1409 |
|
|
|
1410 |
</div>
|
|
|
1411 |
</div>
|
|
|
1412 |
</div>
|
|
|
1413 |
<div id="ft">
|
|
|
1414 |
<hr />
|
|
|
1415 |
Copyright © 2009 Yahoo! Inc. All rights reserved.
|
|
|
1416 |
</div>
|
|
|
1417 |
</div>
|
|
|
1418 |
<script type="text/javascript">
|
|
|
1419 |
ALL_YUI_PROPS = [{"access": "", "host": "DD.Scroll", "name": "align", "url": "DD.Scroll.html#method_align", "type": "method"}, {"access": "", "host": "Plugin.DragConstrained", "name": "align", "url": "Plugin.DragConstrained.html#method_align", "type": "method"}, {"access": "", "host": "DD.Scroll", "name": "buffer", "url": "DD.Scroll.html#config_buffer", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "bufferChange", "url": "DD.Scroll.html#event_bufferChange", "type": "event"}, {"access": "private", "host": "Plugin.DragConstrained", "name": "_cacheRegion", "url": "Plugin.DragConstrained.html#method__cacheRegion", "type": "method"}, {"access": "private", "host": "DD.Scroll", "name": "_cancelScroll", "url": "DD.Scroll.html#method__cancelScroll", "type": "method"}, {"access": "private", "host": "Plugin.DragConstrained", "name": "_checkRegion", "url": "Plugin.DragConstrained.html#method__checkRegion", "type": "method"}, {"access": "private", "host": "Plugin.DragConstrained", "name": "_checkTicks", "url": "Plugin.DragConstrained.html#method__checkTicks", "type": "method"}, {"access": "private", "host": "DD.Scroll", "name": "_checkWinScroll", "url": "DD.Scroll.html#method__checkWinScroll", "type": "method"}, {"access": "", "host": "Plugin.DragConstrained", "name": "con", "url": "Plugin.DragConstrained.html#property_con", "type": "property"}, {"access": "", "host": "Plugin.DragConstrained", "name": "constrain2node", "url": "Plugin.DragConstrained.html#config_constrain2node", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "constrain2nodeChange", "url": "Plugin.DragConstrained.html#event_constrain2nodeChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "constrain2region", "url": "Plugin.DragConstrained.html#config_constrain2region", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "constrain2regionChange", "url": "Plugin.DragConstrained.html#event_constrain2regionChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "constrain2view", "url": "Plugin.DragConstrained.html#config_constrain2view", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "constrain2viewChange", "url": "Plugin.DragConstrained.html#event_constrain2viewChange", "type": "event"}, {"access": "private", "host": "DD.Scroll", "name": "_dimCache", "url": "DD.Scroll.html#property__dimCache", "type": "property"}, {"access": "", "host": "DD.Scroll", "name": "end", "url": "DD.Scroll.html#method_end", "type": "method"}, {"access": "", "host": "Plugin.DragConstrained", "name": "getRegion", "url": "Plugin.DragConstrained.html#method_getRegion", "type": "method"}, {"access": "private", "host": "DD.Scroll", "name": "_getVPRegion", "url": "DD.Scroll.html#method__getVPRegion", "type": "method"}, {"access": "", "host": "Plugin.DragConstrained", "name": "gutter", "url": "Plugin.DragConstrained.html#config_gutter", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "gutterChange", "url": "Plugin.DragConstrained.html#event_gutterChange", "type": "event"}, {"access": "private", "host": "Plugin.DragConstrained", "name": "_handleStart", "url": "Plugin.DragConstrained.html#method__handleStart", "type": "method"}, {"access": "", "host": "DD.Scroll", "name": "horizontal", "url": "DD.Scroll.html#config_horizontal", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "horizontalChange", "url": "DD.Scroll.html#event_horizontalChange", "type": "event"}, {"access": "", "host": "DD.Scroll", "name": "host", "url": "DD.Scroll.html#config_host", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "hostChange", "url": "DD.Scroll.html#event_hostChange", "type": "event"}, {"access": "private", "host": "DD.Scroll", "name": "_initScroll", "url": "DD.Scroll.html#method__initScroll", "type": "method"}, {"access": "", "host": "Plugin.DragConstrained", "name": "inRegion", "url": "Plugin.DragConstrained.html#method_inRegion", "type": "method"}, {"access": "", "host": "Plugin.Drop", "name": "NAME", "url": "Plugin.Drop.html#property_NAME", "type": "property"}, {"access": "", "host": "Plugin.DDNodeScroll", "name": "node", "url": "Plugin.DDNodeScroll.html#config_node", "type": "config"}, {"access": "", "host": "Plugin.DDNodeScroll", "name": "nodeChange", "url": "Plugin.DDNodeScroll.html#event_nodeChange", "type": "event"}, {"access": "", "host": "Plugin.Drop", "name": "NS", "url": "Plugin.Drop.html#property_NS", "type": "property"}, {"access": "", "host": "DD.Scroll", "name": "parentScroll", "url": "DD.Scroll.html#config_parentScroll", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "parentScrollChange", "url": "DD.Scroll.html#event_parentScrollChange", "type": "event"}, {"access": "private", "host": "Plugin.DragConstrained", "name": "_regionCache", "url": "Plugin.DragConstrained.html#property__regionCache", "type": "property"}, {"access": "", "host": "DD.Scroll", "name": "scrollDelay", "url": "DD.Scroll.html#config_scrollDelay", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "scrollDelayChange", "url": "DD.Scroll.html#event_scrollDelayChange", "type": "event"}, {"access": "private", "host": "DD.Scroll", "name": "_scrolling", "url": "DD.Scroll.html#property__scrolling", "type": "property"}, {"access": "private", "host": "DD.Scroll", "name": "_scrollTimer", "url": "DD.Scroll.html#property__scrollTimer", "type": "property"}, {"access": "private", "host": "DD.Scroll", "name": "_setDimCache", "url": "DD.Scroll.html#method__setDimCache", "type": "method"}, {"access": "", "host": "DD.Scroll", "name": "start", "url": "DD.Scroll.html#method_start", "type": "method"}, {"access": "", "host": "Plugin.DragConstrained", "name": "stickX", "url": "Plugin.DragConstrained.html#config_stickX", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "stickXChange", "url": "Plugin.DragConstrained.html#event_stickXChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "stickY", "url": "Plugin.DragConstrained.html#config_stickY", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "stickYChange", "url": "Plugin.DragConstrained.html#event_stickYChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickX", "url": "Plugin.DragConstrained.html#config_tickX", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickXArray", "url": "Plugin.DragConstrained.html#config_tickXArray", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickXArrayChange", "url": "Plugin.DragConstrained.html#event_tickXArrayChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickXChange", "url": "Plugin.DragConstrained.html#event_tickXChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickY", "url": "Plugin.DragConstrained.html#config_tickY", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickYArray", "url": "Plugin.DragConstrained.html#config_tickYArray", "type": "config"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickYArrayChange", "url": "Plugin.DragConstrained.html#event_tickYArrayChange", "type": "event"}, {"access": "", "host": "Plugin.DragConstrained", "name": "tickYChange", "url": "Plugin.DragConstrained.html#event_tickYChange", "type": "event"}, {"access": "", "host": "DD.Scroll", "name": "toString", "url": "DD.Scroll.html#method_toString", "type": "method"}, {"access": "", "host": "DD.Scroll", "name": "vertical", "url": "DD.Scroll.html#config_vertical", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "verticalChange", "url": "DD.Scroll.html#event_verticalChange", "type": "event"}, {"access": "private", "host": "DD.Scroll", "name": "_vpRegionCache", "url": "DD.Scroll.html#property__vpRegionCache", "type": "property"}, {"access": "", "host": "DD.Scroll", "name": "windowScroll", "url": "DD.Scroll.html#config_windowScroll", "type": "config"}, {"access": "", "host": "Plugin.DDWindowScroll", "name": "windowScroll", "url": "Plugin.DDWindowScroll.html#config_windowScroll", "type": "config"}, {"access": "", "host": "DD.Scroll", "name": "windowScrollChange", "url": "DD.Scroll.html#event_windowScrollChange", "type": "event"}, {"access": "", "host": "Plugin.DDWindowScroll", "name": "windowScrollChange", "url": "Plugin.DDWindowScroll.html#event_windowScrollChange", "type": "event"}];
|
|
|
1420 |
</script>
|
|
|
1421 |
</body>
|
|
|
1422 |
</html>
|