2 "name" : "Roo.SplitBar",
9 "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>",
10 "isSingleton" : false,
14 "isBuilderTop" : false,
15 "memberOf" : "SplitBar",
22 "name" : "dragElement",
23 "type" : "String/HTMLElement/Roo.Element",
24 "desc" : "The element to be dragged and act as the SplitBar.",
28 "name" : "resizingElement",
29 "type" : "String/HTMLElement/Roo.Element",
30 "desc" : "The element to be resized based on where the SplitBar element is dragged",
34 "name" : "orientation",
36 "desc" : "(optional) Either Roo.SplitBar.HORIZONTAL or Roo.SplitBar.VERTICAL. (Defaults to HORIZONTAL)",
42 "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).",
53 "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>",
54 "memberOf" : "Roo.util.Observable",
61 "name" : "getAdapter",
63 "desc" : "Get the adapter this SplitBar uses",
68 "isConstructor" : false,
81 "desc" : "The adapter object"
86 "name" : "setMaximumSize",
88 "desc" : "Sets the maximum size for the resizing element",
93 "isConstructor" : false,
105 "desc" : "The maximum size",
112 "name" : "setCurrentSize",
114 "desc" : "Sets the initialize size for the resizing element",
119 "isConstructor" : false,
131 "desc" : "The initial size",
140 "desc" : "Destroy this splitbar.",
141 "sig" : "(removeEl)",
145 "isConstructor" : false,
157 "desc" : "True to remove the element",
164 "name" : "setMinimumSize",
166 "desc" : "Sets the minimum size for the resizing element",
171 "isConstructor" : false,
183 "desc" : "The minimum size",
190 "name" : "getMinimumSize",
192 "desc" : "Gets the minimum size for the resizing element",
193 "sig" : "()\n{\n\n}",
197 "isConstructor" : false,
210 "desc" : "The minimum size"
215 "name" : "getMaximumSize",
217 "desc" : "Gets the maximum size for the resizing element",
218 "sig" : "()\n{\n\n}",
222 "isConstructor" : false,
235 "desc" : "The maximum size"
240 "name" : "setAdapter",
242 "desc" : "Set the adapter this SplitBar uses",
247 "isConstructor" : false,
259 "desc" : "A SplitBar adapter object",
266 "name" : "purgeListeners",
268 "desc" : "Removes all listeners for this object",
269 "sig" : "()\n{\n\n}",
271 "memberOf" : "Roo.util.Observable",
273 "isConstructor" : false,
287 "desc" : "Appends an event handler to this element (shorthand for addListener)",
288 "sig" : "(eventName, handler, scope, options)",
290 "memberOf" : "Roo.util.Observable",
292 "isConstructor" : false,
302 "name" : "eventName",
304 "desc" : "The type of event to listen for",
310 "desc" : "The method the event invokes",
316 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
322 "desc" : "(optional)",
331 "desc" : "Removes a listener (shorthand for removeListener)",
332 "sig" : "(eventName, handler, scope)",
334 "memberOf" : "Roo.util.Observable",
336 "isConstructor" : false,
346 "name" : "eventName",
348 "desc" : "The type of event to listen for",
354 "desc" : "The handler to remove",
360 "desc" : "(optional) The scope (this object) for the handler",
367 "name" : "addEvents",
369 "desc" : "Used to define events on this Observable",
372 "memberOf" : "Roo.util.Observable",
374 "isConstructor" : false,
386 "desc" : "The object with the events defined",
393 "name" : "releaseCapture",
395 "desc" : "Removes <b>all</b> added captures from the Observable.",
398 "memberOf" : "Roo.util.Observable",
400 "isConstructor" : false,
411 "type" : "Observable",
412 "desc" : "The Observable to release",
419 "name" : "removeListener",
421 "desc" : "Removes a listener",
422 "sig" : "(eventName, handler, scope)",
424 "memberOf" : "Roo.util.Observable",
426 "isConstructor" : false,
436 "name" : "eventName",
438 "desc" : "The type of event to listen for",
444 "desc" : "The handler to remove",
450 "desc" : "(optional) The scope (this object) for the handler",
457 "name" : "fireEvent",
459 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
460 "sig" : "(eventName, args)",
462 "memberOf" : "Roo.util.Observable",
464 "isConstructor" : false,
474 "name" : "eventName",
481 "type" : "Object...",
482 "desc" : "Variable number of parameters are passed to handlers",
490 "desc" : "returns false if any of the handlers return false otherwise it returns true"
495 "name" : "hasListener",
497 "desc" : "Checks to see if this object has any listeners for a specified event",
498 "sig" : "(eventName)",
500 "memberOf" : "Roo.util.Observable",
502 "isConstructor" : false,
512 "name" : "eventName",
514 "desc" : "The name of the event to check for",
522 "desc" : "True if the event is being listened for, else false"
529 "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.",
530 "sig" : "(o, fn, scope)",
532 "memberOf" : "Roo.util.Observable",
534 "isConstructor" : false,
545 "type" : "Observable",
546 "desc" : "The Observable to capture",
552 "desc" : "The function to call",
558 "desc" : "(optional) The scope (this object) for the fn",
565 "name" : "addListener",
567 "desc" : "Appends an event handler to this component",
568 "sig" : "(eventName, handler, scope, options)",
570 "memberOf" : "Roo.util.Observable",
572 "isConstructor" : false,
582 "name" : "eventName",
584 "desc" : "The type of event to listen for",
590 "desc" : "The method the event invokes",
596 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
602 "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>",
613 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
614 "sig" : "function (_self, newSize)\n{\n\n}",
623 "type" : "Roo.SplitBar",
630 "desc" : "the new width or height",
637 "name" : "beforeresize",
639 "desc" : "Fires before the splitter is dragged",
640 "sig" : "function (_self)\n{\n\n}",
649 "type" : "Roo.SplitBar",
659 "desc" : "Fires when the splitter is moved",
660 "sig" : "function (_self, newSize)\n{\n\n}",
669 "type" : "Roo.SplitBar",
676 "desc" : "the new width or height",