sync
[roojs1] / docs / symbols / Roo.dd.DropZone.json
1 {
2   "name" : "Roo.dd.DropZone",
3   "augments" : [
4     "Roo.dd.DropTarget",
5     "Roo.dd.DDTarget",
6     "Roo.dd.DragDrop",
7     "Roo.util.Observable"
8   ],
9   "childClasses" : {  },
10   "tree_children" : [],
11   "tree_parent" : [],
12   "desc" : "This class provides a container DD instance that proxies for multiple child node targets.<br />\nBy default, this class requires that child nodes accepting drop are registered with {@link Roo.dd.Registry}.",
13   "isSingleton" : false,
14   "isStatic" : true,
15   "isBuiltin" : false,
16   "isAbstract" : false,
17   "isBuilderTop" : false,
18   "memberOf" : "DropZone",
19   "example" : "",
20   "deprecated" : "",
21   "since" : "",
22   "see" : "",
23   "params" : [
24     {
25       "name" : "el",
26       "type" : "String/HTMLElement/Element",
27       "desc" : "The container element",
28       "isOptional" : false
29     },
30     {
31       "name" : "config",
32       "type" : "Object",
33       "desc" : "",
34       "isOptional" : false
35     }
36   ],
37   "returns" : [],
38   "throws" : "",
39   "requires" : "",
40   "config" : [
41     {
42       "name" : "listeners",
43       "type" : "Object",
44       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
45       "memberOf" : "Roo.util.Observable"
46     },
47     {
48       "name" : "dropNotAllowed",
49       "type" : "String",
50       "desc" : "The CSS class returned to the drag source when drop is not allowed (defaults to \"x-dd-drop-nodrop\").",
51       "memberOf" : "Roo.dd.DropTarget"
52     },
53     {
54       "name" : "valid",
55       "type" : "boolean|String",
56       "desc" : "true/false or string (ok-add/ok-sub/ok/nodrop)\nif the drop point is valid for over/enter..",
57       "memberOf" : "Roo.dd.DropTarget"
58     },
59     {
60       "name" : "success",
61       "type" : "boolean",
62       "desc" : "set this after drop listener..",
63       "memberOf" : "Roo.dd.DropTarget"
64     },
65     {
66       "name" : "dropAllowed",
67       "type" : "String",
68       "desc" : "The CSS class returned to the drag source when drop is allowed (defaults to \"x-dd-drop-ok\").",
69       "memberOf" : "Roo.dd.DropTarget"
70     },
71     {
72       "name" : "overClass",
73       "type" : "String",
74       "desc" : "The CSS class applied to the drop target element while the drag source is over it (defaults to \"\").",
75       "memberOf" : "Roo.dd.DropTarget"
76     },
77     {
78       "name" : "ddGroup",
79       "type" : "String",
80       "desc" : "The drag drop group to handle drop events for",
81       "memberOf" : "Roo.dd.DropTarget"
82     }
83   ],
84   "methods" : [
85     {
86       "name" : "onNodeEnter",
87       "type" : "function",
88       "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has entered a drop node\nthat it has registered.  This method has no default implementation and should be overridden to provide\nnode-specific processing if necessary.",
89       "sig" : "(nodeData, source, e, data)",
90       "static" : false,
91       "memberOf" : "",
92       "isStatic" : false,
93       "isConstructor" : false,
94       "isPrivate" : false,
95       "example" : "",
96       "deprecated" : "",
97       "since" : "",
98       "see" : "",
99       "exceptions" : "",
100       "requires" : "",
101       "params" : [
102         {
103           "name" : "nodeData",
104           "type" : "Object",
105           "desc" : "The custom data associated with the drop node (this is the same value returned from \n{@link #getTargetFromEvent} for this node)",
106           "isOptional" : false
107         },
108         {
109           "name" : "source",
110           "type" : "Roo.dd.DragSource",
111           "desc" : "The drag source that was dragged over this drop zone",
112           "isOptional" : false
113         },
114         {
115           "name" : "e",
116           "type" : "Event",
117           "desc" : "The event",
118           "isOptional" : false
119         },
120         {
121           "name" : "data",
122           "type" : "Object",
123           "desc" : "An object containing arbitrary data supplied by the drag source",
124           "isOptional" : false
125         }
126       ],
127       "returns" : []
128     },
129     {
130       "name" : "onContainerDrop",
131       "type" : "function",
132       "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has been dropped on it,\nbut not on any of its registered drop nodes.  The default implementation returns false, so it should be\noverridden to provide the appropriate processing of the drop event if you need the drop zone itself to\nbe able to accept drops.  It should return true when valid so that the drag source's repair action does not run.",
133       "sig" : "(source, e, data)",
134       "static" : false,
135       "memberOf" : "",
136       "isStatic" : false,
137       "isConstructor" : false,
138       "isPrivate" : false,
139       "example" : "",
140       "deprecated" : "",
141       "since" : "",
142       "see" : "",
143       "exceptions" : "",
144       "requires" : "",
145       "params" : [
146         {
147           "name" : "source",
148           "type" : "Roo.dd.DragSource",
149           "desc" : "The drag source that was dragged over this drop zone",
150           "isOptional" : false
151         },
152         {
153           "name" : "e",
154           "type" : "Event",
155           "desc" : "The event",
156           "isOptional" : false
157         },
158         {
159           "name" : "data",
160           "type" : "Object",
161           "desc" : "An object containing arbitrary data supplied by the drag source",
162           "isOptional" : false
163         }
164       ],
165       "returns" : [
166         {
167           "name" : "",
168           "type" : "Boolean",
169           "desc" : "True if the drop was valid, else false"
170         }
171       ]
172     },
173     {
174       "name" : "notifyOver",
175       "type" : "function",
176       "desc" : "The function a {@link Roo.dd.DragSource} calls continuously while it is being dragged over the drop zone.\nThis method will be called on every mouse movement while the drag source is over the drop zone.\nIt will call {@link #onNodeOver} while the drag source is over a registered node, and will also automatically\ndelegate to the appropriate node-specific methods as necessary when the drag source enters and exits\nregistered nodes ({@link #onNodeEnter}, {@link #onNodeOut}). If the drag source is not currently over a\nregistered node, it will call {@link #onContainerOver}.",
177       "sig" : "(source, e, data)",
178       "static" : false,
179       "memberOf" : "",
180       "isStatic" : false,
181       "isConstructor" : false,
182       "isPrivate" : false,
183       "example" : "",
184       "deprecated" : "",
185       "since" : "",
186       "see" : "",
187       "exceptions" : "",
188       "requires" : "",
189       "params" : [
190         {
191           "name" : "source",
192           "type" : "Roo.dd.DragSource",
193           "desc" : "The drag source that was dragged over this drop zone",
194           "isOptional" : false
195         },
196         {
197           "name" : "e",
198           "type" : "Event",
199           "desc" : "The event",
200           "isOptional" : false
201         },
202         {
203           "name" : "data",
204           "type" : "Object",
205           "desc" : "An object containing arbitrary data supplied by the drag source",
206           "isOptional" : false
207         }
208       ],
209       "returns" : [
210         {
211           "name" : "",
212           "type" : "String",
213           "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
214         }
215       ]
216     },
217     {
218       "name" : "onNodeDrop",
219       "type" : "function",
220       "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has been dropped onto\nthe drop node.  The default implementation returns false, so it should be overridden to provide the\nappropriate processing of the drop event and return true so that the drag source's repair action does not run.",
221       "sig" : "(nodeData, source, e, data)",
222       "static" : false,
223       "memberOf" : "",
224       "isStatic" : false,
225       "isConstructor" : false,
226       "isPrivate" : false,
227       "example" : "",
228       "deprecated" : "",
229       "since" : "",
230       "see" : "",
231       "exceptions" : "",
232       "requires" : "",
233       "params" : [
234         {
235           "name" : "nodeData",
236           "type" : "Object",
237           "desc" : "The custom data associated with the drop node (this is the same value returned from\n{@link #getTargetFromEvent} for this node)",
238           "isOptional" : false
239         },
240         {
241           "name" : "source",
242           "type" : "Roo.dd.DragSource",
243           "desc" : "The drag source that was dragged over this drop zone",
244           "isOptional" : false
245         },
246         {
247           "name" : "e",
248           "type" : "Event",
249           "desc" : "The event",
250           "isOptional" : false
251         },
252         {
253           "name" : "data",
254           "type" : "Object",
255           "desc" : "An object containing arbitrary data supplied by the drag source",
256           "isOptional" : false
257         }
258       ],
259       "returns" : [
260         {
261           "name" : "",
262           "type" : "Boolean",
263           "desc" : "True if the drop was valid, else false"
264         }
265       ]
266     },
267     {
268       "name" : "notifyOut",
269       "type" : "function",
270       "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop zone that the source has been dragged\nout of the zone without dropping.  If the drag source is currently over a registered node, the notification\nwill be delegated to {@link #onNodeOut} for node-specific handling, otherwise it will be ignored.",
271       "sig" : "(source, e, data)",
272       "static" : false,
273       "memberOf" : "",
274       "isStatic" : false,
275       "isConstructor" : false,
276       "isPrivate" : false,
277       "example" : "",
278       "deprecated" : "",
279       "since" : "",
280       "see" : "",
281       "exceptions" : "",
282       "requires" : "",
283       "params" : [
284         {
285           "name" : "source",
286           "type" : "Roo.dd.DragSource",
287           "desc" : "The drag source that was dragged over this drop target",
288           "isOptional" : false
289         },
290         {
291           "name" : "e",
292           "type" : "Event",
293           "desc" : "The event",
294           "isOptional" : false
295         },
296         {
297           "name" : "data",
298           "type" : "Object",
299           "desc" : "An object containing arbitrary data supplied by the drag zone",
300           "isOptional" : false
301         }
302       ],
303       "returns" : []
304     },
305     {
306       "name" : "notifyEnter",
307       "type" : "function",
308       "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop zone that the source is now over\nthe zone.  The default implementation returns this.dropNotAllowed and expects that only registered drop\nnodes can process drag drop operations, so if you need the drop zone itself to be able to process drops\nyou should override this method and provide a custom implementation.",
309       "sig" : "(source, e, data)",
310       "static" : false,
311       "memberOf" : "",
312       "isStatic" : false,
313       "isConstructor" : false,
314       "isPrivate" : false,
315       "example" : "",
316       "deprecated" : "",
317       "since" : "",
318       "see" : "",
319       "exceptions" : "",
320       "requires" : "",
321       "params" : [
322         {
323           "name" : "source",
324           "type" : "Roo.dd.DragSource",
325           "desc" : "The drag source that was dragged over this drop zone",
326           "isOptional" : false
327         },
328         {
329           "name" : "e",
330           "type" : "Event",
331           "desc" : "The event",
332           "isOptional" : false
333         },
334         {
335           "name" : "data",
336           "type" : "Object",
337           "desc" : "An object containing arbitrary data supplied by the drag source",
338           "isOptional" : false
339         }
340       ],
341       "returns" : [
342         {
343           "name" : "",
344           "type" : "String",
345           "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
346         }
347       ]
348     },
349     {
350       "name" : "notifyDrop",
351       "type" : "function",
352       "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop zone that the dragged item has\nbeen dropped on it.  The drag zone will look up the target node based on the event passed in, and if there\nis a node registered for that event, it will delegate to {@link #onNodeDrop} for node-specific handling,\notherwise it will call {@link #onContainerDrop}.",
353       "sig" : "(source, e, data)",
354       "static" : false,
355       "memberOf" : "",
356       "isStatic" : false,
357       "isConstructor" : false,
358       "isPrivate" : false,
359       "example" : "",
360       "deprecated" : "",
361       "since" : "",
362       "see" : "",
363       "exceptions" : "",
364       "requires" : "",
365       "params" : [
366         {
367           "name" : "source",
368           "type" : "Roo.dd.DragSource",
369           "desc" : "The drag source that was dragged over this drop zone",
370           "isOptional" : false
371         },
372         {
373           "name" : "e",
374           "type" : "Event",
375           "desc" : "The event",
376           "isOptional" : false
377         },
378         {
379           "name" : "data",
380           "type" : "Object",
381           "desc" : "An object containing arbitrary data supplied by the drag source",
382           "isOptional" : false
383         }
384       ],
385       "returns" : [
386         {
387           "name" : "",
388           "type" : "Boolean",
389           "desc" : "True if the drop was valid, else false"
390         }
391       ]
392     },
393     {
394       "name" : "onNodeOut",
395       "type" : "function",
396       "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has been dragged out of\nthe drop node without dropping.  This method has no default implementation and should be overridden to provide\nnode-specific processing if necessary.",
397       "sig" : "(nodeData, source, e, data)",
398       "static" : false,
399       "memberOf" : "",
400       "isStatic" : false,
401       "isConstructor" : false,
402       "isPrivate" : false,
403       "example" : "",
404       "deprecated" : "",
405       "since" : "",
406       "see" : "",
407       "exceptions" : "",
408       "requires" : "",
409       "params" : [
410         {
411           "name" : "nodeData",
412           "type" : "Object",
413           "desc" : "The custom data associated with the drop node (this is the same value returned from\n{@link #getTargetFromEvent} for this node)",
414           "isOptional" : false
415         },
416         {
417           "name" : "source",
418           "type" : "Roo.dd.DragSource",
419           "desc" : "The drag source that was dragged over this drop zone",
420           "isOptional" : false
421         },
422         {
423           "name" : "e",
424           "type" : "Event",
425           "desc" : "The event",
426           "isOptional" : false
427         },
428         {
429           "name" : "data",
430           "type" : "Object",
431           "desc" : "An object containing arbitrary data supplied by the drag source",
432           "isOptional" : false
433         }
434       ],
435       "returns" : []
436     },
437     {
438       "name" : "onContainerOver",
439       "type" : "function",
440       "desc" : "Called internally while the DropZone determines that a {@link Roo.dd.DragSource} is being dragged over it,\nbut not over any of its registered drop nodes.  The default implementation returns this.dropNotAllowed, so\nit should be overridden to provide the proper feedback if necessary.",
441       "sig" : "(source, e, data)",
442       "static" : false,
443       "memberOf" : "",
444       "isStatic" : false,
445       "isConstructor" : false,
446       "isPrivate" : false,
447       "example" : "",
448       "deprecated" : "",
449       "since" : "",
450       "see" : "",
451       "exceptions" : "",
452       "requires" : "",
453       "params" : [
454         {
455           "name" : "source",
456           "type" : "Roo.dd.DragSource",
457           "desc" : "The drag source that was dragged over this drop zone",
458           "isOptional" : false
459         },
460         {
461           "name" : "e",
462           "type" : "Event",
463           "desc" : "The event",
464           "isOptional" : false
465         },
466         {
467           "name" : "data",
468           "type" : "Object",
469           "desc" : "An object containing arbitrary data supplied by the drag source",
470           "isOptional" : false
471         }
472       ],
473       "returns" : [
474         {
475           "name" : "",
476           "type" : "String",
477           "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
478         }
479       ]
480     },
481     {
482       "name" : "getTargetFromEvent",
483       "type" : "function",
484       "desc" : "Returns a custom data object associated with the DOM node that is the target of the event.  By default\nthis looks up the event target in the {@link Roo.dd.Registry}, although you can override this method to\nprovide your own custom lookup.",
485       "sig" : "(e)",
486       "static" : false,
487       "memberOf" : "",
488       "isStatic" : false,
489       "isConstructor" : false,
490       "isPrivate" : false,
491       "example" : "",
492       "deprecated" : "",
493       "since" : "",
494       "see" : "",
495       "exceptions" : "",
496       "requires" : "",
497       "params" : [
498         {
499           "name" : "e",
500           "type" : "Event",
501           "desc" : "The event",
502           "isOptional" : false
503         }
504       ],
505       "returns" : [
506         {
507           "name" : "",
508           "type" : "Object",
509           "desc" : "data The custom data"
510         }
511       ]
512     },
513     {
514       "name" : "onNodeOver",
515       "type" : "function",
516       "desc" : "Called internally while the DropZone determines that a {@link Roo.dd.DragSource} is over a drop node\nthat it has registered.  The default implementation returns this.dropNotAllowed, so it should be\noverridden to provide the proper feedback.",
517       "sig" : "(nodeData, source, e, data)",
518       "static" : false,
519       "memberOf" : "",
520       "isStatic" : false,
521       "isConstructor" : false,
522       "isPrivate" : false,
523       "example" : "",
524       "deprecated" : "",
525       "since" : "",
526       "see" : "",
527       "exceptions" : "",
528       "requires" : "",
529       "params" : [
530         {
531           "name" : "nodeData",
532           "type" : "Object",
533           "desc" : "The custom data associated with the drop node (this is the same value returned from\n{@link #getTargetFromEvent} for this node)",
534           "isOptional" : false
535         },
536         {
537           "name" : "source",
538           "type" : "Roo.dd.DragSource",
539           "desc" : "The drag source that was dragged over this drop zone",
540           "isOptional" : false
541         },
542         {
543           "name" : "e",
544           "type" : "Event",
545           "desc" : "The event",
546           "isOptional" : false
547         },
548         {
549           "name" : "data",
550           "type" : "Object",
551           "desc" : "An object containing arbitrary data supplied by the drag source",
552           "isOptional" : false
553         }
554       ],
555       "returns" : [
556         {
557           "name" : "",
558           "type" : "String",
559           "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
560         }
561       ]
562     },
563     {
564       "name" : "setHandleElId",
565       "type" : "function",
566       "desc" : "Allows you to specify a child of the linked element that should be\nused to initiate the drag operation.  An example of this would be if\nyou have a content div with text and links.  Clicking anywhere in the\ncontent area would normally start the drag operation.  Use this method\nto specify that an element inside of the content div is the element\nthat starts the drag operation.",
567       "sig" : "(id)",
568       "static" : false,
569       "memberOf" : "Roo.dd.DragDrop",
570       "isStatic" : false,
571       "isConstructor" : false,
572       "isPrivate" : false,
573       "example" : "",
574       "deprecated" : "",
575       "since" : "",
576       "see" : "",
577       "exceptions" : "",
578       "requires" : "",
579       "params" : [
580         {
581           "name" : "id",
582           "type" : "",
583           "desc" : "{string} the id of the element that will be used to\ninitiate the drag.",
584           "isOptional" : false
585         }
586       ],
587       "returns" : []
588     },
589     {
590       "name" : "init",
591       "type" : "function",
592       "desc" : "Sets up the DragDrop object.  Must be called in the constructor of any\nRoo.dd.DragDrop subclass",
593       "sig" : "(id, sGroup, config)",
594       "static" : false,
595       "memberOf" : "Roo.dd.DragDrop",
596       "isStatic" : false,
597       "isConstructor" : false,
598       "isPrivate" : false,
599       "example" : "",
600       "deprecated" : "",
601       "since" : "",
602       "see" : "",
603       "exceptions" : "",
604       "requires" : "",
605       "params" : [
606         {
607           "name" : "id",
608           "type" : "",
609           "desc" : "the id of the linked element",
610           "isOptional" : false
611         },
612         {
613           "name" : "sGroup",
614           "type" : "String",
615           "desc" : "the group of related items",
616           "isOptional" : false
617         },
618         {
619           "name" : "config",
620           "type" : "object",
621           "desc" : "configuration attributes",
622           "isOptional" : false
623         }
624       ],
625       "returns" : []
626     },
627     {
628       "name" : "removeInvalidHandleType",
629       "type" : "function",
630       "desc" : "Unsets an excluded tag name set by addInvalidHandleType",
631       "sig" : "(tagName)",
632       "static" : false,
633       "memberOf" : "Roo.dd.DragDrop",
634       "isStatic" : false,
635       "isConstructor" : false,
636       "isPrivate" : false,
637       "example" : "",
638       "deprecated" : "",
639       "since" : "",
640       "see" : "",
641       "exceptions" : "",
642       "requires" : "",
643       "params" : [
644         {
645           "name" : "tagName",
646           "type" : "string",
647           "desc" : "the type of element to unexclude",
648           "isOptional" : false
649         }
650       ],
651       "returns" : []
652     },
653     {
654       "name" : "unreg",
655       "type" : "function",
656       "desc" : "Remove all drag and drop hooks for this element",
657       "sig" : "()\n{\n\n}",
658       "static" : false,
659       "memberOf" : "Roo.dd.DragDrop",
660       "isStatic" : false,
661       "isConstructor" : false,
662       "isPrivate" : false,
663       "example" : "",
664       "deprecated" : "",
665       "since" : "",
666       "see" : "",
667       "exceptions" : "",
668       "requires" : "",
669       "params" : [],
670       "returns" : []
671     },
672     {
673       "name" : "addInvalidHandleType",
674       "type" : "function",
675       "desc" : "Allows you to specify a tag name that should not start a drag operation\nwhen clicked.  This is designed to facilitate embedding links within a\ndrag handle that do something other than start the drag.",
676       "sig" : "(tagName)",
677       "static" : false,
678       "memberOf" : "Roo.dd.DragDrop",
679       "isStatic" : false,
680       "isConstructor" : false,
681       "isPrivate" : false,
682       "example" : "",
683       "deprecated" : "",
684       "since" : "",
685       "see" : "",
686       "exceptions" : "",
687       "requires" : "",
688       "params" : [
689         {
690           "name" : "tagName",
691           "type" : "string",
692           "desc" : "the type of element to exclude",
693           "isOptional" : false
694         }
695       ],
696       "returns" : []
697     },
698     {
699       "name" : "onDragDrop",
700       "type" : "function",
701       "desc" : "Abstract method called when this item is dropped on another DragDrop\nobj",
702       "sig" : "(e, id)",
703       "static" : false,
704       "memberOf" : "Roo.dd.DragDrop",
705       "isStatic" : false,
706       "isConstructor" : false,
707       "isPrivate" : false,
708       "example" : "",
709       "deprecated" : "",
710       "since" : "",
711       "see" : "",
712       "exceptions" : "",
713       "requires" : "",
714       "params" : [
715         {
716           "name" : "e",
717           "type" : "Event",
718           "desc" : "the mouseup event",
719           "isOptional" : false
720         },
721         {
722           "name" : "id",
723           "type" : "String|DragDrop[]",
724           "desc" : "In POINT mode, the element\nid this was dropped on.  In INTERSECT mode, an array of dd items this\nwas dropped on.",
725           "isOptional" : false
726         }
727       ],
728       "returns" : []
729     },
730     {
731       "name" : "removeInvalidHandleId",
732       "type" : "function",
733       "desc" : "Unsets an invalid handle id",
734       "sig" : "(id)",
735       "static" : false,
736       "memberOf" : "Roo.dd.DragDrop",
737       "isStatic" : false,
738       "isConstructor" : false,
739       "isPrivate" : false,
740       "example" : "",
741       "deprecated" : "",
742       "since" : "",
743       "see" : "",
744       "exceptions" : "",
745       "requires" : "",
746       "params" : [
747         {
748           "name" : "id",
749           "type" : "string",
750           "desc" : "the id of the element to re-enable",
751           "isOptional" : false
752         }
753       ],
754       "returns" : []
755     },
756     {
757       "name" : "onAvailable",
758       "type" : "function",
759       "desc" : "Override the onAvailable method to do what is needed after the initial\nposition was determined.",
760       "sig" : "()\n{\n\n}",
761       "static" : false,
762       "memberOf" : "Roo.dd.DragDrop",
763       "isStatic" : false,
764       "isConstructor" : false,
765       "isPrivate" : false,
766       "example" : "",
767       "deprecated" : "",
768       "since" : "",
769       "see" : "",
770       "exceptions" : "",
771       "requires" : "",
772       "params" : [],
773       "returns" : []
774     },
775     {
776       "name" : "setOuterHandleElId",
777       "type" : "function",
778       "desc" : "Allows you to set an element outside of the linked element as a drag\nhandle",
779       "sig" : "(id)",
780       "static" : false,
781       "memberOf" : "Roo.dd.DragDrop",
782       "isStatic" : false,
783       "isConstructor" : false,
784       "isPrivate" : false,
785       "example" : "",
786       "deprecated" : "",
787       "since" : "",
788       "see" : "",
789       "exceptions" : "",
790       "requires" : "",
791       "params" : [
792         {
793           "name" : "id",
794           "type" : "",
795           "desc" : "the id of the element that will be used to initiate the drag",
796           "isOptional" : false
797         }
798       ],
799       "returns" : []
800     },
801     {
802       "name" : "onMouseUp",
803       "type" : "function",
804       "desc" : "Event handler that fires when a drag/drop obj gets a mouseup",
805       "sig" : "(e)",
806       "static" : false,
807       "memberOf" : "Roo.dd.DragDrop",
808       "isStatic" : false,
809       "isConstructor" : false,
810       "isPrivate" : false,
811       "example" : "",
812       "deprecated" : "",
813       "since" : "",
814       "see" : "",
815       "exceptions" : "",
816       "requires" : "",
817       "params" : [
818         {
819           "name" : "e",
820           "type" : "Event",
821           "desc" : "the mouseup event",
822           "isOptional" : false
823         }
824       ],
825       "returns" : []
826     },
827     {
828       "name" : "getDragEl",
829       "type" : "function",
830       "desc" : "Returns a reference to the actual element to drag.  By default this is\nthe same as the html element, but it can be assigned to another\nelement. An example of this can be found in Roo.dd.DDProxy",
831       "sig" : "()\n{\n\n}",
832       "static" : false,
833       "memberOf" : "Roo.dd.DragDrop",
834       "isStatic" : false,
835       "isConstructor" : false,
836       "isPrivate" : false,
837       "example" : "",
838       "deprecated" : "",
839       "since" : "",
840       "see" : "",
841       "exceptions" : "",
842       "requires" : "",
843       "params" : [],
844       "returns" : [
845         {
846           "name" : "",
847           "type" : "HTMLElement",
848           "desc" : "the html element"
849         }
850       ]
851     },
852     {
853       "name" : "setYConstraint",
854       "type" : "function",
855       "desc" : "By default, the element can be dragged any place on the screen.  Set\nthis to limit the vertical travel of the element.  Pass in 0,0 for the\nparameters if you want to lock the drag to the x axis.",
856       "sig" : "(iUp, iDown, iTickSize)",
857       "static" : false,
858       "memberOf" : "Roo.dd.DragDrop",
859       "isStatic" : false,
860       "isConstructor" : false,
861       "isPrivate" : false,
862       "example" : "",
863       "deprecated" : "",
864       "since" : "",
865       "see" : "",
866       "exceptions" : "",
867       "requires" : "",
868       "params" : [
869         {
870           "name" : "iUp",
871           "type" : "int",
872           "desc" : "the number of pixels the element can move up",
873           "isOptional" : false
874         },
875         {
876           "name" : "iDown",
877           "type" : "int",
878           "desc" : "the number of pixels the element can move down",
879           "isOptional" : false
880         },
881         {
882           "name" : "iTickSize",
883           "type" : "int",
884           "desc" : "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.",
885           "isOptional" : false
886         }
887       ],
888       "returns" : []
889     },
890     {
891       "name" : "clearConstraints",
892       "type" : "function",
893       "desc" : "Clears any constraints applied to this instance.  Also clears ticks\nsince they can't exist independent of a constraint at this time.",
894       "sig" : "()\n{\n\n}",
895       "static" : false,
896       "memberOf" : "Roo.dd.DragDrop",
897       "isStatic" : false,
898       "isConstructor" : false,
899       "isPrivate" : false,
900       "example" : "",
901       "deprecated" : "",
902       "since" : "",
903       "see" : "",
904       "exceptions" : "",
905       "requires" : "",
906       "params" : [],
907       "returns" : []
908     },
909     {
910       "name" : "onInvalidDrop",
911       "type" : "function",
912       "desc" : "Abstract method called when this item is dropped on an area with no\ndrop target",
913       "sig" : "(e)",
914       "static" : false,
915       "memberOf" : "Roo.dd.DragDrop",
916       "isStatic" : false,
917       "isConstructor" : false,
918       "isPrivate" : false,
919       "example" : "",
920       "deprecated" : "",
921       "since" : "",
922       "see" : "",
923       "exceptions" : "",
924       "requires" : "",
925       "params" : [
926         {
927           "name" : "e",
928           "type" : "Event",
929           "desc" : "the mouseup event",
930           "isOptional" : false
931         }
932       ],
933       "returns" : []
934     },
935     {
936       "name" : "addInvalidHandleId",
937       "type" : "function",
938       "desc" : "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag",
939       "sig" : "(id)",
940       "static" : false,
941       "memberOf" : "Roo.dd.DragDrop",
942       "isStatic" : false,
943       "isConstructor" : false,
944       "isPrivate" : false,
945       "example" : "",
946       "deprecated" : "",
947       "since" : "",
948       "see" : "",
949       "exceptions" : "",
950       "requires" : "",
951       "params" : [
952         {
953           "name" : "id",
954           "type" : "string",
955           "desc" : "the element id of the element you wish to ignore",
956           "isOptional" : false
957         }
958       ],
959       "returns" : []
960     },
961     {
962       "name" : "removeInvalidHandleClass",
963       "type" : "function",
964       "desc" : "Unsets an invalid css class",
965       "sig" : "(cssClass)",
966       "static" : false,
967       "memberOf" : "Roo.dd.DragDrop",
968       "isStatic" : false,
969       "isConstructor" : false,
970       "isPrivate" : false,
971       "example" : "",
972       "deprecated" : "",
973       "since" : "",
974       "see" : "",
975       "exceptions" : "",
976       "requires" : "",
977       "params" : [
978         {
979           "name" : "cssClass",
980           "type" : "string",
981           "desc" : "the class of the element(s) you wish to\nre-enable",
982           "isOptional" : false
983         }
984       ],
985       "returns" : []
986     },
987     {
988       "name" : "onDragOut",
989       "type" : "function",
990       "desc" : "Abstract method called when we are no longer hovering over an element",
991       "sig" : "(e, id)",
992       "static" : false,
993       "memberOf" : "Roo.dd.DragDrop",
994       "isStatic" : false,
995       "isConstructor" : false,
996       "isPrivate" : false,
997       "example" : "",
998       "deprecated" : "",
999       "since" : "",
1000       "see" : "",
1001       "exceptions" : "",
1002       "requires" : "",
1003       "params" : [
1004         {
1005           "name" : "e",
1006           "type" : "Event",
1007           "desc" : "the mousemove event",
1008           "isOptional" : false
1009         },
1010         {
1011           "name" : "id",
1012           "type" : "String|DragDrop[]",
1013           "desc" : "In POINT mode, the element\nid this was hovering over.  In INTERSECT mode, an array of dd items\nthat the mouse is no longer over.",
1014           "isOptional" : false
1015         }
1016       ],
1017       "returns" : []
1018     },
1019     {
1020       "name" : "setDragElId",
1021       "type" : "function",
1022       "desc" : "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag",
1023       "sig" : "(id)",
1024       "static" : false,
1025       "memberOf" : "Roo.dd.DragDrop",
1026       "isStatic" : false,
1027       "isConstructor" : false,
1028       "isPrivate" : false,
1029       "example" : "",
1030       "deprecated" : "",
1031       "since" : "",
1032       "see" : "",
1033       "exceptions" : "",
1034       "requires" : "",
1035       "params" : [
1036         {
1037           "name" : "id",
1038           "type" : "",
1039           "desc" : "{string} the id of the element that will be used to initiate the drag",
1040           "isOptional" : false
1041         }
1042       ],
1043       "returns" : []
1044     },
1045     {
1046       "name" : "endDrag",
1047       "type" : "function",
1048       "desc" : "Fired when we are done dragging the object",
1049       "sig" : "(e)",
1050       "static" : false,
1051       "memberOf" : "Roo.dd.DragDrop",
1052       "isStatic" : false,
1053       "isConstructor" : false,
1054       "isPrivate" : false,
1055       "example" : "",
1056       "deprecated" : "",
1057       "since" : "",
1058       "see" : "",
1059       "exceptions" : "",
1060       "requires" : "",
1061       "params" : [
1062         {
1063           "name" : "e",
1064           "type" : "Event",
1065           "desc" : "the mouseup event",
1066           "isOptional" : false
1067         }
1068       ],
1069       "returns" : []
1070     },
1071     {
1072       "name" : "getEl",
1073       "type" : "function",
1074       "desc" : "Returns a reference to the linked element",
1075       "sig" : "()\n{\n\n}",
1076       "static" : false,
1077       "memberOf" : "Roo.dd.DragDrop",
1078       "isStatic" : false,
1079       "isConstructor" : false,
1080       "isPrivate" : false,
1081       "example" : "",
1082       "deprecated" : "",
1083       "since" : "",
1084       "see" : "",
1085       "exceptions" : "",
1086       "requires" : "",
1087       "params" : [],
1088       "returns" : [
1089         {
1090           "name" : "",
1091           "type" : "HTMLElement",
1092           "desc" : "the html element"
1093         }
1094       ]
1095     },
1096     {
1097       "name" : "onDrag",
1098       "type" : "function",
1099       "desc" : "Abstract method called during the onMouseMove event while dragging an\nobject.",
1100       "sig" : "(e)",
1101       "static" : false,
1102       "memberOf" : "Roo.dd.DragDrop",
1103       "isStatic" : false,
1104       "isConstructor" : false,
1105       "isPrivate" : false,
1106       "example" : "",
1107       "deprecated" : "",
1108       "since" : "",
1109       "see" : "",
1110       "exceptions" : "",
1111       "requires" : "",
1112       "params" : [
1113         {
1114           "name" : "e",
1115           "type" : "Event",
1116           "desc" : "the mousemove event",
1117           "isOptional" : false
1118         }
1119       ],
1120       "returns" : []
1121     },
1122     {
1123       "name" : "onDragEnter",
1124       "type" : "function",
1125       "desc" : "Abstract method called when this element fist begins hovering over\nanother DragDrop obj",
1126       "sig" : "(e, id)",
1127       "static" : false,
1128       "memberOf" : "Roo.dd.DragDrop",
1129       "isStatic" : false,
1130       "isConstructor" : false,
1131       "isPrivate" : false,
1132       "example" : "",
1133       "deprecated" : "",
1134       "since" : "",
1135       "see" : "",
1136       "exceptions" : "",
1137       "requires" : "",
1138       "params" : [
1139         {
1140           "name" : "e",
1141           "type" : "Event",
1142           "desc" : "the mousemove event",
1143           "isOptional" : false
1144         },
1145         {
1146           "name" : "id",
1147           "type" : "String|DragDrop[]",
1148           "desc" : "In POINT mode, the element\nid this is hovering over.  In INTERSECT mode, an array of one or more\ndragdrop items being hovered over.",
1149           "isOptional" : false
1150         }
1151       ],
1152       "returns" : []
1153     },
1154     {
1155       "name" : "lock",
1156       "type" : "function",
1157       "desc" : "Lock this instance",
1158       "sig" : "()\n{\n\n}",
1159       "static" : false,
1160       "memberOf" : "Roo.dd.DragDrop",
1161       "isStatic" : false,
1162       "isConstructor" : false,
1163       "isPrivate" : false,
1164       "example" : "",
1165       "deprecated" : "",
1166       "since" : "",
1167       "see" : "",
1168       "exceptions" : "",
1169       "requires" : "",
1170       "params" : [],
1171       "returns" : []
1172     },
1173     {
1174       "name" : "onMouseDown",
1175       "type" : "function",
1176       "desc" : "Event handler that fires when a drag/drop obj gets a mousedown",
1177       "sig" : "(e)",
1178       "static" : false,
1179       "memberOf" : "Roo.dd.DragDrop",
1180       "isStatic" : false,
1181       "isConstructor" : false,
1182       "isPrivate" : false,
1183       "example" : "",
1184       "deprecated" : "",
1185       "since" : "",
1186       "see" : "",
1187       "exceptions" : "",
1188       "requires" : "",
1189       "params" : [
1190         {
1191           "name" : "e",
1192           "type" : "Event",
1193           "desc" : "the mousedown event",
1194           "isOptional" : false
1195         }
1196       ],
1197       "returns" : []
1198     },
1199     {
1200       "name" : "applyConfig",
1201       "type" : "function",
1202       "desc" : "Applies the configuration parameters that were passed into the constructor.\nThis is supposed to happen at each level through the inheritance chain.  So\na DDProxy implentation will execute apply config on DDProxy, DD, and\nDragDrop in order to get all of the parameters that are available in\neach object.",
1203       "sig" : "()\n{\n\n}",
1204       "static" : false,
1205       "memberOf" : "Roo.dd.DragDrop",
1206       "isStatic" : false,
1207       "isConstructor" : false,
1208       "isPrivate" : false,
1209       "example" : "",
1210       "deprecated" : "",
1211       "since" : "",
1212       "see" : "",
1213       "exceptions" : "",
1214       "requires" : "",
1215       "params" : [],
1216       "returns" : []
1217     },
1218     {
1219       "name" : "unlock",
1220       "type" : "function",
1221       "desc" : "Unlock this instace",
1222       "sig" : "()\n{\n\n}",
1223       "static" : false,
1224       "memberOf" : "Roo.dd.DragDrop",
1225       "isStatic" : false,
1226       "isConstructor" : false,
1227       "isPrivate" : false,
1228       "example" : "",
1229       "deprecated" : "",
1230       "since" : "",
1231       "see" : "",
1232       "exceptions" : "",
1233       "requires" : "",
1234       "params" : [],
1235       "returns" : []
1236     },
1237     {
1238       "name" : "isTarget",
1239       "type" : "function",
1240       "desc" : "By default, all insances can be a drop target.  This can be disabled by\nsetting isTarget to false.",
1241       "sig" : "()\n{\n\n}",
1242       "static" : false,
1243       "memberOf" : "Roo.dd.DragDrop",
1244       "isStatic" : false,
1245       "isConstructor" : false,
1246       "isPrivate" : false,
1247       "example" : "",
1248       "deprecated" : "",
1249       "since" : "",
1250       "see" : "",
1251       "exceptions" : "",
1252       "requires" : "",
1253       "params" : [],
1254       "returns" : []
1255     },
1256     {
1257       "name" : "setInitPosition",
1258       "type" : "function",
1259       "desc" : "Stores the initial placement of the linked element.",
1260       "sig" : "(diffX, diffY)",
1261       "static" : false,
1262       "memberOf" : "Roo.dd.DragDrop",
1263       "isStatic" : false,
1264       "isConstructor" : false,
1265       "isPrivate" : false,
1266       "example" : "",
1267       "deprecated" : "",
1268       "since" : "",
1269       "see" : "",
1270       "exceptions" : "",
1271       "requires" : "",
1272       "params" : [
1273         {
1274           "name" : "diffX",
1275           "type" : "int",
1276           "desc" : "the X offset, default 0",
1277           "isOptional" : false
1278         },
1279         {
1280           "name" : "diffY",
1281           "type" : "int",
1282           "desc" : "the Y offset, default 0",
1283           "isOptional" : false
1284         }
1285       ],
1286       "returns" : []
1287     },
1288     {
1289       "name" : "initTarget",
1290       "type" : "function",
1291       "desc" : "Initializes Targeting functionality only... the object does not\nget a mousedown handler.",
1292       "sig" : "(id, sGroup, config)",
1293       "static" : false,
1294       "memberOf" : "Roo.dd.DragDrop",
1295       "isStatic" : false,
1296       "isConstructor" : false,
1297       "isPrivate" : false,
1298       "example" : "",
1299       "deprecated" : "",
1300       "since" : "",
1301       "see" : "",
1302       "exceptions" : "",
1303       "requires" : "",
1304       "params" : [
1305         {
1306           "name" : "id",
1307           "type" : "",
1308           "desc" : "the id of the linked element",
1309           "isOptional" : false
1310         },
1311         {
1312           "name" : "sGroup",
1313           "type" : "String",
1314           "desc" : "the group of related items",
1315           "isOptional" : false
1316         },
1317         {
1318           "name" : "config",
1319           "type" : "object",
1320           "desc" : "configuration attributes",
1321           "isOptional" : false
1322         }
1323       ],
1324       "returns" : []
1325     },
1326     {
1327       "name" : "addToGroup",
1328       "type" : "function",
1329       "desc" : "Add this instance to a group of related drag/drop objects.  All\ninstances belong to at least one group, and can belong to as many\ngroups as needed.",
1330       "sig" : "(sGroup)",
1331       "static" : false,
1332       "memberOf" : "Roo.dd.DragDrop",
1333       "isStatic" : false,
1334       "isConstructor" : false,
1335       "isPrivate" : false,
1336       "example" : "",
1337       "deprecated" : "",
1338       "since" : "",
1339       "see" : "",
1340       "exceptions" : "",
1341       "requires" : "",
1342       "params" : [
1343         {
1344           "name" : "sGroup",
1345           "type" : "",
1346           "desc" : "{string} the name of the group",
1347           "isOptional" : false
1348         }
1349       ],
1350       "returns" : []
1351     },
1352     {
1353       "name" : "onDragOver",
1354       "type" : "function",
1355       "desc" : "Abstract method called when this element is hovering over another\nDragDrop obj",
1356       "sig" : "(e, id)",
1357       "static" : false,
1358       "memberOf" : "Roo.dd.DragDrop",
1359       "isStatic" : false,
1360       "isConstructor" : false,
1361       "isPrivate" : false,
1362       "example" : "",
1363       "deprecated" : "",
1364       "since" : "",
1365       "see" : "",
1366       "exceptions" : "",
1367       "requires" : "",
1368       "params" : [
1369         {
1370           "name" : "e",
1371           "type" : "Event",
1372           "desc" : "the mousemove event",
1373           "isOptional" : false
1374         },
1375         {
1376           "name" : "id",
1377           "type" : "String|DragDrop[]",
1378           "desc" : "In POINT mode, the element\nid this is hovering over.  In INTERSECT mode, an array of dd items\nbeing hovered over.",
1379           "isOptional" : false
1380         }
1381       ],
1382       "returns" : []
1383     },
1384     {
1385       "name" : "toString",
1386       "type" : "function",
1387       "desc" : "toString method",
1388       "sig" : "()\n{\n\n}",
1389       "static" : false,
1390       "memberOf" : "Roo.dd.DragDrop",
1391       "isStatic" : false,
1392       "isConstructor" : false,
1393       "isPrivate" : false,
1394       "example" : "",
1395       "deprecated" : "",
1396       "since" : "",
1397       "see" : "",
1398       "exceptions" : "",
1399       "requires" : "",
1400       "params" : [],
1401       "returns" : [
1402         {
1403           "name" : "",
1404           "type" : "string",
1405           "desc" : "string representation of the dd obj"
1406         }
1407       ]
1408     },
1409     {
1410       "name" : "setPadding",
1411       "type" : "function",
1412       "desc" : "Configures the padding for the target zone in px.  Effectively expands\n(or reduces) the virtual object size for targeting calculations.\nSupports css-style shorthand; if only one parameter is passed, all sides\nwill have that padding, and if only two are passed, the top and bottom\nwill have the first param, the left and right the second.",
1413       "sig" : "(iTop, iRight, iBot, iLeft)",
1414       "static" : false,
1415       "memberOf" : "Roo.dd.DragDrop",
1416       "isStatic" : false,
1417       "isConstructor" : false,
1418       "isPrivate" : false,
1419       "example" : "",
1420       "deprecated" : "",
1421       "since" : "",
1422       "see" : "",
1423       "exceptions" : "",
1424       "requires" : "",
1425       "params" : [
1426         {
1427           "name" : "iTop",
1428           "type" : "int",
1429           "desc" : "Top pad",
1430           "isOptional" : false
1431         },
1432         {
1433           "name" : "iRight",
1434           "type" : "int",
1435           "desc" : "Right pad",
1436           "isOptional" : false
1437         },
1438         {
1439           "name" : "iBot",
1440           "type" : "int",
1441           "desc" : "Bot pad",
1442           "isOptional" : false
1443         },
1444         {
1445           "name" : "iLeft",
1446           "type" : "int",
1447           "desc" : "Left pad",
1448           "isOptional" : false
1449         }
1450       ],
1451       "returns" : []
1452     },
1453     {
1454       "name" : "removeFromGroup",
1455       "type" : "function",
1456       "desc" : "Remove's this instance from the supplied interaction group",
1457       "sig" : "(sGroup)",
1458       "static" : false,
1459       "memberOf" : "Roo.dd.DragDrop",
1460       "isStatic" : false,
1461       "isConstructor" : false,
1462       "isPrivate" : false,
1463       "example" : "",
1464       "deprecated" : "",
1465       "since" : "",
1466       "see" : "",
1467       "exceptions" : "",
1468       "requires" : "",
1469       "params" : [
1470         {
1471           "name" : "sGroup",
1472           "type" : "string",
1473           "desc" : "The group to drop",
1474           "isOptional" : false
1475         }
1476       ],
1477       "returns" : []
1478     },
1479     {
1480       "name" : "addInvalidHandleClass",
1481       "type" : "function",
1482       "desc" : "Lets you specify a css class of elements that will not initiate a drag",
1483       "sig" : "(cssClass)",
1484       "static" : false,
1485       "memberOf" : "Roo.dd.DragDrop",
1486       "isStatic" : false,
1487       "isConstructor" : false,
1488       "isPrivate" : false,
1489       "example" : "",
1490       "deprecated" : "",
1491       "since" : "",
1492       "see" : "",
1493       "exceptions" : "",
1494       "requires" : "",
1495       "params" : [
1496         {
1497           "name" : "cssClass",
1498           "type" : "string",
1499           "desc" : "the class of the elements you wish to ignore",
1500           "isOptional" : false
1501         }
1502       ],
1503       "returns" : []
1504     },
1505     {
1506       "name" : "startDrag",
1507       "type" : "function",
1508       "desc" : "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.",
1509       "sig" : "(X, Y)",
1510       "static" : false,
1511       "memberOf" : "Roo.dd.DragDrop",
1512       "isStatic" : false,
1513       "isConstructor" : false,
1514       "isPrivate" : false,
1515       "example" : "",
1516       "deprecated" : "",
1517       "since" : "",
1518       "see" : "",
1519       "exceptions" : "",
1520       "requires" : "",
1521       "params" : [
1522         {
1523           "name" : "X",
1524           "type" : "int",
1525           "desc" : "click location",
1526           "isOptional" : false
1527         },
1528         {
1529           "name" : "Y",
1530           "type" : "int",
1531           "desc" : "click location",
1532           "isOptional" : false
1533         }
1534       ],
1535       "returns" : []
1536     },
1537     {
1538       "name" : "padding",
1539       "type" : "function",
1540       "desc" : "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.",
1541       "sig" : "()\n{\n\n}",
1542       "static" : false,
1543       "memberOf" : "Roo.dd.DragDrop",
1544       "isStatic" : false,
1545       "isConstructor" : false,
1546       "isPrivate" : false,
1547       "example" : "",
1548       "deprecated" : "",
1549       "since" : "",
1550       "see" : "",
1551       "exceptions" : "",
1552       "requires" : "",
1553       "params" : [],
1554       "returns" : []
1555     },
1556     {
1557       "name" : "resetConstraints",
1558       "type" : "function",
1559       "desc" : "resetConstraints must be called if you manually reposition a dd element.",
1560       "sig" : "(maintainOffset)",
1561       "static" : false,
1562       "memberOf" : "Roo.dd.DragDrop",
1563       "isStatic" : false,
1564       "isConstructor" : false,
1565       "isPrivate" : false,
1566       "example" : "",
1567       "deprecated" : "",
1568       "since" : "",
1569       "see" : "",
1570       "exceptions" : "",
1571       "requires" : "",
1572       "params" : [
1573         {
1574           "name" : "maintainOffset",
1575           "type" : "boolean",
1576           "desc" : "",
1577           "isOptional" : false
1578         }
1579       ],
1580       "returns" : []
1581     },
1582     {
1583       "name" : "clearTicks",
1584       "type" : "function",
1585       "desc" : "Clears any tick interval defined for this instance",
1586       "sig" : "()\n{\n\n}",
1587       "static" : false,
1588       "memberOf" : "Roo.dd.DragDrop",
1589       "isStatic" : false,
1590       "isConstructor" : false,
1591       "isPrivate" : false,
1592       "example" : "",
1593       "deprecated" : "",
1594       "since" : "",
1595       "see" : "",
1596       "exceptions" : "",
1597       "requires" : "",
1598       "params" : [],
1599       "returns" : []
1600     },
1601     {
1602       "name" : "isLocked",
1603       "type" : "function",
1604       "desc" : "Returns true if this instance is locked, or the drag drop mgr is locked\n(meaning that all drag/drop is disabled on the page.)",
1605       "sig" : "()\n{\n\n}",
1606       "static" : false,
1607       "memberOf" : "Roo.dd.DragDrop",
1608       "isStatic" : false,
1609       "isConstructor" : false,
1610       "isPrivate" : false,
1611       "example" : "",
1612       "deprecated" : "",
1613       "since" : "",
1614       "see" : "",
1615       "exceptions" : "",
1616       "requires" : "",
1617       "params" : [],
1618       "returns" : [
1619         {
1620           "name" : "",
1621           "type" : "boolean",
1622           "desc" : "true if this obj or all drag/drop is locked, else\nfalse"
1623         }
1624       ]
1625     },
1626     {
1627       "name" : "setXConstraint",
1628       "type" : "function",
1629       "desc" : "By default, the element can be dragged any place on the screen.  Use\nthis method to limit the horizontal travel of the element.  Pass in\n0,0 for the parameters if you want to lock the drag to the y axis.",
1630       "sig" : "(iLeft, iRight, iTickSize)",
1631       "static" : false,
1632       "memberOf" : "Roo.dd.DragDrop",
1633       "isStatic" : false,
1634       "isConstructor" : false,
1635       "isPrivate" : false,
1636       "example" : "",
1637       "deprecated" : "",
1638       "since" : "",
1639       "see" : "",
1640       "exceptions" : "",
1641       "requires" : "",
1642       "params" : [
1643         {
1644           "name" : "iLeft",
1645           "type" : "int",
1646           "desc" : "the number of pixels the element can move to the left",
1647           "isOptional" : false
1648         },
1649         {
1650           "name" : "iRight",
1651           "type" : "int",
1652           "desc" : "the number of pixels the element can move to the\nright",
1653           "isOptional" : false
1654         },
1655         {
1656           "name" : "iTickSize",
1657           "type" : "int",
1658           "desc" : "optional parameter for specifying that the\nelement\nshould move iTickSize pixels at a time.",
1659           "isOptional" : false
1660         }
1661       ],
1662       "returns" : []
1663     },
1664     {
1665       "name" : "isValidHandleChild",
1666       "type" : "function",
1667       "desc" : "Checks the tag exclusion list to see if this click should be ignored",
1668       "sig" : "(node)",
1669       "static" : false,
1670       "memberOf" : "Roo.dd.DragDrop",
1671       "isStatic" : false,
1672       "isConstructor" : false,
1673       "isPrivate" : false,
1674       "example" : "",
1675       "deprecated" : "",
1676       "since" : "",
1677       "see" : "",
1678       "exceptions" : "",
1679       "requires" : "",
1680       "params" : [
1681         {
1682           "name" : "node",
1683           "type" : "HTMLElement",
1684           "desc" : "the HTMLElement to evaluate",
1685           "isOptional" : false
1686         }
1687       ],
1688       "returns" : [
1689         {
1690           "name" : "",
1691           "type" : "boolean",
1692           "desc" : "true if this is a valid tag type, false if not"
1693         }
1694       ]
1695     },
1696     {
1697       "name" : "purgeListeners",
1698       "type" : "function",
1699       "desc" : "Removes all listeners for this object",
1700       "sig" : "()\n{\n\n}",
1701       "static" : false,
1702       "memberOf" : "Roo.util.Observable",
1703       "isStatic" : false,
1704       "isConstructor" : false,
1705       "isPrivate" : false,
1706       "example" : "",
1707       "deprecated" : "",
1708       "since" : "",
1709       "see" : "",
1710       "exceptions" : "",
1711       "requires" : "",
1712       "params" : [],
1713       "returns" : []
1714     },
1715     {
1716       "name" : "on",
1717       "type" : "function",
1718       "desc" : "Appends an event handler to this element (shorthand for addListener)",
1719       "sig" : "(eventName, handler, scope, options)",
1720       "static" : false,
1721       "memberOf" : "Roo.util.Observable",
1722       "isStatic" : false,
1723       "isConstructor" : false,
1724       "isPrivate" : false,
1725       "example" : "",
1726       "deprecated" : "",
1727       "since" : "",
1728       "see" : "",
1729       "exceptions" : "",
1730       "requires" : "",
1731       "params" : [
1732         {
1733           "name" : "eventName",
1734           "type" : "String",
1735           "desc" : "The type of event to listen for",
1736           "isOptional" : false
1737         },
1738         {
1739           "name" : "handler",
1740           "type" : "Function",
1741           "desc" : "The method the event invokes",
1742           "isOptional" : false
1743         },
1744         {
1745           "name" : "scope",
1746           "type" : "Object",
1747           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1748           "isOptional" : false
1749         },
1750         {
1751           "name" : "options",
1752           "type" : "Object",
1753           "desc" : "(optional)",
1754           "isOptional" : false
1755         }
1756       ],
1757       "returns" : []
1758     },
1759     {
1760       "name" : "un",
1761       "type" : "function",
1762       "desc" : "Removes a listener (shorthand for removeListener)",
1763       "sig" : "(eventName, handler, scope)",
1764       "static" : false,
1765       "memberOf" : "Roo.util.Observable",
1766       "isStatic" : false,
1767       "isConstructor" : false,
1768       "isPrivate" : false,
1769       "example" : "",
1770       "deprecated" : "",
1771       "since" : "",
1772       "see" : "",
1773       "exceptions" : "",
1774       "requires" : "",
1775       "params" : [
1776         {
1777           "name" : "eventName",
1778           "type" : "String",
1779           "desc" : "The type of event to listen for",
1780           "isOptional" : false
1781         },
1782         {
1783           "name" : "handler",
1784           "type" : "Function",
1785           "desc" : "The handler to remove",
1786           "isOptional" : false
1787         },
1788         {
1789           "name" : "scope",
1790           "type" : "Object",
1791           "desc" : "(optional) The scope (this object) for the handler",
1792           "isOptional" : false
1793         }
1794       ],
1795       "returns" : []
1796     },
1797     {
1798       "name" : "addEvents",
1799       "type" : "function",
1800       "desc" : "Used to define events on this Observable",
1801       "sig" : "(object)",
1802       "static" : false,
1803       "memberOf" : "Roo.util.Observable",
1804       "isStatic" : false,
1805       "isConstructor" : false,
1806       "isPrivate" : false,
1807       "example" : "",
1808       "deprecated" : "",
1809       "since" : "",
1810       "see" : "",
1811       "exceptions" : "",
1812       "requires" : "",
1813       "params" : [
1814         {
1815           "name" : "object",
1816           "type" : "Object",
1817           "desc" : "The object with the events defined",
1818           "isOptional" : false
1819         }
1820       ],
1821       "returns" : []
1822     },
1823     {
1824       "name" : "releaseCapture",
1825       "type" : "function",
1826       "desc" : "Removes <b>all</b> added captures from the Observable.",
1827       "sig" : "(o)",
1828       "static" : true,
1829       "memberOf" : "Roo.util.Observable",
1830       "isStatic" : true,
1831       "isConstructor" : false,
1832       "isPrivate" : false,
1833       "example" : "",
1834       "deprecated" : "",
1835       "since" : "",
1836       "see" : "",
1837       "exceptions" : "",
1838       "requires" : "",
1839       "params" : [
1840         {
1841           "name" : "o",
1842           "type" : "Observable",
1843           "desc" : "The Observable to release",
1844           "isOptional" : false
1845         }
1846       ],
1847       "returns" : []
1848     },
1849     {
1850       "name" : "removeListener",
1851       "type" : "function",
1852       "desc" : "Removes a listener",
1853       "sig" : "(eventName, handler, scope)",
1854       "static" : false,
1855       "memberOf" : "Roo.util.Observable",
1856       "isStatic" : false,
1857       "isConstructor" : false,
1858       "isPrivate" : false,
1859       "example" : "",
1860       "deprecated" : "",
1861       "since" : "",
1862       "see" : "",
1863       "exceptions" : "",
1864       "requires" : "",
1865       "params" : [
1866         {
1867           "name" : "eventName",
1868           "type" : "String",
1869           "desc" : "The type of event to listen for",
1870           "isOptional" : false
1871         },
1872         {
1873           "name" : "handler",
1874           "type" : "Function",
1875           "desc" : "The handler to remove",
1876           "isOptional" : false
1877         },
1878         {
1879           "name" : "scope",
1880           "type" : "Object",
1881           "desc" : "(optional) The scope (this object) for the handler",
1882           "isOptional" : false
1883         }
1884       ],
1885       "returns" : []
1886     },
1887     {
1888       "name" : "fireEvent",
1889       "type" : "function",
1890       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1891       "sig" : "(eventName, args)",
1892       "static" : false,
1893       "memberOf" : "Roo.util.Observable",
1894       "isStatic" : false,
1895       "isConstructor" : false,
1896       "isPrivate" : false,
1897       "example" : "",
1898       "deprecated" : "",
1899       "since" : "",
1900       "see" : "",
1901       "exceptions" : "",
1902       "requires" : "",
1903       "params" : [
1904         {
1905           "name" : "eventName",
1906           "type" : "String",
1907           "desc" : "",
1908           "isOptional" : false
1909         },
1910         {
1911           "name" : "args",
1912           "type" : "Object...",
1913           "desc" : "Variable number of parameters are passed to handlers",
1914           "isOptional" : false
1915         }
1916       ],
1917       "returns" : [
1918         {
1919           "name" : "",
1920           "type" : "Boolean",
1921           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1922         }
1923       ]
1924     },
1925     {
1926       "name" : "hasListener",
1927       "type" : "function",
1928       "desc" : "Checks to see if this object has any listeners for a specified event",
1929       "sig" : "(eventName)",
1930       "static" : false,
1931       "memberOf" : "Roo.util.Observable",
1932       "isStatic" : false,
1933       "isConstructor" : false,
1934       "isPrivate" : false,
1935       "example" : "",
1936       "deprecated" : "",
1937       "since" : "",
1938       "see" : "",
1939       "exceptions" : "",
1940       "requires" : "",
1941       "params" : [
1942         {
1943           "name" : "eventName",
1944           "type" : "String",
1945           "desc" : "The name of the event to check for",
1946           "isOptional" : false
1947         }
1948       ],
1949       "returns" : [
1950         {
1951           "name" : "",
1952           "type" : "Boolean",
1953           "desc" : "True if the event is being listened for, else false"
1954         }
1955       ]
1956     },
1957     {
1958       "name" : "capture",
1959       "type" : "function",
1960       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
1961       "sig" : "(o, fn, scope)",
1962       "static" : true,
1963       "memberOf" : "Roo.util.Observable",
1964       "isStatic" : true,
1965       "isConstructor" : false,
1966       "isPrivate" : false,
1967       "example" : "",
1968       "deprecated" : "",
1969       "since" : "",
1970       "see" : "",
1971       "exceptions" : "",
1972       "requires" : "",
1973       "params" : [
1974         {
1975           "name" : "o",
1976           "type" : "Observable",
1977           "desc" : "The Observable to capture",
1978           "isOptional" : false
1979         },
1980         {
1981           "name" : "fn",
1982           "type" : "Function",
1983           "desc" : "The function to call",
1984           "isOptional" : false
1985         },
1986         {
1987           "name" : "scope",
1988           "type" : "Object",
1989           "desc" : "(optional) The scope (this object) for the fn",
1990           "isOptional" : false
1991         }
1992       ],
1993       "returns" : []
1994     },
1995     {
1996       "name" : "addListener",
1997       "type" : "function",
1998       "desc" : "Appends an event handler to this component",
1999       "sig" : "(eventName, handler, scope, options)",
2000       "static" : false,
2001       "memberOf" : "Roo.util.Observable",
2002       "isStatic" : false,
2003       "isConstructor" : false,
2004       "isPrivate" : false,
2005       "example" : "",
2006       "deprecated" : "",
2007       "since" : "",
2008       "see" : "",
2009       "exceptions" : "",
2010       "requires" : "",
2011       "params" : [
2012         {
2013           "name" : "eventName",
2014           "type" : "String",
2015           "desc" : "The type of event to listen for",
2016           "isOptional" : false
2017         },
2018         {
2019           "name" : "handler",
2020           "type" : "Function",
2021           "desc" : "The method the event invokes",
2022           "isOptional" : false
2023         },
2024         {
2025           "name" : "scope",
2026           "type" : "Object",
2027           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
2028           "isOptional" : false
2029         },
2030         {
2031           "name" : "options",
2032           "type" : "Object",
2033           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
2034           "isOptional" : false
2035         }
2036       ],
2037       "returns" : []
2038     }
2039   ],
2040   "events" : [
2041     {
2042       "name" : "out",
2043       "type" : "function",
2044       "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop target that the source has been dragged\nout of the target without dropping.  This default implementation simply removes the CSS class specified by\noverClass (if any) from the drop element.",
2045       "sig" : "function (source, e, data)\n{\n\n}",
2046       "memberOf" : "Roo.dd.DropTarget",
2047       "example" : "",
2048       "deprecated" : "",
2049       "since" : "",
2050       "see" : "",
2051       "params" : [
2052         {
2053           "name" : "source",
2054           "type" : "Roo.dd.DragSource",
2055           "desc" : "The drag source that was dragged over this drop target",
2056           "isOptional" : false
2057         },
2058         {
2059           "name" : "e",
2060           "type" : "Event",
2061           "desc" : "The event",
2062           "isOptional" : false
2063         },
2064         {
2065           "name" : "data",
2066           "type" : "Object",
2067           "desc" : "An object containing arbitrary data supplied by the drag source",
2068           "isOptional" : false
2069         }
2070       ],
2071       "returns" : []
2072     },
2073     {
2074       "name" : "over",
2075       "type" : "function",
2076       "desc" : "The function a {@link Roo.dd.DragSource} calls continuously while it is being dragged over the target.\nThis method will be called on every mouse movement while the drag source is over the drop target.\nThis default implementation simply returns the dropAllowed config value.\n\nIMPORTANT : it should set  this.valid to true|false",
2077       "sig" : "function (source, e, data)\n{\n\n}",
2078       "memberOf" : "Roo.dd.DropTarget",
2079       "example" : "",
2080       "deprecated" : "",
2081       "since" : "",
2082       "see" : "",
2083       "params" : [
2084         {
2085           "name" : "source",
2086           "type" : "Roo.dd.DragSource",
2087           "desc" : "The drag source that was dragged over this drop target",
2088           "isOptional" : false
2089         },
2090         {
2091           "name" : "e",
2092           "type" : "Event",
2093           "desc" : "The event",
2094           "isOptional" : false
2095         },
2096         {
2097           "name" : "data",
2098           "type" : "Object",
2099           "desc" : "An object containing arbitrary data supplied by the drag source",
2100           "isOptional" : false
2101         }
2102       ],
2103       "returns" : []
2104     },
2105     {
2106       "name" : "enter",
2107       "type" : "function",
2108       "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop target that the source is now over the\ntarget.  This default implementation adds the CSS class specified by overClass (if any) to the drop element\nand returns the dropAllowed config value.  This method should be overridden if drop validation is required.\n\nIMPORTANT : it should set  this.valid to true|false",
2109       "sig" : "function (source, e, data)\n{\n\n}",
2110       "memberOf" : "Roo.dd.DropTarget",
2111       "example" : "",
2112       "deprecated" : "",
2113       "since" : "",
2114       "see" : "",
2115       "params" : [
2116         {
2117           "name" : "source",
2118           "type" : "Roo.dd.DragSource",
2119           "desc" : "The drag source that was dragged over this drop target",
2120           "isOptional" : false
2121         },
2122         {
2123           "name" : "e",
2124           "type" : "Event",
2125           "desc" : "The event",
2126           "isOptional" : false
2127         },
2128         {
2129           "name" : "data",
2130           "type" : "Object",
2131           "desc" : "An object containing arbitrary data supplied by the drag source",
2132           "isOptional" : false
2133         }
2134       ],
2135       "returns" : []
2136     },
2137     {
2138       "name" : "drop",
2139       "type" : "function",
2140       "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop target that the dragged item has\nbeen dropped on it.  This method has no default implementation and returns false, so you must provide an\nimplementation that does something to process the drop event and returns true so that the drag source's\nrepair action does not run.\n\nIMPORTANT : it should set this.success",
2141       "sig" : "function (source, e, data)\n{\n\n}",
2142       "memberOf" : "Roo.dd.DropTarget",
2143       "example" : "",
2144       "deprecated" : "",
2145       "since" : "",
2146       "see" : "",
2147       "params" : [
2148         {
2149           "name" : "source",
2150           "type" : "Roo.dd.DragSource",
2151           "desc" : "The drag source that was dragged over this drop target",
2152           "isOptional" : false
2153         },
2154         {
2155           "name" : "e",
2156           "type" : "Event",
2157           "desc" : "The event",
2158           "isOptional" : false
2159         },
2160         {
2161           "name" : "data",
2162           "type" : "Object",
2163           "desc" : "An object containing arbitrary data supplied by the drag source",
2164           "isOptional" : false
2165         }
2166       ],
2167       "returns" : []
2168     }
2169   ]
2170 }