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"
34 "name" : "setCurrentSize",
36 "desc" : "Sets the initialize size for the resizing element",
41 "isConstructor" : false,
53 "desc" : "The initial size",
60 "name" : "setMinimumSize",
62 "desc" : "Sets the minimum size for the resizing element",
67 "isConstructor" : false,
79 "desc" : "The minimum size",
86 "name" : "setAdapter",
88 "desc" : "Set the adapter this SplitBar uses",
93 "isConstructor" : false,
105 "desc" : "A SplitBar adapter object",
112 "name" : "getMinimumSize",
114 "desc" : "Gets the minimum size for the resizing element",
115 "sig" : "()\n{\n\n}",
119 "isConstructor" : false,
132 "desc" : "The minimum size"
139 "desc" : "Destroy this splitbar.",
140 "sig" : "(removeEl)",
144 "isConstructor" : false,
156 "desc" : "True to remove the element",
163 "name" : "setMaximumSize",
165 "desc" : "Sets the maximum size for the resizing element",
170 "isConstructor" : false,
182 "desc" : "The maximum size",
189 "name" : "getMaximumSize",
191 "desc" : "Gets the maximum size for the resizing element",
192 "sig" : "()\n{\n\n}",
196 "isConstructor" : false,
209 "desc" : "The maximum size"
214 "name" : "getAdapter",
216 "desc" : "Get the adapter this SplitBar uses",
217 "sig" : "()\n{\n\n}",
221 "isConstructor" : false,
234 "desc" : "The adapter object"
239 "name" : "purgeListeners",
241 "desc" : "Removes all listeners for this object",
242 "sig" : "()\n{\n\n}",
244 "memberOf" : "Roo.util.Observable",
246 "isConstructor" : false,
260 "desc" : "Appends an event handler to this element (shorthand for addListener)",
261 "sig" : "(eventName, handler, scope, options)",
263 "memberOf" : "Roo.util.Observable",
265 "isConstructor" : false,
275 "name" : "eventName",
277 "desc" : "The type of event to listen for",
283 "desc" : "The method the event invokes",
289 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
295 "desc" : "(optional)",
304 "desc" : "Removes a listener (shorthand for removeListener)",
305 "sig" : "(eventName, handler, scope)",
307 "memberOf" : "Roo.util.Observable",
309 "isConstructor" : false,
319 "name" : "eventName",
321 "desc" : "The type of event to listen for",
327 "desc" : "The handler to remove",
333 "desc" : "(optional) The scope (this object) for the handler",
340 "name" : "addEvents",
342 "desc" : "Used to define events on this Observable",
345 "memberOf" : "Roo.util.Observable",
347 "isConstructor" : false,
359 "desc" : "The object with the events defined",
366 "name" : "releaseCapture",
368 "desc" : "Removes <b>all</b> added captures from the Observable.",
371 "memberOf" : "Roo.util.Observable",
373 "isConstructor" : false,
384 "type" : "Observable",
385 "desc" : "The Observable to release",
392 "name" : "removeListener",
394 "desc" : "Removes a listener",
395 "sig" : "(eventName, handler, scope)",
397 "memberOf" : "Roo.util.Observable",
399 "isConstructor" : false,
409 "name" : "eventName",
411 "desc" : "The type of event to listen for",
417 "desc" : "The handler to remove",
423 "desc" : "(optional) The scope (this object) for the handler",
430 "name" : "fireEvent",
432 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
433 "sig" : "(eventName, args)",
435 "memberOf" : "Roo.util.Observable",
437 "isConstructor" : false,
447 "name" : "eventName",
454 "type" : "Object...",
455 "desc" : "Variable number of parameters are passed to handlers",
463 "desc" : "returns false if any of the handlers return false otherwise it returns true"
468 "name" : "hasListener",
470 "desc" : "Checks to see if this object has any listeners for a specified event",
471 "sig" : "(eventName)",
473 "memberOf" : "Roo.util.Observable",
475 "isConstructor" : false,
485 "name" : "eventName",
487 "desc" : "The name of the event to check for",
495 "desc" : "True if the event is being listened for, else false"
502 "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.",
503 "sig" : "(o, fn, scope)",
505 "memberOf" : "Roo.util.Observable",
507 "isConstructor" : false,
518 "type" : "Observable",
519 "desc" : "The Observable to capture",
525 "desc" : "The function to call",
531 "desc" : "(optional) The scope (this object) for the fn",
538 "name" : "addListener",
540 "desc" : "Appends an event handler to this component",
541 "sig" : "(eventName, handler, scope, options)",
543 "memberOf" : "Roo.util.Observable",
545 "isConstructor" : false,
555 "name" : "eventName",
557 "desc" : "The type of event to listen for",
563 "desc" : "The method the event invokes",
569 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
575 "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>",
584 "name" : "beforeresize",
586 "desc" : "Fires before the splitter is dragged",
587 "sig" : "function (_self)\n{\n\n}",
596 "type" : "Roo.bootstrap.SplitBar",
606 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
607 "sig" : "function (_self, newSize)\n{\n\n}",
616 "type" : "Roo.bootstrap.SplitBar",
623 "desc" : "the new width or height",
632 "desc" : "Fires when the splitter is moved",
633 "sig" : "function (_self, newSize)\n{\n\n}",
642 "type" : "Roo.bootstrap.SplitBar",
649 "desc" : "the new width or height",