2 "name" : "Roo.bootstrap.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.bootstrap.SplitBar(\"elementToDrag\", \"elementToSize\",\n Roo.bootstrap.SplitBar.HORIZONTAL, Roo.bootstrap.SplitBar.LEFT);\nsplit.setAdapter(new Roo.bootstrap.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",
28 "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>",
29 "memberOf" : "Roo.util.Observable",
36 "name" : "setCurrentSize",
38 "desc" : "Sets the initialize size for the resizing element",
43 "isConstructor" : false,
55 "desc" : "The initial size",
62 "name" : "setMinimumSize",
64 "desc" : "Sets the minimum size for the resizing element",
69 "isConstructor" : false,
81 "desc" : "The minimum size",
88 "name" : "setAdapter",
90 "desc" : "Set the adapter this SplitBar uses",
95 "isConstructor" : false,
107 "desc" : "A SplitBar adapter object",
114 "name" : "getMinimumSize",
116 "desc" : "Gets the minimum size for the resizing element",
117 "sig" : "()\n{\n\n}",
121 "isConstructor" : false,
134 "desc" : "The minimum size"
141 "desc" : "Destroy this splitbar.",
142 "sig" : "(removeEl)",
146 "isConstructor" : false,
158 "desc" : "True to remove the element",
165 "name" : "setMaximumSize",
167 "desc" : "Sets the maximum size for the resizing element",
172 "isConstructor" : false,
184 "desc" : "The maximum size",
191 "name" : "getMaximumSize",
193 "desc" : "Gets the maximum size for the resizing element",
194 "sig" : "()\n{\n\n}",
198 "isConstructor" : false,
211 "desc" : "The maximum size"
216 "name" : "getAdapter",
218 "desc" : "Get the adapter this SplitBar uses",
219 "sig" : "()\n{\n\n}",
223 "isConstructor" : false,
236 "desc" : "The adapter object"
241 "name" : "purgeListeners",
243 "desc" : "Removes all listeners for this object",
244 "sig" : "()\n{\n\n}",
246 "memberOf" : "Roo.util.Observable",
248 "isConstructor" : false,
262 "desc" : "Appends an event handler to this element (shorthand for addListener)",
263 "sig" : "(eventName, handler, scope, options)",
265 "memberOf" : "Roo.util.Observable",
267 "isConstructor" : false,
277 "name" : "eventName",
279 "desc" : "The type of event to listen for",
285 "desc" : "The method the event invokes",
291 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
297 "desc" : "(optional)",
306 "desc" : "Removes a listener (shorthand for removeListener)",
307 "sig" : "(eventName, handler, scope)",
309 "memberOf" : "Roo.util.Observable",
311 "isConstructor" : false,
321 "name" : "eventName",
323 "desc" : "The type of event to listen for",
329 "desc" : "The handler to remove",
335 "desc" : "(optional) The scope (this object) for the handler",
342 "name" : "addEvents",
344 "desc" : "Used to define events on this Observable",
347 "memberOf" : "Roo.util.Observable",
349 "isConstructor" : false,
361 "desc" : "The object with the events defined",
368 "name" : "releaseCapture",
370 "desc" : "Removes <b>all</b> added captures from the Observable.",
373 "memberOf" : "Roo.util.Observable",
375 "isConstructor" : false,
386 "type" : "Observable",
387 "desc" : "The Observable to release",
394 "name" : "removeListener",
396 "desc" : "Removes a listener",
397 "sig" : "(eventName, handler, scope)",
399 "memberOf" : "Roo.util.Observable",
401 "isConstructor" : false,
411 "name" : "eventName",
413 "desc" : "The type of event to listen for",
419 "desc" : "The handler to remove",
425 "desc" : "(optional) The scope (this object) for the handler",
432 "name" : "fireEvent",
434 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
435 "sig" : "(eventName, args)",
437 "memberOf" : "Roo.util.Observable",
439 "isConstructor" : false,
449 "name" : "eventName",
456 "type" : "Object...",
457 "desc" : "Variable number of parameters are passed to handlers",
465 "desc" : "returns false if any of the handlers return false otherwise it returns true"
470 "name" : "hasListener",
472 "desc" : "Checks to see if this object has any listeners for a specified event",
473 "sig" : "(eventName)",
475 "memberOf" : "Roo.util.Observable",
477 "isConstructor" : false,
487 "name" : "eventName",
489 "desc" : "The name of the event to check for",
497 "desc" : "True if the event is being listened for, else false"
504 "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.",
505 "sig" : "(o, fn, scope)",
507 "memberOf" : "Roo.util.Observable",
509 "isConstructor" : false,
520 "type" : "Observable",
521 "desc" : "The Observable to capture",
527 "desc" : "The function to call",
533 "desc" : "(optional) The scope (this object) for the fn",
540 "name" : "addListener",
542 "desc" : "Appends an event handler to this component",
543 "sig" : "(eventName, handler, scope, options)",
545 "memberOf" : "Roo.util.Observable",
547 "isConstructor" : false,
557 "name" : "eventName",
559 "desc" : "The type of event to listen for",
565 "desc" : "The method the event invokes",
571 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
577 "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>",
586 "name" : "beforeresize",
588 "desc" : "Fires before the splitter is dragged",
589 "sig" : "function (_self)\n{\n\n}",
598 "type" : "Roo.bootstrap.SplitBar",
608 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
609 "sig" : "function (_self, newSize)\n{\n\n}",
618 "type" : "Roo.bootstrap.SplitBar",
625 "desc" : "the new width or height",
634 "desc" : "Fires when the splitter is moved",
635 "sig" : "function (_self, newSize)\n{\n\n}",
644 "type" : "Roo.bootstrap.SplitBar",
651 "desc" : "the new width or height",