docs/src/Roo_bootstrap_Card.js.html
[roojs1] / docs / symbols / Roo.dd.DD.json
1 {
2   "name" : "Roo.dd.DD",
3   "augments" : [
4     "Roo.dd.DragDrop",
5     "Roo.util.Observable"
6   ],
7   "desc" : "A DragDrop implementation where the linked element follows the\nmouse cursor during a drag.",
8   "isSingleton" : false,
9   "isStatic" : false,
10   "isBuiltin" : false,
11   "memberOf" : "DD",
12   "example" : "",
13   "deprecated" : "",
14   "since" : "",
15   "see" : "",
16   "params" : [
17     {
18       "name" : "id",
19       "type" : "String",
20       "desc" : "the id of the linked element",
21       "isOptional" : false
22     },
23     {
24       "name" : "sGroup",
25       "type" : "String",
26       "desc" : "the group of related DragDrop items",
27       "isOptional" : false
28     },
29     {
30       "name" : "config",
31       "type" : "object",
32       "desc" : "an object containing configurable attributes\n               Valid properties for DD:\n                   scroll",
33       "isOptional" : false
34     }
35   ],
36   "returns" : [
37   ],
38   "config" : [
39     {
40       "name" : "listeners",
41       "type" : "Object",
42       "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>",
43       "memberOf" : "Roo.util.Observable",
44       "optvals" : [
45       ]
46     }
47   ],
48   "methods" : [
49     {
50       "name" : "alignElWithMouse",
51       "desc" : "Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked.  Override this if you want to place the element in a\nlocation other than where the cursor is.",
52       "isStatic" : false,
53       "isConstructor" : false,
54       "isPrivate" : false,
55       "memberOf" : "Roo.dd.DD",
56       "example" : "",
57       "deprecated" : "",
58       "since" : "",
59       "see" : "",
60       "params" : [
61         {
62           "name" : "el",
63           "type" : "HTMLElement",
64           "desc" : "the element to move",
65           "isOptional" : false
66         },
67         {
68           "name" : "iPageX",
69           "type" : "int",
70           "desc" : "the X coordinate of the mousedown or drag event",
71           "isOptional" : false
72         },
73         {
74           "name" : "iPageY",
75           "type" : "int",
76           "desc" : "the Y coordinate of the mousedown or drag event",
77           "isOptional" : false
78         }
79       ],
80       "returns" : [
81       ]
82     },
83     {
84       "name" : "setDelta",
85       "desc" : "Sets the pointer offset.  You can call this directly to force the\noffset to be in a particular location (e.g., pass in 0,0 to set it\nto the center of the object)",
86       "isStatic" : false,
87       "isConstructor" : false,
88       "isPrivate" : false,
89       "memberOf" : "Roo.dd.DD",
90       "example" : "",
91       "deprecated" : "",
92       "since" : "",
93       "see" : "",
94       "params" : [
95         {
96           "name" : "iDeltaX",
97           "type" : "int",
98           "desc" : "the distance from the left",
99           "isOptional" : false
100         },
101         {
102           "name" : "iDeltaY",
103           "type" : "int",
104           "desc" : "the distance from the top",
105           "isOptional" : false
106         }
107       ],
108       "returns" : [
109       ]
110     },
111     {
112       "name" : "autoOffset",
113       "desc" : "Sets the pointer offset to the distance between the linked element's top\nleft corner and the location the element was clicked",
114       "isStatic" : false,
115       "isConstructor" : false,
116       "isPrivate" : false,
117       "memberOf" : "Roo.dd.DD",
118       "example" : "",
119       "deprecated" : "",
120       "since" : "",
121       "see" : "",
122       "params" : [
123         {
124           "name" : "iPageX",
125           "type" : "int",
126           "desc" : "the X coordinate of the click",
127           "isOptional" : false
128         },
129         {
130           "name" : "iPageY",
131           "type" : "int",
132           "desc" : "the Y coordinate of the click",
133           "isOptional" : false
134         }
135       ],
136       "returns" : [
137       ]
138     },
139     {
140       "name" : "setDragElPos",
141       "desc" : "Sets the drag element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked.  Override this if you want to place the element in a\nlocation other than where the cursor is.",
142       "isStatic" : false,
143       "isConstructor" : false,
144       "isPrivate" : false,
145       "memberOf" : "Roo.dd.DD",
146       "example" : "",
147       "deprecated" : "",
148       "since" : "",
149       "see" : "",
150       "params" : [
151         {
152           "name" : "iPageX",
153           "type" : "int",
154           "desc" : "the X coordinate of the mousedown or drag event",
155           "isOptional" : false
156         },
157         {
158           "name" : "iPageY",
159           "type" : "int",
160           "desc" : "the Y coordinate of the mousedown or drag event",
161           "isOptional" : false
162         }
163       ],
164       "returns" : [
165       ]
166     },
167     {
168       "name" : "cachePosition",
169       "desc" : "Saves the most recent position so that we can reset the constraints and\ntick marks on-demand.  We need to know this so that we can calculate the\nnumber of pixels the element is offset from its original position.",
170       "isStatic" : false,
171       "isConstructor" : false,
172       "isPrivate" : false,
173       "memberOf" : "Roo.dd.DD",
174       "example" : "",
175       "deprecated" : "",
176       "since" : "",
177       "see" : "",
178       "params" : [
179         {
180           "name" : "iPageX",
181           "type" : "",
182           "desc" : "the current x position (optional, this just makes it so we\ndon't have to look it up again)",
183           "isOptional" : false
184         },
185         {
186           "name" : "iPageY",
187           "type" : "",
188           "desc" : "the current y position (optional, this just makes it so we\ndon't have to look it up again)",
189           "isOptional" : false
190         }
191       ],
192       "returns" : [
193       ]
194     },
195     {
196       "name" : "setHandleElId",
197       "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.",
198       "isStatic" : false,
199       "isConstructor" : false,
200       "isPrivate" : false,
201       "memberOf" : "Roo.dd.DragDrop",
202       "example" : "",
203       "deprecated" : "",
204       "since" : "",
205       "see" : "",
206       "params" : [
207         {
208           "name" : "id",
209           "type" : "",
210           "desc" : "{string} the id of the element that will be used to\ninitiate the drag.",
211           "isOptional" : false
212         }
213       ],
214       "returns" : [
215       ]
216     },
217     {
218       "name" : "init",
219       "desc" : "Sets up the DragDrop object.  Must be called in the constructor of any\nRoo.dd.DragDrop subclass",
220       "isStatic" : false,
221       "isConstructor" : false,
222       "isPrivate" : false,
223       "memberOf" : "Roo.dd.DragDrop",
224       "example" : "",
225       "deprecated" : "",
226       "since" : "",
227       "see" : "",
228       "params" : [
229         {
230           "name" : "id",
231           "type" : "",
232           "desc" : "the id of the linked element",
233           "isOptional" : false
234         },
235         {
236           "name" : "sGroup",
237           "type" : "String",
238           "desc" : "the group of related items",
239           "isOptional" : false
240         },
241         {
242           "name" : "config",
243           "type" : "object",
244           "desc" : "configuration attributes",
245           "isOptional" : false
246         }
247       ],
248       "returns" : [
249       ]
250     },
251     {
252       "name" : "removeInvalidHandleType",
253       "desc" : "Unsets an excluded tag name set by addInvalidHandleType",
254       "isStatic" : false,
255       "isConstructor" : false,
256       "isPrivate" : false,
257       "memberOf" : "Roo.dd.DragDrop",
258       "example" : "",
259       "deprecated" : "",
260       "since" : "",
261       "see" : "",
262       "params" : [
263         {
264           "name" : "tagName",
265           "type" : "string",
266           "desc" : "the type of element to unexclude",
267           "isOptional" : false
268         }
269       ],
270       "returns" : [
271       ]
272     },
273     {
274       "name" : "unreg",
275       "desc" : "Remove all drag and drop hooks for this element",
276       "isStatic" : false,
277       "isConstructor" : false,
278       "isPrivate" : false,
279       "memberOf" : "Roo.dd.DragDrop",
280       "example" : "",
281       "deprecated" : "",
282       "since" : "",
283       "see" : "",
284       "params" : [
285       ],
286       "returns" : [
287       ]
288     },
289     {
290       "name" : "addInvalidHandleType",
291       "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.",
292       "isStatic" : false,
293       "isConstructor" : false,
294       "isPrivate" : false,
295       "memberOf" : "Roo.dd.DragDrop",
296       "example" : "",
297       "deprecated" : "",
298       "since" : "",
299       "see" : "",
300       "params" : [
301         {
302           "name" : "tagName",
303           "type" : "string",
304           "desc" : "the type of element to exclude",
305           "isOptional" : false
306         }
307       ],
308       "returns" : [
309       ]
310     },
311     {
312       "name" : "onDragDrop",
313       "desc" : "Abstract method called when this item is dropped on another DragDrop\nobj",
314       "isStatic" : false,
315       "isConstructor" : false,
316       "isPrivate" : false,
317       "memberOf" : "Roo.dd.DragDrop",
318       "example" : "",
319       "deprecated" : "",
320       "since" : "",
321       "see" : "",
322       "params" : [
323         {
324           "name" : "e",
325           "type" : "Event",
326           "desc" : "the mouseup event",
327           "isOptional" : false
328         },
329         {
330           "name" : "id",
331           "type" : "String|DragDrop[]",
332           "desc" : "In POINT mode, the element\nid this was dropped on.  In INTERSECT mode, an array of dd items this\nwas dropped on.",
333           "isOptional" : false
334         }
335       ],
336       "returns" : [
337       ]
338     },
339     {
340       "name" : "removeInvalidHandleId",
341       "desc" : "Unsets an invalid handle id",
342       "isStatic" : false,
343       "isConstructor" : false,
344       "isPrivate" : false,
345       "memberOf" : "Roo.dd.DragDrop",
346       "example" : "",
347       "deprecated" : "",
348       "since" : "",
349       "see" : "",
350       "params" : [
351         {
352           "name" : "id",
353           "type" : "string",
354           "desc" : "the id of the element to re-enable",
355           "isOptional" : false
356         }
357       ],
358       "returns" : [
359       ]
360     },
361     {
362       "name" : "onAvailable",
363       "desc" : "Override the onAvailable method to do what is needed after the initial\nposition was determined.",
364       "isStatic" : false,
365       "isConstructor" : false,
366       "isPrivate" : false,
367       "memberOf" : "Roo.dd.DragDrop",
368       "example" : "",
369       "deprecated" : "",
370       "since" : "",
371       "see" : "",
372       "params" : [
373       ],
374       "returns" : [
375       ]
376     },
377     {
378       "name" : "setOuterHandleElId",
379       "desc" : "Allows you to set an element outside of the linked element as a drag\nhandle",
380       "isStatic" : false,
381       "isConstructor" : false,
382       "isPrivate" : false,
383       "memberOf" : "Roo.dd.DragDrop",
384       "example" : "",
385       "deprecated" : "",
386       "since" : "",
387       "see" : "",
388       "params" : [
389         {
390           "name" : "id",
391           "type" : "",
392           "desc" : "the id of the element that will be used to initiate the drag",
393           "isOptional" : false
394         }
395       ],
396       "returns" : [
397       ]
398     },
399     {
400       "name" : "onMouseUp",
401       "desc" : "Event handler that fires when a drag/drop obj gets a mouseup",
402       "isStatic" : false,
403       "isConstructor" : false,
404       "isPrivate" : false,
405       "memberOf" : "Roo.dd.DragDrop",
406       "example" : "",
407       "deprecated" : "",
408       "since" : "",
409       "see" : "",
410       "params" : [
411         {
412           "name" : "e",
413           "type" : "Event",
414           "desc" : "the mouseup event",
415           "isOptional" : false
416         }
417       ],
418       "returns" : [
419       ]
420     },
421     {
422       "name" : "getDragEl",
423       "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",
424       "isStatic" : false,
425       "isConstructor" : false,
426       "isPrivate" : false,
427       "memberOf" : "Roo.dd.DragDrop",
428       "example" : "",
429       "deprecated" : "",
430       "since" : "",
431       "see" : "",
432       "params" : [
433       ],
434       "returns" : [
435         {
436           "name" : "",
437           "type" : "HTMLElement",
438           "desc" : "the html element"
439         }
440       ]
441     },
442     {
443       "name" : "setYConstraint",
444       "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.",
445       "isStatic" : false,
446       "isConstructor" : false,
447       "isPrivate" : false,
448       "memberOf" : "Roo.dd.DragDrop",
449       "example" : "",
450       "deprecated" : "",
451       "since" : "",
452       "see" : "",
453       "params" : [
454         {
455           "name" : "iUp",
456           "type" : "int",
457           "desc" : "the number of pixels the element can move up",
458           "isOptional" : false
459         },
460         {
461           "name" : "iDown",
462           "type" : "int",
463           "desc" : "the number of pixels the element can move down",
464           "isOptional" : false
465         },
466         {
467           "name" : "iTickSize",
468           "type" : "int",
469           "desc" : "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.",
470           "isOptional" : false
471         }
472       ],
473       "returns" : [
474       ]
475     },
476     {
477       "name" : "clearConstraints",
478       "desc" : "Clears any constraints applied to this instance.  Also clears ticks\nsince they can't exist independent of a constraint at this time.",
479       "isStatic" : false,
480       "isConstructor" : false,
481       "isPrivate" : false,
482       "memberOf" : "Roo.dd.DragDrop",
483       "example" : "",
484       "deprecated" : "",
485       "since" : "",
486       "see" : "",
487       "params" : [
488       ],
489       "returns" : [
490       ]
491     },
492     {
493       "name" : "onInvalidDrop",
494       "desc" : "Abstract method called when this item is dropped on an area with no\ndrop target",
495       "isStatic" : false,
496       "isConstructor" : false,
497       "isPrivate" : false,
498       "memberOf" : "Roo.dd.DragDrop",
499       "example" : "",
500       "deprecated" : "",
501       "since" : "",
502       "see" : "",
503       "params" : [
504         {
505           "name" : "e",
506           "type" : "Event",
507           "desc" : "the mouseup event",
508           "isOptional" : false
509         }
510       ],
511       "returns" : [
512       ]
513     },
514     {
515       "name" : "addInvalidHandleId",
516       "desc" : "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag",
517       "isStatic" : false,
518       "isConstructor" : false,
519       "isPrivate" : false,
520       "memberOf" : "Roo.dd.DragDrop",
521       "example" : "",
522       "deprecated" : "",
523       "since" : "",
524       "see" : "",
525       "params" : [
526         {
527           "name" : "id",
528           "type" : "string",
529           "desc" : "the element id of the element you wish to ignore",
530           "isOptional" : false
531         }
532       ],
533       "returns" : [
534       ]
535     },
536     {
537       "name" : "removeInvalidHandleClass",
538       "desc" : "Unsets an invalid css class",
539       "isStatic" : false,
540       "isConstructor" : false,
541       "isPrivate" : false,
542       "memberOf" : "Roo.dd.DragDrop",
543       "example" : "",
544       "deprecated" : "",
545       "since" : "",
546       "see" : "",
547       "params" : [
548         {
549           "name" : "cssClass",
550           "type" : "string",
551           "desc" : "the class of the element(s) you wish to\nre-enable",
552           "isOptional" : false
553         }
554       ],
555       "returns" : [
556       ]
557     },
558     {
559       "name" : "onDragOut",
560       "desc" : "Abstract method called when we are no longer hovering over an element",
561       "isStatic" : false,
562       "isConstructor" : false,
563       "isPrivate" : false,
564       "memberOf" : "Roo.dd.DragDrop",
565       "example" : "",
566       "deprecated" : "",
567       "since" : "",
568       "see" : "",
569       "params" : [
570         {
571           "name" : "e",
572           "type" : "Event",
573           "desc" : "the mousemove event",
574           "isOptional" : false
575         },
576         {
577           "name" : "id",
578           "type" : "String|DragDrop[]",
579           "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.",
580           "isOptional" : false
581         }
582       ],
583       "returns" : [
584       ]
585     },
586     {
587       "name" : "setDragElId",
588       "desc" : "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag",
589       "isStatic" : false,
590       "isConstructor" : false,
591       "isPrivate" : false,
592       "memberOf" : "Roo.dd.DragDrop",
593       "example" : "",
594       "deprecated" : "",
595       "since" : "",
596       "see" : "",
597       "params" : [
598         {
599           "name" : "id",
600           "type" : "",
601           "desc" : "{string} the id of the element that will be used to initiate the drag",
602           "isOptional" : false
603         }
604       ],
605       "returns" : [
606       ]
607     },
608     {
609       "name" : "endDrag",
610       "desc" : "Fired when we are done dragging the object",
611       "isStatic" : false,
612       "isConstructor" : false,
613       "isPrivate" : false,
614       "memberOf" : "Roo.dd.DragDrop",
615       "example" : "",
616       "deprecated" : "",
617       "since" : "",
618       "see" : "",
619       "params" : [
620         {
621           "name" : "e",
622           "type" : "Event",
623           "desc" : "the mouseup event",
624           "isOptional" : false
625         }
626       ],
627       "returns" : [
628       ]
629     },
630     {
631       "name" : "getEl",
632       "desc" : "Returns a reference to the linked element",
633       "isStatic" : false,
634       "isConstructor" : false,
635       "isPrivate" : false,
636       "memberOf" : "Roo.dd.DragDrop",
637       "example" : "",
638       "deprecated" : "",
639       "since" : "",
640       "see" : "",
641       "params" : [
642       ],
643       "returns" : [
644         {
645           "name" : "",
646           "type" : "HTMLElement",
647           "desc" : "the html element"
648         }
649       ]
650     },
651     {
652       "name" : "onDrag",
653       "desc" : "Abstract method called during the onMouseMove event while dragging an\nobject.",
654       "isStatic" : false,
655       "isConstructor" : false,
656       "isPrivate" : false,
657       "memberOf" : "Roo.dd.DragDrop",
658       "example" : "",
659       "deprecated" : "",
660       "since" : "",
661       "see" : "",
662       "params" : [
663         {
664           "name" : "e",
665           "type" : "Event",
666           "desc" : "the mousemove event",
667           "isOptional" : false
668         }
669       ],
670       "returns" : [
671       ]
672     },
673     {
674       "name" : "onDragEnter",
675       "desc" : "Abstract method called when this element fist begins hovering over\nanother DragDrop obj",
676       "isStatic" : false,
677       "isConstructor" : false,
678       "isPrivate" : false,
679       "memberOf" : "Roo.dd.DragDrop",
680       "example" : "",
681       "deprecated" : "",
682       "since" : "",
683       "see" : "",
684       "params" : [
685         {
686           "name" : "e",
687           "type" : "Event",
688           "desc" : "the mousemove event",
689           "isOptional" : false
690         },
691         {
692           "name" : "id",
693           "type" : "String|DragDrop[]",
694           "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.",
695           "isOptional" : false
696         }
697       ],
698       "returns" : [
699       ]
700     },
701     {
702       "name" : "lock",
703       "desc" : "Lock this instance",
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       "returns" : [
715       ]
716     },
717     {
718       "name" : "onMouseDown",
719       "desc" : "Event handler that fires when a drag/drop obj gets a mousedown",
720       "isStatic" : false,
721       "isConstructor" : false,
722       "isPrivate" : false,
723       "memberOf" : "Roo.dd.DragDrop",
724       "example" : "",
725       "deprecated" : "",
726       "since" : "",
727       "see" : "",
728       "params" : [
729         {
730           "name" : "e",
731           "type" : "Event",
732           "desc" : "the mousedown event",
733           "isOptional" : false
734         }
735       ],
736       "returns" : [
737       ]
738     },
739     {
740       "name" : "applyConfig",
741       "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.",
742       "isStatic" : false,
743       "isConstructor" : false,
744       "isPrivate" : false,
745       "memberOf" : "Roo.dd.DragDrop",
746       "example" : "",
747       "deprecated" : "",
748       "since" : "",
749       "see" : "",
750       "params" : [
751       ],
752       "returns" : [
753       ]
754     },
755     {
756       "name" : "unlock",
757       "desc" : "Unlock this instace",
758       "isStatic" : false,
759       "isConstructor" : false,
760       "isPrivate" : false,
761       "memberOf" : "Roo.dd.DragDrop",
762       "example" : "",
763       "deprecated" : "",
764       "since" : "",
765       "see" : "",
766       "params" : [
767       ],
768       "returns" : [
769       ]
770     },
771     {
772       "name" : "isTarget",
773       "desc" : "By default, all insances can be a drop target.  This can be disabled by\nsetting isTarget to false.",
774       "isStatic" : false,
775       "isConstructor" : false,
776       "isPrivate" : false,
777       "memberOf" : "Roo.dd.DragDrop",
778       "example" : "",
779       "deprecated" : "",
780       "since" : "",
781       "see" : "",
782       "params" : [
783       ],
784       "returns" : [
785       ]
786     },
787     {
788       "name" : "setInitPosition",
789       "desc" : "Stores the initial placement of the linked element.",
790       "isStatic" : false,
791       "isConstructor" : false,
792       "isPrivate" : false,
793       "memberOf" : "Roo.dd.DragDrop",
794       "example" : "",
795       "deprecated" : "",
796       "since" : "",
797       "see" : "",
798       "params" : [
799         {
800           "name" : "diffX",
801           "type" : "int",
802           "desc" : "the X offset, default 0",
803           "isOptional" : false
804         },
805         {
806           "name" : "diffY",
807           "type" : "int",
808           "desc" : "the Y offset, default 0",
809           "isOptional" : false
810         }
811       ],
812       "returns" : [
813       ]
814     },
815     {
816       "name" : "initTarget",
817       "desc" : "Initializes Targeting functionality only... the object does not\nget a mousedown handler.",
818       "isStatic" : false,
819       "isConstructor" : false,
820       "isPrivate" : false,
821       "memberOf" : "Roo.dd.DragDrop",
822       "example" : "",
823       "deprecated" : "",
824       "since" : "",
825       "see" : "",
826       "params" : [
827         {
828           "name" : "id",
829           "type" : "",
830           "desc" : "the id of the linked element",
831           "isOptional" : false
832         },
833         {
834           "name" : "sGroup",
835           "type" : "String",
836           "desc" : "the group of related items",
837           "isOptional" : false
838         },
839         {
840           "name" : "config",
841           "type" : "object",
842           "desc" : "configuration attributes",
843           "isOptional" : false
844         }
845       ],
846       "returns" : [
847       ]
848     },
849     {
850       "name" : "addToGroup",
851       "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.",
852       "isStatic" : false,
853       "isConstructor" : false,
854       "isPrivate" : false,
855       "memberOf" : "Roo.dd.DragDrop",
856       "example" : "",
857       "deprecated" : "",
858       "since" : "",
859       "see" : "",
860       "params" : [
861         {
862           "name" : "sGroup",
863           "type" : "",
864           "desc" : "{string} the name of the group",
865           "isOptional" : false
866         }
867       ],
868       "returns" : [
869       ]
870     },
871     {
872       "name" : "onDragOver",
873       "desc" : "Abstract method called when this element is hovering over another\nDragDrop obj",
874       "isStatic" : false,
875       "isConstructor" : false,
876       "isPrivate" : false,
877       "memberOf" : "Roo.dd.DragDrop",
878       "example" : "",
879       "deprecated" : "",
880       "since" : "",
881       "see" : "",
882       "params" : [
883         {
884           "name" : "e",
885           "type" : "Event",
886           "desc" : "the mousemove event",
887           "isOptional" : false
888         },
889         {
890           "name" : "id",
891           "type" : "String|DragDrop[]",
892           "desc" : "In POINT mode, the element\nid this is hovering over.  In INTERSECT mode, an array of dd items\nbeing hovered over.",
893           "isOptional" : false
894         }
895       ],
896       "returns" : [
897       ]
898     },
899     {
900       "name" : "toString",
901       "desc" : "toString method",
902       "isStatic" : false,
903       "isConstructor" : false,
904       "isPrivate" : false,
905       "memberOf" : "Roo.dd.DragDrop",
906       "example" : "",
907       "deprecated" : "",
908       "since" : "",
909       "see" : "",
910       "params" : [
911       ],
912       "returns" : [
913         {
914           "name" : "",
915           "type" : "string",
916           "desc" : "string representation of the dd obj"
917         }
918       ]
919     },
920     {
921       "name" : "setPadding",
922       "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.",
923       "isStatic" : false,
924       "isConstructor" : false,
925       "isPrivate" : false,
926       "memberOf" : "Roo.dd.DragDrop",
927       "example" : "",
928       "deprecated" : "",
929       "since" : "",
930       "see" : "",
931       "params" : [
932         {
933           "name" : "iTop",
934           "type" : "int",
935           "desc" : "Top pad",
936           "isOptional" : false
937         },
938         {
939           "name" : "iRight",
940           "type" : "int",
941           "desc" : "Right pad",
942           "isOptional" : false
943         },
944         {
945           "name" : "iBot",
946           "type" : "int",
947           "desc" : "Bot pad",
948           "isOptional" : false
949         },
950         {
951           "name" : "iLeft",
952           "type" : "int",
953           "desc" : "Left pad",
954           "isOptional" : false
955         }
956       ],
957       "returns" : [
958       ]
959     },
960     {
961       "name" : "removeFromGroup",
962       "desc" : "Remove's this instance from the supplied interaction group",
963       "isStatic" : false,
964       "isConstructor" : false,
965       "isPrivate" : false,
966       "memberOf" : "Roo.dd.DragDrop",
967       "example" : "",
968       "deprecated" : "",
969       "since" : "",
970       "see" : "",
971       "params" : [
972         {
973           "name" : "sGroup",
974           "type" : "string",
975           "desc" : "The group to drop",
976           "isOptional" : false
977         }
978       ],
979       "returns" : [
980       ]
981     },
982     {
983       "name" : "addInvalidHandleClass",
984       "desc" : "Lets you specify a css class of elements that will not initiate a drag",
985       "isStatic" : false,
986       "isConstructor" : false,
987       "isPrivate" : false,
988       "memberOf" : "Roo.dd.DragDrop",
989       "example" : "",
990       "deprecated" : "",
991       "since" : "",
992       "see" : "",
993       "params" : [
994         {
995           "name" : "cssClass",
996           "type" : "string",
997           "desc" : "the class of the elements you wish to ignore",
998           "isOptional" : false
999         }
1000       ],
1001       "returns" : [
1002       ]
1003     },
1004     {
1005       "name" : "startDrag",
1006       "desc" : "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.",
1007       "isStatic" : false,
1008       "isConstructor" : false,
1009       "isPrivate" : false,
1010       "memberOf" : "Roo.dd.DragDrop",
1011       "example" : "",
1012       "deprecated" : "",
1013       "since" : "",
1014       "see" : "",
1015       "params" : [
1016         {
1017           "name" : "X",
1018           "type" : "int",
1019           "desc" : "click location",
1020           "isOptional" : false
1021         },
1022         {
1023           "name" : "Y",
1024           "type" : "int",
1025           "desc" : "click location",
1026           "isOptional" : false
1027         }
1028       ],
1029       "returns" : [
1030       ]
1031     },
1032     {
1033       "name" : "padding",
1034       "desc" : "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.",
1035       "isStatic" : false,
1036       "isConstructor" : false,
1037       "isPrivate" : false,
1038       "memberOf" : "Roo.dd.DragDrop",
1039       "example" : "",
1040       "deprecated" : "",
1041       "since" : "",
1042       "see" : "",
1043       "params" : [
1044       ],
1045       "returns" : [
1046       ]
1047     },
1048     {
1049       "name" : "resetConstraints",
1050       "desc" : "resetConstraints must be called if you manually reposition a dd element.",
1051       "isStatic" : false,
1052       "isConstructor" : false,
1053       "isPrivate" : false,
1054       "memberOf" : "Roo.dd.DragDrop",
1055       "example" : "",
1056       "deprecated" : "",
1057       "since" : "",
1058       "see" : "",
1059       "params" : [
1060         {
1061           "name" : "maintainOffset",
1062           "type" : "boolean",
1063           "desc" : "",
1064           "isOptional" : false
1065         }
1066       ],
1067       "returns" : [
1068       ]
1069     },
1070     {
1071       "name" : "clearTicks",
1072       "desc" : "Clears any tick interval defined for this instance",
1073       "isStatic" : false,
1074       "isConstructor" : false,
1075       "isPrivate" : false,
1076       "memberOf" : "Roo.dd.DragDrop",
1077       "example" : "",
1078       "deprecated" : "",
1079       "since" : "",
1080       "see" : "",
1081       "params" : [
1082       ],
1083       "returns" : [
1084       ]
1085     },
1086     {
1087       "name" : "isLocked",
1088       "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.)",
1089       "isStatic" : false,
1090       "isConstructor" : false,
1091       "isPrivate" : false,
1092       "memberOf" : "Roo.dd.DragDrop",
1093       "example" : "",
1094       "deprecated" : "",
1095       "since" : "",
1096       "see" : "",
1097       "params" : [
1098       ],
1099       "returns" : [
1100         {
1101           "name" : "",
1102           "type" : "boolean",
1103           "desc" : "true if this obj or all drag/drop is locked, else\nfalse"
1104         }
1105       ]
1106     },
1107     {
1108       "name" : "setXConstraint",
1109       "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.",
1110       "isStatic" : false,
1111       "isConstructor" : false,
1112       "isPrivate" : false,
1113       "memberOf" : "Roo.dd.DragDrop",
1114       "example" : "",
1115       "deprecated" : "",
1116       "since" : "",
1117       "see" : "",
1118       "params" : [
1119         {
1120           "name" : "iLeft",
1121           "type" : "int",
1122           "desc" : "the number of pixels the element can move to the left",
1123           "isOptional" : false
1124         },
1125         {
1126           "name" : "iRight",
1127           "type" : "int",
1128           "desc" : "the number of pixels the element can move to the\nright",
1129           "isOptional" : false
1130         },
1131         {
1132           "name" : "iTickSize",
1133           "type" : "int",
1134           "desc" : "optional parameter for specifying that the\nelement\nshould move iTickSize pixels at a time.",
1135           "isOptional" : false
1136         }
1137       ],
1138       "returns" : [
1139       ]
1140     },
1141     {
1142       "name" : "isValidHandleChild",
1143       "desc" : "Checks the tag exclusion list to see if this click should be ignored",
1144       "isStatic" : false,
1145       "isConstructor" : false,
1146       "isPrivate" : false,
1147       "memberOf" : "Roo.dd.DragDrop",
1148       "example" : "",
1149       "deprecated" : "",
1150       "since" : "",
1151       "see" : "",
1152       "params" : [
1153         {
1154           "name" : "node",
1155           "type" : "HTMLElement",
1156           "desc" : "the HTMLElement to evaluate",
1157           "isOptional" : false
1158         }
1159       ],
1160       "returns" : [
1161         {
1162           "name" : "",
1163           "type" : "boolean",
1164           "desc" : "true if this is a valid tag type, false if not"
1165         }
1166       ]
1167     },
1168     {
1169       "name" : "purgeListeners",
1170       "desc" : "Removes all listeners for this object",
1171       "isStatic" : false,
1172       "isConstructor" : false,
1173       "isPrivate" : false,
1174       "memberOf" : "Roo.util.Observable",
1175       "example" : "",
1176       "deprecated" : "",
1177       "since" : "",
1178       "see" : "",
1179       "params" : [
1180       ],
1181       "returns" : [
1182       ]
1183     },
1184     {
1185       "name" : "on",
1186       "desc" : "Appends an event handler to this element (shorthand for addListener)",
1187       "isStatic" : false,
1188       "isConstructor" : false,
1189       "isPrivate" : false,
1190       "memberOf" : "Roo.util.Observable",
1191       "example" : "",
1192       "deprecated" : "",
1193       "since" : "",
1194       "see" : "",
1195       "params" : [
1196         {
1197           "name" : "eventName",
1198           "type" : "String",
1199           "desc" : "The type of event to listen for",
1200           "isOptional" : false
1201         },
1202         {
1203           "name" : "handler",
1204           "type" : "Function",
1205           "desc" : "The method the event invokes",
1206           "isOptional" : false
1207         },
1208         {
1209           "name" : "scope",
1210           "type" : "Object",
1211           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1212           "isOptional" : false
1213         },
1214         {
1215           "name" : "options",
1216           "type" : "Object",
1217           "desc" : "(optional)",
1218           "isOptional" : false
1219         }
1220       ],
1221       "returns" : [
1222       ]
1223     },
1224     {
1225       "name" : "un",
1226       "desc" : "Removes a listener (shorthand for removeListener)",
1227       "isStatic" : false,
1228       "isConstructor" : false,
1229       "isPrivate" : false,
1230       "memberOf" : "Roo.util.Observable",
1231       "example" : "",
1232       "deprecated" : "",
1233       "since" : "",
1234       "see" : "",
1235       "params" : [
1236         {
1237           "name" : "eventName",
1238           "type" : "String",
1239           "desc" : "The type of event to listen for",
1240           "isOptional" : false
1241         },
1242         {
1243           "name" : "handler",
1244           "type" : "Function",
1245           "desc" : "The handler to remove",
1246           "isOptional" : false
1247         },
1248         {
1249           "name" : "scope",
1250           "type" : "Object",
1251           "desc" : "(optional) The scope (this object) for the handler",
1252           "isOptional" : false
1253         }
1254       ],
1255       "returns" : [
1256       ]
1257     },
1258     {
1259       "name" : "addEvents",
1260       "desc" : "Used to define events on this Observable",
1261       "isStatic" : false,
1262       "isConstructor" : false,
1263       "isPrivate" : false,
1264       "memberOf" : "Roo.util.Observable",
1265       "example" : "",
1266       "deprecated" : "",
1267       "since" : "",
1268       "see" : "",
1269       "params" : [
1270         {
1271           "name" : "object",
1272           "type" : "Object",
1273           "desc" : "The object with the events defined",
1274           "isOptional" : false
1275         }
1276       ],
1277       "returns" : [
1278       ]
1279     },
1280     {
1281       "name" : "releaseCapture",
1282       "desc" : "Removes <b>all</b> added captures from the Observable.",
1283       "isStatic" : true,
1284       "isConstructor" : false,
1285       "isPrivate" : false,
1286       "memberOf" : "Roo.util.Observable",
1287       "example" : "",
1288       "deprecated" : "",
1289       "since" : "",
1290       "see" : "",
1291       "params" : [
1292         {
1293           "name" : "o",
1294           "type" : "Observable",
1295           "desc" : "The Observable to release",
1296           "isOptional" : false
1297         }
1298       ],
1299       "returns" : [
1300       ]
1301     },
1302     {
1303       "name" : "removeListener",
1304       "desc" : "Removes a listener",
1305       "isStatic" : false,
1306       "isConstructor" : false,
1307       "isPrivate" : false,
1308       "memberOf" : "Roo.util.Observable",
1309       "example" : "",
1310       "deprecated" : "",
1311       "since" : "",
1312       "see" : "",
1313       "params" : [
1314         {
1315           "name" : "eventName",
1316           "type" : "String",
1317           "desc" : "The type of event to listen for",
1318           "isOptional" : false
1319         },
1320         {
1321           "name" : "handler",
1322           "type" : "Function",
1323           "desc" : "The handler to remove",
1324           "isOptional" : false
1325         },
1326         {
1327           "name" : "scope",
1328           "type" : "Object",
1329           "desc" : "(optional) The scope (this object) for the handler",
1330           "isOptional" : false
1331         }
1332       ],
1333       "returns" : [
1334       ]
1335     },
1336     {
1337       "name" : "fireEvent",
1338       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1339       "isStatic" : false,
1340       "isConstructor" : false,
1341       "isPrivate" : false,
1342       "memberOf" : "Roo.util.Observable",
1343       "example" : "",
1344       "deprecated" : "",
1345       "since" : "",
1346       "see" : "",
1347       "params" : [
1348         {
1349           "name" : "eventName",
1350           "type" : "String",
1351           "desc" : "",
1352           "isOptional" : false
1353         },
1354         {
1355           "name" : "args",
1356           "type" : "Object...",
1357           "desc" : "Variable number of parameters are passed to handlers",
1358           "isOptional" : false
1359         }
1360       ],
1361       "returns" : [
1362         {
1363           "name" : "",
1364           "type" : "Boolean",
1365           "desc" : "returns false if any of the handlers return false otherwise it returns true"
1366         }
1367       ]
1368     },
1369     {
1370       "name" : "hasListener",
1371       "desc" : "Checks to see if this object has any listeners for a specified event",
1372       "isStatic" : false,
1373       "isConstructor" : false,
1374       "isPrivate" : false,
1375       "memberOf" : "Roo.util.Observable",
1376       "example" : "",
1377       "deprecated" : "",
1378       "since" : "",
1379       "see" : "",
1380       "params" : [
1381         {
1382           "name" : "eventName",
1383           "type" : "String",
1384           "desc" : "The name of the event to check for",
1385           "isOptional" : false
1386         }
1387       ],
1388       "returns" : [
1389         {
1390           "name" : "",
1391           "type" : "Boolean",
1392           "desc" : "True if the event is being listened for, else false"
1393         }
1394       ]
1395     },
1396     {
1397       "name" : "capture",
1398       "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.",
1399       "isStatic" : true,
1400       "isConstructor" : false,
1401       "isPrivate" : false,
1402       "memberOf" : "Roo.util.Observable",
1403       "example" : "",
1404       "deprecated" : "",
1405       "since" : "",
1406       "see" : "",
1407       "params" : [
1408         {
1409           "name" : "o",
1410           "type" : "Observable",
1411           "desc" : "The Observable to capture",
1412           "isOptional" : false
1413         },
1414         {
1415           "name" : "fn",
1416           "type" : "Function",
1417           "desc" : "The function to call",
1418           "isOptional" : false
1419         },
1420         {
1421           "name" : "scope",
1422           "type" : "Object",
1423           "desc" : "(optional) The scope (this object) for the fn",
1424           "isOptional" : false
1425         }
1426       ],
1427       "returns" : [
1428       ]
1429     },
1430     {
1431       "name" : "addListener",
1432       "desc" : "Appends an event handler to this component",
1433       "isStatic" : false,
1434       "isConstructor" : false,
1435       "isPrivate" : false,
1436       "memberOf" : "Roo.util.Observable",
1437       "example" : "",
1438       "deprecated" : "",
1439       "since" : "",
1440       "see" : "",
1441       "params" : [
1442         {
1443           "name" : "eventName",
1444           "type" : "String",
1445           "desc" : "The type of event to listen for",
1446           "isOptional" : false
1447         },
1448         {
1449           "name" : "handler",
1450           "type" : "Function",
1451           "desc" : "The method the event invokes",
1452           "isOptional" : false
1453         },
1454         {
1455           "name" : "scope",
1456           "type" : "Object",
1457           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1458           "isOptional" : false
1459         },
1460         {
1461           "name" : "options",
1462           "type" : "Object",
1463           "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>",
1464           "isOptional" : false
1465         }
1466       ],
1467       "returns" : [
1468       ]
1469     }
1470   ],
1471   "events" : [
1472   ]
1473 }