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