2 "name" : "Roo.SplitBar",
7 "desc" : "Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized).\n<br><br>\nUsage:\n<pre><code>\nvar split = new Roo.SplitBar(\"elementToDrag\", \"elementToSize\",\n Roo.SplitBar.HORIZONTAL, Roo.SplitBar.LEFT);\nsplit.setAdapter(new Roo.SplitBar.AbsoluteLayoutAdapter(\"container\"));\nsplit.minSize = 100;\nsplit.maxSize = 600;\nsplit.animate = true;\nsplit.on('moved', splitterMoved);\n</code></pre>",
11 "memberOf" : "SplitBar",
18 "name" : "dragElement",
19 "type" : "String/HTMLElement/Roo.Element",
20 "desc" : "The element to be dragged and act as the SplitBar.",
24 "name" : "resizingElement",
25 "type" : "String/HTMLElement/Roo.Element",
26 "desc" : "The element to be resized based on where the SplitBar element is dragged",
30 "name" : "orientation",
32 "desc" : "(optional) Either Roo.SplitBar.HORIZONTAL or Roo.SplitBar.VERTICAL. (Defaults to HORIZONTAL)",
38 "desc" : "(optional) Either Roo.SplitBar.LEFT or Roo.SplitBar.RIGHT for horizontal or \n Roo.SplitBar.TOP or Roo.SplitBar.BOTTOM for vertical. (By default, this is determined automatically by the initial\n position of the SplitBar).",
49 "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>",
50 "memberOf" : "Roo.util.Observable"
55 "name" : "getAdapter",
57 "desc" : "Get the adapter this SplitBar uses",
62 "isConstructor" : false,
75 "desc" : "The adapter object"
80 "name" : "setMaximumSize",
82 "desc" : "Sets the maximum size for the resizing element",
87 "isConstructor" : false,
99 "desc" : "The maximum size",
106 "name" : "setCurrentSize",
108 "desc" : "Sets the initialize size for the resizing element",
113 "isConstructor" : false,
125 "desc" : "The initial size",
134 "desc" : "Destroy this splitbar.",
135 "sig" : "(removeEl)",
139 "isConstructor" : false,
151 "desc" : "True to remove the element",
158 "name" : "setMinimumSize",
160 "desc" : "Sets the minimum size for the resizing element",
165 "isConstructor" : false,
177 "desc" : "The minimum size",
184 "name" : "getMinimumSize",
186 "desc" : "Gets the minimum size for the resizing element",
187 "sig" : "()\n{\n\n}",
191 "isConstructor" : false,
204 "desc" : "The minimum size"
209 "name" : "getMaximumSize",
211 "desc" : "Gets the maximum size for the resizing element",
212 "sig" : "()\n{\n\n}",
216 "isConstructor" : false,
229 "desc" : "The maximum size"
234 "name" : "setAdapter",
236 "desc" : "Set the adapter this SplitBar uses",
241 "isConstructor" : false,
253 "desc" : "A SplitBar adapter object",
260 "name" : "purgeListeners",
262 "desc" : "Removes all listeners for this object",
263 "sig" : "()\n{\n\n}",
265 "memberOf" : "Roo.util.Observable",
267 "isConstructor" : false,
281 "desc" : "Appends an event handler to this element (shorthand for addListener)",
282 "sig" : "(eventName, handler, scope, options)",
284 "memberOf" : "Roo.util.Observable",
286 "isConstructor" : false,
296 "name" : "eventName",
298 "desc" : "The type of event to listen for",
304 "desc" : "The method the event invokes",
310 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
316 "desc" : "(optional)",
325 "desc" : "Removes a listener (shorthand for removeListener)",
326 "sig" : "(eventName, handler, scope)",
328 "memberOf" : "Roo.util.Observable",
330 "isConstructor" : false,
340 "name" : "eventName",
342 "desc" : "The type of event to listen for",
348 "desc" : "The handler to remove",
354 "desc" : "(optional) The scope (this object) for the handler",
361 "name" : "addEvents",
363 "desc" : "Used to define events on this Observable",
366 "memberOf" : "Roo.util.Observable",
368 "isConstructor" : false,
380 "desc" : "The object with the events defined",
387 "name" : "releaseCapture",
389 "desc" : "Removes <b>all</b> added captures from the Observable.",
392 "memberOf" : "Roo.util.Observable",
394 "isConstructor" : false,
405 "type" : "Observable",
406 "desc" : "The Observable to release",
413 "name" : "removeListener",
415 "desc" : "Removes a listener",
416 "sig" : "(eventName, handler, scope)",
418 "memberOf" : "Roo.util.Observable",
420 "isConstructor" : false,
430 "name" : "eventName",
432 "desc" : "The type of event to listen for",
438 "desc" : "The handler to remove",
444 "desc" : "(optional) The scope (this object) for the handler",
451 "name" : "fireEvent",
453 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
454 "sig" : "(eventName, args)",
456 "memberOf" : "Roo.util.Observable",
458 "isConstructor" : false,
468 "name" : "eventName",
475 "type" : "Object...",
476 "desc" : "Variable number of parameters are passed to handlers",
484 "desc" : "returns false if any of the handlers return false otherwise it returns true"
489 "name" : "hasListener",
491 "desc" : "Checks to see if this object has any listeners for a specified event",
492 "sig" : "(eventName)",
494 "memberOf" : "Roo.util.Observable",
496 "isConstructor" : false,
506 "name" : "eventName",
508 "desc" : "The name of the event to check for",
516 "desc" : "True if the event is being listened for, else false"
523 "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.",
524 "sig" : "(o, fn, scope)",
526 "memberOf" : "Roo.util.Observable",
528 "isConstructor" : false,
539 "type" : "Observable",
540 "desc" : "The Observable to capture",
546 "desc" : "The function to call",
552 "desc" : "(optional) The scope (this object) for the fn",
559 "name" : "addListener",
561 "desc" : "Appends an event handler to this component",
562 "sig" : "(eventName, handler, scope, options)",
564 "memberOf" : "Roo.util.Observable",
566 "isConstructor" : false,
576 "name" : "eventName",
578 "desc" : "The type of event to listen for",
584 "desc" : "The method the event invokes",
590 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
596 "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>",
607 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
608 "sig" : "function (_self, newSize)\n{\n\n}",
617 "type" : "Roo.SplitBar",
624 "desc" : "the new width or height",
631 "name" : "beforeresize",
633 "desc" : "Fires before the splitter is dragged",
634 "sig" : "function (_self)\n{\n\n}",
643 "type" : "Roo.SplitBar",
653 "desc" : "Fires when the splitter is moved",
654 "sig" : "function (_self, newSize)\n{\n\n}",
663 "type" : "Roo.SplitBar",
670 "desc" : "the new width or height",