2 "name" : "Roo.dd.DragSource",
10 "Roo.dd.DragSource" : [
16 "desc" : "A simple class that provides the basic implementation needed to make any element draggable.",
17 "isSingleton" : false,
21 "isBuilderTop" : false,
22 "memberOf" : "DragSource",
30 "type" : "String/HTMLElement/Element",
31 "desc" : "The container element",
48 "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>",
49 "memberOf" : "Roo.util.Observable"
52 "name" : "dropNotAllowed",
54 "desc" : "The CSS class returned to the drag source when drop is not allowed (defaults to \"x-dd-drop-nodrop\").",
55 "memberOf" : "Roo.dd.DragSource"
58 "name" : "dropAllowed",
60 "desc" : "The CSS class returned to the drag source when drop is allowed (defaults to \"x-dd-drop-ok\").",
61 "memberOf" : "Roo.dd.DragSource"
66 "name" : "beforeDragEnter",
68 "desc" : "An empty function by default, but provided so that you can perform a custom action\nbefore the dragged item enters the drop target and optionally cancel the onDragEnter.",
69 "sig" : "(target, e, id)",
73 "isConstructor" : false,
84 "type" : "Roo.dd.DragDrop",
85 "desc" : "The drop target",
91 "desc" : "The event object",
97 "desc" : "The id of the dragged element",
105 "desc" : "isValid True if the drag event is valid, else false to cancel"
110 "name" : "getDragData",
112 "desc" : "Returns the data object associated with this drag source",
113 "sig" : "()\n{\n\n}",
117 "isConstructor" : false,
130 "desc" : "data An object containing arbitrary data"
135 "name" : "hideProxy",
137 "desc" : "Hides the drag source's {@link Roo.dd.StatusProxy}",
138 "sig" : "()\n{\n\n}",
142 "isConstructor" : false,
154 "name" : "beforeDragOut",
156 "desc" : "An empty function by default, but provided so that you can perform a custom action before the dragged\nitem is dragged out of the target without dropping, and optionally cancel the onDragOut.",
157 "sig" : "(target, e, id)",
161 "isConstructor" : false,
172 "type" : "Roo.dd.DragDrop",
173 "desc" : "The drop target",
179 "desc" : "The event object",
185 "desc" : "The id of the dragged element",
193 "desc" : "isValid True if the drag event is valid, else false to cancel"
198 "name" : "beforeInvalidDrop",
200 "desc" : "An empty function by default, but provided so that you can perform a custom action after an invalid\ndrop has occurred.",
201 "sig" : "(target, e, id)",
205 "isConstructor" : false,
216 "type" : "Roo.dd.DragDrop",
217 "desc" : "The drop target",
223 "desc" : "The event object",
229 "desc" : "The id of the dragged element",
237 "desc" : "isValid True if the invalid drop should proceed, else false to cancel"
242 "name" : "beforeDragDrop",
244 "desc" : "An empty function by default, but provided so that you can perform a custom action before the dragged\nitem is dropped onto the target and optionally cancel the onDragDrop.",
245 "sig" : "(target, e, id)",
249 "isConstructor" : false,
260 "type" : "Roo.dd.DragDrop",
261 "desc" : "The drop target",
267 "desc" : "The event object",
273 "desc" : "The id of the dragged element",
281 "desc" : "isValid True if the drag drop event is valid, else false to cancel"
288 "desc" : "Returns the drag source's underlying {@link Roo.dd.StatusProxy}",
289 "sig" : "()\n{\n\n}",
293 "isConstructor" : false,
305 "type" : "Roo.dd.StatusProxy",
306 "desc" : "proxy The StatusProxy"
311 "name" : "onBeforeDrag",
313 "desc" : "An empty function by default, but provided so that you can perform a custom action before the initial\ndrag event begins and optionally cancel it.",
318 "isConstructor" : false,
330 "desc" : "An object containing arbitrary data to be shared with drop targets",
336 "desc" : "The event object",
344 "desc" : "isValid True if the drag event is valid, else false to cancel"
349 "name" : "onStartDrag",
351 "desc" : "An empty function by default, but provided so that you can perform a custom action once the initial\ndrag event has begun. The drag cannot be canceled from this function.",
356 "isConstructor" : false,
368 "desc" : "The x position of the click on the dragged object",
374 "desc" : "The y position of the click on the dragged object",
381 "name" : "beforeDragOver",
383 "desc" : "An empty function by default, but provided so that you can perform a custom action\nwhile the dragged item is over the drop target and optionally cancel the onDragOver.",
384 "sig" : "(target, e, id)",
388 "isConstructor" : false,
399 "type" : "Roo.dd.DragDrop",
400 "desc" : "The drop target",
406 "desc" : "The event object",
412 "desc" : "The id of the dragged element",
420 "desc" : "isValid True if the drag event is valid, else false to cancel"
425 "name" : "initFrame",
427 "desc" : "Initialization for the drag frame element. Must be called in the\nconstructor of all subclasses",
428 "sig" : "()\n{\n\n}",
430 "memberOf" : "Roo.dd.DDProxy",
432 "isConstructor" : false,
444 "name" : "createFrame",
446 "desc" : "Creates the proxy element if it does not yet exist",
447 "sig" : "()\n{\n\n}",
449 "memberOf" : "Roo.dd.DDProxy",
451 "isConstructor" : false,
463 "name" : "alignElWithMouse",
465 "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.",
466 "sig" : "(el, iPageX, iPageY)",
468 "memberOf" : "Roo.dd.DD",
470 "isConstructor" : false,
481 "type" : "HTMLElement",
482 "desc" : "the element to move",
488 "desc" : "the X coordinate of the mousedown or drag event",
494 "desc" : "the Y coordinate of the mousedown or drag event",
503 "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)",
504 "sig" : "(iDeltaX, iDeltaY)",
506 "memberOf" : "Roo.dd.DD",
508 "isConstructor" : false,
520 "desc" : "the distance from the left",
526 "desc" : "the distance from the top",
533 "name" : "autoOffset",
535 "desc" : "Sets the pointer offset to the distance between the linked element's top\nleft corner and the location the element was clicked",
536 "sig" : "(iPageX, iPageY)",
538 "memberOf" : "Roo.dd.DD",
540 "isConstructor" : false,
552 "desc" : "the X coordinate of the click",
558 "desc" : "the Y coordinate of the click",
565 "name" : "setDragElPos",
567 "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.",
568 "sig" : "(iPageX, iPageY)",
570 "memberOf" : "Roo.dd.DD",
572 "isConstructor" : false,
584 "desc" : "the X coordinate of the mousedown or drag event",
590 "desc" : "the Y coordinate of the mousedown or drag event",
597 "name" : "cachePosition",
599 "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.",
600 "sig" : "(iPageX, iPageY)",
602 "memberOf" : "Roo.dd.DD",
604 "isConstructor" : false,
616 "desc" : "the current x position (optional, this just makes it so we\ndon't have to look it up again)",
622 "desc" : "the current y position (optional, this just makes it so we\ndon't have to look it up again)",
629 "name" : "setHandleElId",
631 "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.",
634 "memberOf" : "Roo.dd.DragDrop",
636 "isConstructor" : false,
648 "desc" : "{string} the id of the element that will be used to\ninitiate the drag.",
657 "desc" : "Sets up the DragDrop object. Must be called in the constructor of any\nRoo.dd.DragDrop subclass",
658 "sig" : "(id, sGroup, config)",
660 "memberOf" : "Roo.dd.DragDrop",
662 "isConstructor" : false,
674 "desc" : "the id of the linked element",
680 "desc" : "the group of related items",
686 "desc" : "configuration attributes",
693 "name" : "removeInvalidHandleType",
695 "desc" : "Unsets an excluded tag name set by addInvalidHandleType",
698 "memberOf" : "Roo.dd.DragDrop",
700 "isConstructor" : false,
712 "desc" : "the type of element to unexclude",
721 "desc" : "Remove all drag and drop hooks for this element",
722 "sig" : "()\n{\n\n}",
724 "memberOf" : "Roo.dd.DragDrop",
726 "isConstructor" : false,
738 "name" : "addInvalidHandleType",
740 "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.",
743 "memberOf" : "Roo.dd.DragDrop",
745 "isConstructor" : false,
757 "desc" : "the type of element to exclude",
764 "name" : "onDragDrop",
766 "desc" : "Abstract method called when this item is dropped on another DragDrop\nobj",
769 "memberOf" : "Roo.dd.DragDrop",
771 "isConstructor" : false,
783 "desc" : "the mouseup event",
788 "type" : "String|DragDrop[]",
789 "desc" : "In POINT mode, the element\nid this was dropped on. In INTERSECT mode, an array of dd items this\nwas dropped on.",
796 "name" : "removeInvalidHandleId",
798 "desc" : "Unsets an invalid handle id",
801 "memberOf" : "Roo.dd.DragDrop",
803 "isConstructor" : false,
815 "desc" : "the id of the element to re-enable",
822 "name" : "onAvailable",
824 "desc" : "Override the onAvailable method to do what is needed after the initial\nposition was determined.",
825 "sig" : "()\n{\n\n}",
827 "memberOf" : "Roo.dd.DragDrop",
829 "isConstructor" : false,
841 "name" : "setOuterHandleElId",
843 "desc" : "Allows you to set an element outside of the linked element as a drag\nhandle",
846 "memberOf" : "Roo.dd.DragDrop",
848 "isConstructor" : false,
860 "desc" : "the id of the element that will be used to initiate the drag",
867 "name" : "onMouseUp",
869 "desc" : "Event handler that fires when a drag/drop obj gets a mouseup",
872 "memberOf" : "Roo.dd.DragDrop",
874 "isConstructor" : false,
886 "desc" : "the mouseup event",
893 "name" : "getDragEl",
895 "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",
896 "sig" : "()\n{\n\n}",
898 "memberOf" : "Roo.dd.DragDrop",
900 "isConstructor" : false,
912 "type" : "HTMLElement",
913 "desc" : "the html element"
918 "name" : "setYConstraint",
920 "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.",
921 "sig" : "(iUp, iDown, iTickSize)",
923 "memberOf" : "Roo.dd.DragDrop",
925 "isConstructor" : false,
937 "desc" : "the number of pixels the element can move up",
943 "desc" : "the number of pixels the element can move down",
947 "name" : "iTickSize",
949 "desc" : "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.",
956 "name" : "clearConstraints",
958 "desc" : "Clears any constraints applied to this instance. Also clears ticks\nsince they can't exist independent of a constraint at this time.",
959 "sig" : "()\n{\n\n}",
961 "memberOf" : "Roo.dd.DragDrop",
963 "isConstructor" : false,
975 "name" : "onInvalidDrop",
977 "desc" : "Abstract method called when this item is dropped on an area with no\ndrop target",
980 "memberOf" : "Roo.dd.DragDrop",
982 "isConstructor" : false,
994 "desc" : "the mouseup event",
1001 "name" : "addInvalidHandleId",
1002 "type" : "function",
1003 "desc" : "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag",
1006 "memberOf" : "Roo.dd.DragDrop",
1008 "isConstructor" : false,
1009 "isPrivate" : false,
1020 "desc" : "the element id of the element you wish to ignore",
1021 "isOptional" : false
1027 "name" : "removeInvalidHandleClass",
1028 "type" : "function",
1029 "desc" : "Unsets an invalid css class",
1030 "sig" : "(cssClass)",
1032 "memberOf" : "Roo.dd.DragDrop",
1034 "isConstructor" : false,
1035 "isPrivate" : false,
1044 "name" : "cssClass",
1046 "desc" : "the class of the element(s) you wish to\nre-enable",
1047 "isOptional" : false
1053 "name" : "onDragOut",
1054 "type" : "function",
1055 "desc" : "Abstract method called when we are no longer hovering over an element",
1058 "memberOf" : "Roo.dd.DragDrop",
1060 "isConstructor" : false,
1061 "isPrivate" : false,
1072 "desc" : "the mousemove event",
1073 "isOptional" : false
1077 "type" : "String|DragDrop[]",
1078 "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.",
1079 "isOptional" : false
1085 "name" : "setDragElId",
1086 "type" : "function",
1087 "desc" : "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag",
1090 "memberOf" : "Roo.dd.DragDrop",
1092 "isConstructor" : false,
1093 "isPrivate" : false,
1104 "desc" : "{string} the id of the element that will be used to initiate the drag",
1105 "isOptional" : false
1112 "type" : "function",
1113 "desc" : "Fired when we are done dragging the object",
1116 "memberOf" : "Roo.dd.DragDrop",
1118 "isConstructor" : false,
1119 "isPrivate" : false,
1130 "desc" : "the mouseup event",
1131 "isOptional" : false
1138 "type" : "function",
1139 "desc" : "Returns a reference to the linked element",
1140 "sig" : "()\n{\n\n}",
1142 "memberOf" : "Roo.dd.DragDrop",
1144 "isConstructor" : false,
1145 "isPrivate" : false,
1156 "type" : "HTMLElement",
1157 "desc" : "the html element"
1163 "type" : "function",
1164 "desc" : "Abstract method called during the onMouseMove event while dragging an\nobject.",
1167 "memberOf" : "Roo.dd.DragDrop",
1169 "isConstructor" : false,
1170 "isPrivate" : false,
1181 "desc" : "the mousemove event",
1182 "isOptional" : false
1188 "name" : "onDragEnter",
1189 "type" : "function",
1190 "desc" : "Abstract method called when this element fist begins hovering over\nanother DragDrop obj",
1193 "memberOf" : "Roo.dd.DragDrop",
1195 "isConstructor" : false,
1196 "isPrivate" : false,
1207 "desc" : "the mousemove event",
1208 "isOptional" : false
1212 "type" : "String|DragDrop[]",
1213 "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.",
1214 "isOptional" : false
1221 "type" : "function",
1222 "desc" : "Lock this instance",
1223 "sig" : "()\n{\n\n}",
1225 "memberOf" : "Roo.dd.DragDrop",
1227 "isConstructor" : false,
1228 "isPrivate" : false,
1239 "name" : "onMouseDown",
1240 "type" : "function",
1241 "desc" : "Event handler that fires when a drag/drop obj gets a mousedown",
1244 "memberOf" : "Roo.dd.DragDrop",
1246 "isConstructor" : false,
1247 "isPrivate" : false,
1258 "desc" : "the mousedown event",
1259 "isOptional" : false
1265 "name" : "applyConfig",
1266 "type" : "function",
1267 "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.",
1268 "sig" : "()\n{\n\n}",
1270 "memberOf" : "Roo.dd.DragDrop",
1272 "isConstructor" : false,
1273 "isPrivate" : false,
1285 "type" : "function",
1286 "desc" : "Unlock this instace",
1287 "sig" : "()\n{\n\n}",
1289 "memberOf" : "Roo.dd.DragDrop",
1291 "isConstructor" : false,
1292 "isPrivate" : false,
1303 "name" : "isTarget",
1304 "type" : "function",
1305 "desc" : "By default, all insances can be a drop target. This can be disabled by\nsetting isTarget to false.",
1306 "sig" : "()\n{\n\n}",
1308 "memberOf" : "Roo.dd.DragDrop",
1310 "isConstructor" : false,
1311 "isPrivate" : false,
1322 "name" : "setInitPosition",
1323 "type" : "function",
1324 "desc" : "Stores the initial placement of the linked element.",
1325 "sig" : "(diffX, diffY)",
1327 "memberOf" : "Roo.dd.DragDrop",
1329 "isConstructor" : false,
1330 "isPrivate" : false,
1341 "desc" : "the X offset, default 0",
1342 "isOptional" : false
1347 "desc" : "the Y offset, default 0",
1348 "isOptional" : false
1354 "name" : "initTarget",
1355 "type" : "function",
1356 "desc" : "Initializes Targeting functionality only... the object does not\nget a mousedown handler.",
1357 "sig" : "(id, sGroup, config)",
1359 "memberOf" : "Roo.dd.DragDrop",
1361 "isConstructor" : false,
1362 "isPrivate" : false,
1373 "desc" : "the id of the linked element",
1374 "isOptional" : false
1379 "desc" : "the group of related items",
1380 "isOptional" : false
1385 "desc" : "configuration attributes",
1386 "isOptional" : false
1392 "name" : "addToGroup",
1393 "type" : "function",
1394 "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.",
1397 "memberOf" : "Roo.dd.DragDrop",
1399 "isConstructor" : false,
1400 "isPrivate" : false,
1411 "desc" : "{string} the name of the group",
1412 "isOptional" : false
1418 "name" : "onDragOver",
1419 "type" : "function",
1420 "desc" : "Abstract method called when this element is hovering over another\nDragDrop obj",
1423 "memberOf" : "Roo.dd.DragDrop",
1425 "isConstructor" : false,
1426 "isPrivate" : false,
1437 "desc" : "the mousemove event",
1438 "isOptional" : false
1442 "type" : "String|DragDrop[]",
1443 "desc" : "In POINT mode, the element\nid this is hovering over. In INTERSECT mode, an array of dd items\nbeing hovered over.",
1444 "isOptional" : false
1450 "name" : "toString",
1451 "type" : "function",
1452 "desc" : "toString method",
1453 "sig" : "()\n{\n\n}",
1455 "memberOf" : "Roo.dd.DragDrop",
1457 "isConstructor" : false,
1458 "isPrivate" : false,
1470 "desc" : "string representation of the dd obj"
1475 "name" : "setPadding",
1476 "type" : "function",
1477 "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.",
1478 "sig" : "(iTop, iRight, iBot, iLeft)",
1480 "memberOf" : "Roo.dd.DragDrop",
1482 "isConstructor" : false,
1483 "isPrivate" : false,
1495 "isOptional" : false
1500 "desc" : "Right pad",
1501 "isOptional" : false
1507 "isOptional" : false
1512 "desc" : "Left pad",
1513 "isOptional" : false
1519 "name" : "removeFromGroup",
1520 "type" : "function",
1521 "desc" : "Remove's this instance from the supplied interaction group",
1524 "memberOf" : "Roo.dd.DragDrop",
1526 "isConstructor" : false,
1527 "isPrivate" : false,
1538 "desc" : "The group to drop",
1539 "isOptional" : false
1545 "name" : "addInvalidHandleClass",
1546 "type" : "function",
1547 "desc" : "Lets you specify a css class of elements that will not initiate a drag",
1548 "sig" : "(cssClass)",
1550 "memberOf" : "Roo.dd.DragDrop",
1552 "isConstructor" : false,
1553 "isPrivate" : false,
1562 "name" : "cssClass",
1564 "desc" : "the class of the elements you wish to ignore",
1565 "isOptional" : false
1571 "name" : "startDrag",
1572 "type" : "function",
1573 "desc" : "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.",
1576 "memberOf" : "Roo.dd.DragDrop",
1578 "isConstructor" : false,
1579 "isPrivate" : false,
1590 "desc" : "click location",
1591 "isOptional" : false
1596 "desc" : "click location",
1597 "isOptional" : false
1604 "type" : "function",
1605 "desc" : "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.",
1606 "sig" : "()\n{\n\n}",
1608 "memberOf" : "Roo.dd.DragDrop",
1610 "isConstructor" : false,
1611 "isPrivate" : false,
1622 "name" : "resetConstraints",
1623 "type" : "function",
1624 "desc" : "resetConstraints must be called if you manually reposition a dd element.",
1625 "sig" : "(maintainOffset)",
1627 "memberOf" : "Roo.dd.DragDrop",
1629 "isConstructor" : false,
1630 "isPrivate" : false,
1639 "name" : "maintainOffset",
1642 "isOptional" : false
1648 "name" : "clearTicks",
1649 "type" : "function",
1650 "desc" : "Clears any tick interval defined for this instance",
1651 "sig" : "()\n{\n\n}",
1653 "memberOf" : "Roo.dd.DragDrop",
1655 "isConstructor" : false,
1656 "isPrivate" : false,
1667 "name" : "isLocked",
1668 "type" : "function",
1669 "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.)",
1670 "sig" : "()\n{\n\n}",
1672 "memberOf" : "Roo.dd.DragDrop",
1674 "isConstructor" : false,
1675 "isPrivate" : false,
1687 "desc" : "true if this obj or all drag/drop is locked, else\nfalse"
1692 "name" : "setXConstraint",
1693 "type" : "function",
1694 "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.",
1695 "sig" : "(iLeft, iRight, iTickSize)",
1697 "memberOf" : "Roo.dd.DragDrop",
1699 "isConstructor" : false,
1700 "isPrivate" : false,
1711 "desc" : "the number of pixels the element can move to the left",
1712 "isOptional" : false
1717 "desc" : "the number of pixels the element can move to the\nright",
1718 "isOptional" : false
1721 "name" : "iTickSize",
1723 "desc" : "optional parameter for specifying that the\nelement\nshould move iTickSize pixels at a time.",
1724 "isOptional" : false
1730 "name" : "isValidHandleChild",
1731 "type" : "function",
1732 "desc" : "Checks the tag exclusion list to see if this click should be ignored",
1735 "memberOf" : "Roo.dd.DragDrop",
1737 "isConstructor" : false,
1738 "isPrivate" : false,
1748 "type" : "HTMLElement",
1749 "desc" : "the HTMLElement to evaluate",
1750 "isOptional" : false
1757 "desc" : "true if this is a valid tag type, false if not"
1762 "name" : "purgeListeners",
1763 "type" : "function",
1764 "desc" : "Removes all listeners for this object",
1765 "sig" : "()\n{\n\n}",
1767 "memberOf" : "Roo.util.Observable",
1769 "isConstructor" : false,
1770 "isPrivate" : false,
1782 "type" : "function",
1783 "desc" : "Appends an event handler to this element (shorthand for addListener)",
1784 "sig" : "(eventName, handler, scope, options)",
1786 "memberOf" : "Roo.util.Observable",
1788 "isConstructor" : false,
1789 "isPrivate" : false,
1798 "name" : "eventName",
1800 "desc" : "The type of event to listen for",
1801 "isOptional" : false
1805 "type" : "Function",
1806 "desc" : "The method the event invokes",
1807 "isOptional" : false
1812 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1813 "isOptional" : false
1818 "desc" : "(optional)",
1819 "isOptional" : false
1826 "type" : "function",
1827 "desc" : "Removes a listener (shorthand for removeListener)",
1828 "sig" : "(eventName, handler, scope)",
1830 "memberOf" : "Roo.util.Observable",
1832 "isConstructor" : false,
1833 "isPrivate" : false,
1842 "name" : "eventName",
1844 "desc" : "The type of event to listen for",
1845 "isOptional" : false
1849 "type" : "Function",
1850 "desc" : "The handler to remove",
1851 "isOptional" : false
1856 "desc" : "(optional) The scope (this object) for the handler",
1857 "isOptional" : false
1863 "name" : "addEvents",
1864 "type" : "function",
1865 "desc" : "Used to define events on this Observable",
1868 "memberOf" : "Roo.util.Observable",
1870 "isConstructor" : false,
1871 "isPrivate" : false,
1882 "desc" : "The object with the events defined",
1883 "isOptional" : false
1889 "name" : "releaseCapture",
1890 "type" : "function",
1891 "desc" : "Removes <b>all</b> added captures from the Observable.",
1894 "memberOf" : "Roo.util.Observable",
1896 "isConstructor" : false,
1897 "isPrivate" : false,
1907 "type" : "Observable",
1908 "desc" : "The Observable to release",
1909 "isOptional" : false
1915 "name" : "removeListener",
1916 "type" : "function",
1917 "desc" : "Removes a listener",
1918 "sig" : "(eventName, handler, scope)",
1920 "memberOf" : "Roo.util.Observable",
1922 "isConstructor" : false,
1923 "isPrivate" : false,
1932 "name" : "eventName",
1934 "desc" : "The type of event to listen for",
1935 "isOptional" : false
1939 "type" : "Function",
1940 "desc" : "The handler to remove",
1941 "isOptional" : false
1946 "desc" : "(optional) The scope (this object) for the handler",
1947 "isOptional" : false
1953 "name" : "fireEvent",
1954 "type" : "function",
1955 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1956 "sig" : "(eventName, args)",
1958 "memberOf" : "Roo.util.Observable",
1960 "isConstructor" : false,
1961 "isPrivate" : false,
1970 "name" : "eventName",
1973 "isOptional" : false
1977 "type" : "Object...",
1978 "desc" : "Variable number of parameters are passed to handlers",
1979 "isOptional" : false
1986 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1991 "name" : "hasListener",
1992 "type" : "function",
1993 "desc" : "Checks to see if this object has any listeners for a specified event",
1994 "sig" : "(eventName)",
1996 "memberOf" : "Roo.util.Observable",
1998 "isConstructor" : false,
1999 "isPrivate" : false,
2008 "name" : "eventName",
2010 "desc" : "The name of the event to check for",
2011 "isOptional" : false
2018 "desc" : "True if the event is being listened for, else false"
2024 "type" : "function",
2025 "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.",
2026 "sig" : "(o, fn, scope)",
2028 "memberOf" : "Roo.util.Observable",
2030 "isConstructor" : false,
2031 "isPrivate" : false,
2041 "type" : "Observable",
2042 "desc" : "The Observable to capture",
2043 "isOptional" : false
2047 "type" : "Function",
2048 "desc" : "The function to call",
2049 "isOptional" : false
2054 "desc" : "(optional) The scope (this object) for the fn",
2055 "isOptional" : false
2061 "name" : "addListener",
2062 "type" : "function",
2063 "desc" : "Appends an event handler to this component",
2064 "sig" : "(eventName, handler, scope, options)",
2066 "memberOf" : "Roo.util.Observable",
2068 "isConstructor" : false,
2069 "isPrivate" : false,
2078 "name" : "eventName",
2080 "desc" : "The type of event to listen for",
2081 "isOptional" : false
2085 "type" : "Function",
2086 "desc" : "The method the event invokes",
2087 "isOptional" : false
2092 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
2093 "isOptional" : false
2098 "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>",
2099 "isOptional" : false