2 "name" : "Roo.dd.DropZone",
9 "desc" : "This class provides a container DD instance that proxies for multiple child node targets.<br />\nBy default, this class requires that child nodes accepting drop are registered with {@link Roo.dd.Registry}.",
10 "isSingleton" : false,
13 "memberOf" : "DropZone",
21 "type" : "String/HTMLElement/Element",
22 "desc" : "The container element",
37 "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>",
38 "memberOf" : "Roo.util.Observable",
42 "name" : "dropNotAllowed",
44 "desc" : "The CSS class returned to the drag source when drop is not allowed (defaults to \"x-dd-drop-nodrop\").",
45 "memberOf" : "Roo.dd.DropTarget",
50 "type" : "boolean|String",
51 "desc" : "true/false or string (ok-add/ok-sub/ok/nodrop)\nif the drop point is valid for over/enter..",
52 "memberOf" : "Roo.dd.DropTarget",
58 "desc" : "set this after drop listener..",
59 "memberOf" : "Roo.dd.DropTarget",
63 "name" : "dropAllowed",
65 "desc" : "The CSS class returned to the drag source when drop is allowed (defaults to \"x-dd-drop-ok\").",
66 "memberOf" : "Roo.dd.DropTarget",
72 "desc" : "The CSS class applied to the drop target element while the drag source is over it (defaults to \"\").",
73 "memberOf" : "Roo.dd.DropTarget",
79 "desc" : "The drag drop group to handle drop events for",
80 "memberOf" : "Roo.dd.DropTarget",
86 "name" : "onNodeEnter",
87 "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has entered a drop node\nthat it has registered. This method has no default implementation and should be overridden to provide\nnode-specific processing if necessary.",
89 "isConstructor" : false,
91 "memberOf" : "Roo.dd.DropZone",
100 "desc" : "The custom data associated with the drop node (this is the same value returned from \n{@link #getTargetFromEvent} for this node)",
105 "type" : "Roo.dd.DragSource",
106 "desc" : "The drag source that was dragged over this drop zone",
112 "desc" : "The event",
118 "desc" : "An object containing arbitrary data supplied by the drag source",
125 "name" : "onContainerDrop",
126 "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has been dropped on it,\nbut not on any of its registered drop nodes. The default implementation returns false, so it should be\noverridden to provide the appropriate processing of the drop event if you need the drop zone itself to\nbe able to accept drops. It should return true when valid so that the drag source's repair action does not run.",
128 "isConstructor" : false,
130 "memberOf" : "Roo.dd.DropZone",
138 "type" : "Roo.dd.DragSource",
139 "desc" : "The drag source that was dragged over this drop zone",
145 "desc" : "The event",
151 "desc" : "An object containing arbitrary data supplied by the drag source",
159 "desc" : "True if the drop was valid, else false"
164 "name" : "notifyOver",
165 "desc" : "The function a {@link Roo.dd.DragSource} calls continuously while it is being dragged over the drop zone.\nThis method will be called on every mouse movement while the drag source is over the drop zone.\nIt will call {@link #onNodeOver} while the drag source is over a registered node, and will also automatically\ndelegate to the appropriate node-specific methods as necessary when the drag source enters and exits\nregistered nodes ({@link #onNodeEnter}, {@link #onNodeOut}). If the drag source is not currently over a\nregistered node, it will call {@link #onContainerOver}.",
167 "isConstructor" : false,
169 "memberOf" : "Roo.dd.DropZone",
177 "type" : "Roo.dd.DragSource",
178 "desc" : "The drag source that was dragged over this drop zone",
184 "desc" : "The event",
190 "desc" : "An object containing arbitrary data supplied by the drag source",
198 "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
203 "name" : "onNodeDrop",
204 "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has been dropped onto\nthe drop node. The default implementation returns false, so it should be overridden to provide the\nappropriate processing of the drop event and return true so that the drag source's repair action does not run.",
206 "isConstructor" : false,
208 "memberOf" : "Roo.dd.DropZone",
217 "desc" : "The custom data associated with the drop node (this is the same value returned from\n{@link #getTargetFromEvent} for this node)",
222 "type" : "Roo.dd.DragSource",
223 "desc" : "The drag source that was dragged over this drop zone",
229 "desc" : "The event",
235 "desc" : "An object containing arbitrary data supplied by the drag source",
243 "desc" : "True if the drop was valid, else false"
248 "name" : "notifyOut",
249 "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop zone that the source has been dragged\nout of the zone without dropping. If the drag source is currently over a registered node, the notification\nwill be delegated to {@link #onNodeOut} for node-specific handling, otherwise it will be ignored.",
251 "isConstructor" : false,
253 "memberOf" : "Roo.dd.DropZone",
261 "type" : "Roo.dd.DragSource",
262 "desc" : "The drag source that was dragged over this drop target",
268 "desc" : "The event",
274 "desc" : "An object containing arbitrary data supplied by the drag zone",
281 "name" : "notifyEnter",
282 "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop zone that the source is now over\nthe zone. The default implementation returns this.dropNotAllowed and expects that only registered drop\nnodes can process drag drop operations, so if you need the drop zone itself to be able to process drops\nyou should override this method and provide a custom implementation.",
284 "isConstructor" : false,
286 "memberOf" : "Roo.dd.DropZone",
294 "type" : "Roo.dd.DragSource",
295 "desc" : "The drag source that was dragged over this drop zone",
301 "desc" : "The event",
307 "desc" : "An object containing arbitrary data supplied by the drag source",
315 "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
320 "name" : "notifyDrop",
321 "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop zone that the dragged item has\nbeen dropped on it. The drag zone will look up the target node based on the event passed in, and if there\nis a node registered for that event, it will delegate to {@link #onNodeDrop} for node-specific handling,\notherwise it will call {@link #onContainerDrop}.",
323 "isConstructor" : false,
325 "memberOf" : "Roo.dd.DropZone",
333 "type" : "Roo.dd.DragSource",
334 "desc" : "The drag source that was dragged over this drop zone",
340 "desc" : "The event",
346 "desc" : "An object containing arbitrary data supplied by the drag source",
354 "desc" : "True if the drop was valid, else false"
359 "name" : "onNodeOut",
360 "desc" : "Called internally when the DropZone determines that a {@link Roo.dd.DragSource} has been dragged out of\nthe drop node without dropping. This method has no default implementation and should be overridden to provide\nnode-specific processing if necessary.",
362 "isConstructor" : false,
364 "memberOf" : "Roo.dd.DropZone",
373 "desc" : "The custom data associated with the drop node (this is the same value returned from\n{@link #getTargetFromEvent} for this node)",
378 "type" : "Roo.dd.DragSource",
379 "desc" : "The drag source that was dragged over this drop zone",
385 "desc" : "The event",
391 "desc" : "An object containing arbitrary data supplied by the drag source",
398 "name" : "onContainerOver",
399 "desc" : "Called internally while the DropZone determines that a {@link Roo.dd.DragSource} is being dragged over it,\nbut not over any of its registered drop nodes. The default implementation returns this.dropNotAllowed, so\nit should be overridden to provide the proper feedback if necessary.",
401 "isConstructor" : false,
403 "memberOf" : "Roo.dd.DropZone",
411 "type" : "Roo.dd.DragSource",
412 "desc" : "The drag source that was dragged over this drop zone",
418 "desc" : "The event",
424 "desc" : "An object containing arbitrary data supplied by the drag source",
432 "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
437 "name" : "getTargetFromEvent",
438 "desc" : "Returns a custom data object associated with the DOM node that is the target of the event. By default\nthis looks up the event target in the {@link Roo.dd.Registry}, although you can override this method to\nprovide your own custom lookup.",
440 "isConstructor" : false,
442 "memberOf" : "Roo.dd.DropZone",
451 "desc" : "The event",
459 "desc" : "data The custom data"
464 "name" : "onNodeOver",
465 "desc" : "Called internally while the DropZone determines that a {@link Roo.dd.DragSource} is over a drop node\nthat it has registered. The default implementation returns this.dropNotAllowed, so it should be\noverridden to provide the proper feedback.",
467 "isConstructor" : false,
469 "memberOf" : "Roo.dd.DropZone",
478 "desc" : "The custom data associated with the drop node (this is the same value returned from\n{@link #getTargetFromEvent} for this node)",
483 "type" : "Roo.dd.DragSource",
484 "desc" : "The drag source that was dragged over this drop zone",
490 "desc" : "The event",
496 "desc" : "An object containing arbitrary data supplied by the drag source",
504 "desc" : "status The CSS class that communicates the drop status back to the source so that the\nunderlying {@link Roo.dd.StatusProxy} can be updated"
509 "name" : "setHandleElId",
510 "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.",
512 "isConstructor" : false,
514 "memberOf" : "Roo.dd.DragDrop",
523 "desc" : "{string} the id of the element that will be used to\ninitiate the drag.",
531 "desc" : "Sets up the DragDrop object. Must be called in the constructor of any\nRoo.dd.DragDrop subclass",
533 "isConstructor" : false,
535 "memberOf" : "Roo.dd.DragDrop",
544 "desc" : "the id of the linked element",
550 "desc" : "the group of related items",
556 "desc" : "configuration attributes",
563 "name" : "removeInvalidHandleType",
564 "desc" : "Unsets an excluded tag name set by addInvalidHandleType",
566 "isConstructor" : false,
568 "memberOf" : "Roo.dd.DragDrop",
577 "desc" : "the type of element to unexclude",
585 "desc" : "Remove all drag and drop hooks for this element",
587 "isConstructor" : false,
589 "memberOf" : "Roo.dd.DragDrop",
598 "name" : "addInvalidHandleType",
599 "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.",
601 "isConstructor" : false,
603 "memberOf" : "Roo.dd.DragDrop",
612 "desc" : "the type of element to exclude",
619 "name" : "onDragDrop",
620 "desc" : "Abstract method called when this item is dropped on another DragDrop\nobj",
622 "isConstructor" : false,
624 "memberOf" : "Roo.dd.DragDrop",
633 "desc" : "the mouseup event",
638 "type" : "String|DragDrop[]",
639 "desc" : "In POINT mode, the element\nid this was dropped on. In INTERSECT mode, an array of dd items this\nwas dropped on.",
646 "name" : "removeInvalidHandleId",
647 "desc" : "Unsets an invalid handle id",
649 "isConstructor" : false,
651 "memberOf" : "Roo.dd.DragDrop",
660 "desc" : "the id of the element to re-enable",
667 "name" : "onAvailable",
668 "desc" : "Override the onAvailable method to do what is needed after the initial\nposition was determined.",
670 "isConstructor" : false,
672 "memberOf" : "Roo.dd.DragDrop",
681 "name" : "setOuterHandleElId",
682 "desc" : "Allows you to set an element outside of the linked element as a drag\nhandle",
684 "isConstructor" : false,
686 "memberOf" : "Roo.dd.DragDrop",
695 "desc" : "the id of the element that will be used to initiate the drag",
702 "name" : "onMouseUp",
703 "desc" : "Event handler that fires when a drag/drop obj gets a mouseup",
705 "isConstructor" : false,
707 "memberOf" : "Roo.dd.DragDrop",
716 "desc" : "the mouseup event",
723 "name" : "getDragEl",
724 "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",
726 "isConstructor" : false,
728 "memberOf" : "Roo.dd.DragDrop",
737 "type" : "HTMLElement",
738 "desc" : "the html element"
743 "name" : "setYConstraint",
744 "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.",
746 "isConstructor" : false,
748 "memberOf" : "Roo.dd.DragDrop",
757 "desc" : "the number of pixels the element can move up",
763 "desc" : "the number of pixels the element can move down",
767 "name" : "iTickSize",
769 "desc" : "optional parameter for specifying that the\nelement should move iTickSize pixels at a time.",
776 "name" : "clearConstraints",
777 "desc" : "Clears any constraints applied to this instance. Also clears ticks\nsince they can't exist independent of a constraint at this time.",
779 "isConstructor" : false,
781 "memberOf" : "Roo.dd.DragDrop",
790 "name" : "onInvalidDrop",
791 "desc" : "Abstract method called when this item is dropped on an area with no\ndrop target",
793 "isConstructor" : false,
795 "memberOf" : "Roo.dd.DragDrop",
804 "desc" : "the mouseup event",
811 "name" : "addInvalidHandleId",
812 "desc" : "Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag",
814 "isConstructor" : false,
816 "memberOf" : "Roo.dd.DragDrop",
825 "desc" : "the element id of the element you wish to ignore",
832 "name" : "removeInvalidHandleClass",
833 "desc" : "Unsets an invalid css class",
835 "isConstructor" : false,
837 "memberOf" : "Roo.dd.DragDrop",
846 "desc" : "the class of the element(s) you wish to\nre-enable",
853 "name" : "onDragOut",
854 "desc" : "Abstract method called when we are no longer hovering over an element",
856 "isConstructor" : false,
858 "memberOf" : "Roo.dd.DragDrop",
867 "desc" : "the mousemove event",
872 "type" : "String|DragDrop[]",
873 "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.",
880 "name" : "setDragElId",
881 "desc" : "Allows you to specify that an element other than the linked element\nwill be moved with the cursor during a drag",
883 "isConstructor" : false,
885 "memberOf" : "Roo.dd.DragDrop",
894 "desc" : "{string} the id of the element that will be used to initiate the drag",
902 "desc" : "Fired when we are done dragging the object",
904 "isConstructor" : false,
906 "memberOf" : "Roo.dd.DragDrop",
915 "desc" : "the mouseup event",
923 "desc" : "Returns a reference to the linked element",
925 "isConstructor" : false,
927 "memberOf" : "Roo.dd.DragDrop",
936 "type" : "HTMLElement",
937 "desc" : "the html element"
943 "desc" : "Abstract method called during the onMouseMove event while dragging an\nobject.",
945 "isConstructor" : false,
947 "memberOf" : "Roo.dd.DragDrop",
956 "desc" : "the mousemove event",
963 "name" : "onDragEnter",
964 "desc" : "Abstract method called when this element fist begins hovering over\nanother DragDrop obj",
966 "isConstructor" : false,
968 "memberOf" : "Roo.dd.DragDrop",
977 "desc" : "the mousemove event",
982 "type" : "String|DragDrop[]",
983 "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.",
991 "desc" : "Lock this instance",
993 "isConstructor" : false,
995 "memberOf" : "Roo.dd.DragDrop",
1004 "name" : "onMouseDown",
1005 "desc" : "Event handler that fires when a drag/drop obj gets a mousedown",
1007 "isConstructor" : false,
1008 "isPrivate" : false,
1009 "memberOf" : "Roo.dd.DragDrop",
1018 "desc" : "the mousedown event",
1019 "isOptional" : false
1025 "name" : "applyConfig",
1026 "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.",
1028 "isConstructor" : false,
1029 "isPrivate" : false,
1030 "memberOf" : "Roo.dd.DragDrop",
1040 "desc" : "Unlock this instace",
1042 "isConstructor" : false,
1043 "isPrivate" : false,
1044 "memberOf" : "Roo.dd.DragDrop",
1053 "name" : "isTarget",
1054 "desc" : "By default, all insances can be a drop target. This can be disabled by\nsetting isTarget to false.",
1056 "isConstructor" : false,
1057 "isPrivate" : false,
1058 "memberOf" : "Roo.dd.DragDrop",
1067 "name" : "setInitPosition",
1068 "desc" : "Stores the initial placement of the linked element.",
1070 "isConstructor" : false,
1071 "isPrivate" : false,
1072 "memberOf" : "Roo.dd.DragDrop",
1081 "desc" : "the X offset, default 0",
1082 "isOptional" : false
1087 "desc" : "the Y offset, default 0",
1088 "isOptional" : false
1094 "name" : "initTarget",
1095 "desc" : "Initializes Targeting functionality only... the object does not\nget a mousedown handler.",
1097 "isConstructor" : false,
1098 "isPrivate" : false,
1099 "memberOf" : "Roo.dd.DragDrop",
1108 "desc" : "the id of the linked element",
1109 "isOptional" : false
1114 "desc" : "the group of related items",
1115 "isOptional" : false
1120 "desc" : "configuration attributes",
1121 "isOptional" : false
1127 "name" : "addToGroup",
1128 "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.",
1130 "isConstructor" : false,
1131 "isPrivate" : false,
1132 "memberOf" : "Roo.dd.DragDrop",
1141 "desc" : "{string} the name of the group",
1142 "isOptional" : false
1148 "name" : "onDragOver",
1149 "desc" : "Abstract method called when this element is hovering over another\nDragDrop obj",
1151 "isConstructor" : false,
1152 "isPrivate" : false,
1153 "memberOf" : "Roo.dd.DragDrop",
1162 "desc" : "the mousemove event",
1163 "isOptional" : false
1167 "type" : "String|DragDrop[]",
1168 "desc" : "In POINT mode, the element\nid this is hovering over. In INTERSECT mode, an array of dd items\nbeing hovered over.",
1169 "isOptional" : false
1175 "name" : "toString",
1176 "desc" : "toString method",
1178 "isConstructor" : false,
1179 "isPrivate" : false,
1180 "memberOf" : "Roo.dd.DragDrop",
1190 "desc" : "string representation of the dd obj"
1195 "name" : "setPadding",
1196 "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.",
1198 "isConstructor" : false,
1199 "isPrivate" : false,
1200 "memberOf" : "Roo.dd.DragDrop",
1210 "isOptional" : false
1215 "desc" : "Right pad",
1216 "isOptional" : false
1222 "isOptional" : false
1227 "desc" : "Left pad",
1228 "isOptional" : false
1234 "name" : "removeFromGroup",
1235 "desc" : "Remove's this instance from the supplied interaction group",
1237 "isConstructor" : false,
1238 "isPrivate" : false,
1239 "memberOf" : "Roo.dd.DragDrop",
1248 "desc" : "The group to drop",
1249 "isOptional" : false
1255 "name" : "addInvalidHandleClass",
1256 "desc" : "Lets you specify a css class of elements that will not initiate a drag",
1258 "isConstructor" : false,
1259 "isPrivate" : false,
1260 "memberOf" : "Roo.dd.DragDrop",
1267 "name" : "cssClass",
1269 "desc" : "the class of the elements you wish to ignore",
1270 "isOptional" : false
1276 "name" : "startDrag",
1277 "desc" : "Abstract method called after a drag/drop object is clicked\nand the drag or mousedown time thresholds have beeen met.",
1279 "isConstructor" : false,
1280 "isPrivate" : false,
1281 "memberOf" : "Roo.dd.DragDrop",
1290 "desc" : "click location",
1291 "isOptional" : false
1296 "desc" : "click location",
1297 "isOptional" : false
1304 "desc" : "The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.",
1306 "isConstructor" : false,
1307 "isPrivate" : false,
1308 "memberOf" : "Roo.dd.DragDrop",
1317 "name" : "resetConstraints",
1318 "desc" : "resetConstraints must be called if you manually reposition a dd element.",
1320 "isConstructor" : false,
1321 "isPrivate" : false,
1322 "memberOf" : "Roo.dd.DragDrop",
1329 "name" : "maintainOffset",
1332 "isOptional" : false
1338 "name" : "clearTicks",
1339 "desc" : "Clears any tick interval defined for this instance",
1341 "isConstructor" : false,
1342 "isPrivate" : false,
1343 "memberOf" : "Roo.dd.DragDrop",
1352 "name" : "isLocked",
1353 "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.)",
1355 "isConstructor" : false,
1356 "isPrivate" : false,
1357 "memberOf" : "Roo.dd.DragDrop",
1367 "desc" : "true if this obj or all drag/drop is locked, else\nfalse"
1372 "name" : "setXConstraint",
1373 "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.",
1375 "isConstructor" : false,
1376 "isPrivate" : false,
1377 "memberOf" : "Roo.dd.DragDrop",
1386 "desc" : "the number of pixels the element can move to the left",
1387 "isOptional" : false
1392 "desc" : "the number of pixels the element can move to the\nright",
1393 "isOptional" : false
1396 "name" : "iTickSize",
1398 "desc" : "optional parameter for specifying that the\nelement\nshould move iTickSize pixels at a time.",
1399 "isOptional" : false
1405 "name" : "isValidHandleChild",
1406 "desc" : "Checks the tag exclusion list to see if this click should be ignored",
1408 "isConstructor" : false,
1409 "isPrivate" : false,
1410 "memberOf" : "Roo.dd.DragDrop",
1418 "type" : "HTMLElement",
1419 "desc" : "the HTMLElement to evaluate",
1420 "isOptional" : false
1427 "desc" : "true if this is a valid tag type, false if not"
1432 "name" : "purgeListeners",
1433 "desc" : "Removes all listeners for this object",
1435 "isConstructor" : false,
1436 "isPrivate" : false,
1437 "memberOf" : "Roo.util.Observable",
1447 "desc" : "Appends an event handler to this element (shorthand for addListener)",
1449 "isConstructor" : false,
1450 "isPrivate" : false,
1451 "memberOf" : "Roo.util.Observable",
1458 "name" : "eventName",
1460 "desc" : "The type of event to listen for",
1461 "isOptional" : false
1465 "type" : "Function",
1466 "desc" : "The method the event invokes",
1467 "isOptional" : false
1472 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1473 "isOptional" : false
1478 "desc" : "(optional)",
1479 "isOptional" : false
1486 "desc" : "Removes a listener (shorthand for removeListener)",
1488 "isConstructor" : false,
1489 "isPrivate" : false,
1490 "memberOf" : "Roo.util.Observable",
1497 "name" : "eventName",
1499 "desc" : "The type of event to listen for",
1500 "isOptional" : false
1504 "type" : "Function",
1505 "desc" : "The handler to remove",
1506 "isOptional" : false
1511 "desc" : "(optional) The scope (this object) for the handler",
1512 "isOptional" : false
1518 "name" : "addEvents",
1519 "desc" : "Used to define events on this Observable",
1521 "isConstructor" : false,
1522 "isPrivate" : false,
1523 "memberOf" : "Roo.util.Observable",
1532 "desc" : "The object with the events defined",
1533 "isOptional" : false
1539 "name" : "releaseCapture",
1540 "desc" : "Removes <b>all</b> added captures from the Observable.",
1542 "isConstructor" : false,
1543 "isPrivate" : false,
1544 "memberOf" : "Roo.util.Observable",
1552 "type" : "Observable",
1553 "desc" : "The Observable to release",
1554 "isOptional" : false
1560 "name" : "removeListener",
1561 "desc" : "Removes a listener",
1563 "isConstructor" : false,
1564 "isPrivate" : false,
1565 "memberOf" : "Roo.util.Observable",
1572 "name" : "eventName",
1574 "desc" : "The type of event to listen for",
1575 "isOptional" : false
1579 "type" : "Function",
1580 "desc" : "The handler to remove",
1581 "isOptional" : false
1586 "desc" : "(optional) The scope (this object) for the handler",
1587 "isOptional" : false
1593 "name" : "fireEvent",
1594 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
1596 "isConstructor" : false,
1597 "isPrivate" : false,
1598 "memberOf" : "Roo.util.Observable",
1605 "name" : "eventName",
1608 "isOptional" : false
1612 "type" : "Object...",
1613 "desc" : "Variable number of parameters are passed to handlers",
1614 "isOptional" : false
1621 "desc" : "returns false if any of the handlers return false otherwise it returns true"
1626 "name" : "hasListener",
1627 "desc" : "Checks to see if this object has any listeners for a specified event",
1629 "isConstructor" : false,
1630 "isPrivate" : false,
1631 "memberOf" : "Roo.util.Observable",
1638 "name" : "eventName",
1640 "desc" : "The name of the event to check for",
1641 "isOptional" : false
1648 "desc" : "True if the event is being listened for, else false"
1654 "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.",
1656 "isConstructor" : false,
1657 "isPrivate" : false,
1658 "memberOf" : "Roo.util.Observable",
1666 "type" : "Observable",
1667 "desc" : "The Observable to capture",
1668 "isOptional" : false
1672 "type" : "Function",
1673 "desc" : "The function to call",
1674 "isOptional" : false
1679 "desc" : "(optional) The scope (this object) for the fn",
1680 "isOptional" : false
1686 "name" : "addListener",
1687 "desc" : "Appends an event handler to this component",
1689 "isConstructor" : false,
1690 "isPrivate" : false,
1691 "memberOf" : "Roo.util.Observable",
1698 "name" : "eventName",
1700 "desc" : "The type of event to listen for",
1701 "isOptional" : false
1705 "type" : "Function",
1706 "desc" : "The method the event invokes",
1707 "isOptional" : false
1712 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
1713 "isOptional" : false
1718 "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>",
1719 "isOptional" : false
1728 "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop target that the source has been dragged\nout of the target without dropping. This default implementation simply removes the CSS class specified by\noverClass (if any) from the drop element.",
1729 "memberOf" : "Roo.dd.DropTarget",
1737 "type" : "Roo.dd.DragSource",
1738 "desc" : "The drag source that was dragged over this drop target",
1739 "isOptional" : false
1744 "desc" : "The event",
1745 "isOptional" : false
1750 "desc" : "An object containing arbitrary data supplied by the drag source",
1751 "isOptional" : false
1758 "desc" : "The function a {@link Roo.dd.DragSource} calls continuously while it is being dragged over the target.\nThis method will be called on every mouse movement while the drag source is over the drop target.\nThis default implementation simply returns the dropAllowed config value.\n\nIMPORTANT : it should set this.dropAllowed",
1759 "memberOf" : "Roo.dd.DropTarget",
1767 "type" : "Roo.dd.DragSource",
1768 "desc" : "The drag source that was dragged over this drop target",
1769 "isOptional" : false
1774 "desc" : "The event",
1775 "isOptional" : false
1780 "desc" : "An object containing arbitrary data supplied by the drag source",
1781 "isOptional" : false
1788 "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop target that the source is now over the\ntarget. This default implementation adds the CSS class specified by overClass (if any) to the drop element\nand returns the dropAllowed config value. This method should be overridden if drop validation is required.\n\nIMPORTANT : it should set this.overClass and this.dropAllowed",
1789 "memberOf" : "Roo.dd.DropTarget",
1797 "type" : "Roo.dd.DragSource",
1798 "desc" : "The drag source that was dragged over this drop target",
1799 "isOptional" : false
1804 "desc" : "The event",
1805 "isOptional" : false
1810 "desc" : "An object containing arbitrary data supplied by the drag source",
1811 "isOptional" : false
1818 "desc" : "The function a {@link Roo.dd.DragSource} calls once to notify this drop target that the dragged item has\nbeen dropped on it. This method has no default implementation and returns false, so you must provide an\nimplementation that does something to process the drop event and returns true so that the drag source's\nrepair action does not run.\n\nIMPORTANT : it should set this.success",
1819 "memberOf" : "Roo.dd.DropTarget",
1827 "type" : "Roo.dd.DragSource",
1828 "desc" : "The drag source that was dragged over this drop target",
1829 "isOptional" : false
1834 "desc" : "The event",
1835 "isOptional" : false
1840 "desc" : "An object containing arbitrary data supplied by the drag source",
1841 "isOptional" : false