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