2 "name" : "Roo.bootstrap.SplitBar",
6 "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 "memberOf" : "SplitBar",
23 "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>",
24 "memberOf" : "Roo.util.Observable"
29 "name" : "setCurrentSize",
31 "desc" : "Sets the initialize size for the resizing element",
36 "isConstructor" : false,
48 "desc" : "The initial size",
55 "name" : "setMinimumSize",
57 "desc" : "Sets the minimum size for the resizing element",
62 "isConstructor" : false,
74 "desc" : "The minimum size",
81 "name" : "setAdapter",
83 "desc" : "Set the adapter this SplitBar uses",
88 "isConstructor" : false,
100 "desc" : "A SplitBar adapter object",
107 "name" : "getMinimumSize",
109 "desc" : "Gets the minimum size for the resizing element",
110 "sig" : "()\n{\n\n}",
114 "isConstructor" : false,
127 "desc" : "The minimum size"
134 "desc" : "Destroy this splitbar.",
135 "sig" : "(removeEl)",
139 "isConstructor" : false,
151 "desc" : "True to remove the element",
158 "name" : "setMaximumSize",
160 "desc" : "Sets the maximum size for the resizing element",
165 "isConstructor" : false,
177 "desc" : "The maximum size",
184 "name" : "getMaximumSize",
186 "desc" : "Gets the maximum size for the resizing element",
187 "sig" : "()\n{\n\n}",
191 "isConstructor" : false,
204 "desc" : "The maximum size"
209 "name" : "getAdapter",
211 "desc" : "Get the adapter this SplitBar uses",
212 "sig" : "()\n{\n\n}",
216 "isConstructor" : false,
229 "desc" : "The adapter object"
234 "name" : "purgeListeners",
236 "desc" : "Removes all listeners for this object",
237 "sig" : "()\n{\n\n}",
239 "memberOf" : "Roo.util.Observable",
241 "isConstructor" : false,
255 "desc" : "Appends an event handler to this element (shorthand for addListener)",
256 "sig" : "(eventName, handler, scope, options)",
258 "memberOf" : "Roo.util.Observable",
260 "isConstructor" : false,
270 "name" : "eventName",
272 "desc" : "The type of event to listen for",
278 "desc" : "The method the event invokes",
284 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
290 "desc" : "(optional)",
299 "desc" : "Removes a listener (shorthand for removeListener)",
300 "sig" : "(eventName, handler, scope)",
302 "memberOf" : "Roo.util.Observable",
304 "isConstructor" : false,
314 "name" : "eventName",
316 "desc" : "The type of event to listen for",
322 "desc" : "The handler to remove",
328 "desc" : "(optional) The scope (this object) for the handler",
335 "name" : "addEvents",
337 "desc" : "Used to define events on this Observable",
340 "memberOf" : "Roo.util.Observable",
342 "isConstructor" : false,
354 "desc" : "The object with the events defined",
361 "name" : "releaseCapture",
363 "desc" : "Removes <b>all</b> added captures from the Observable.",
366 "memberOf" : "Roo.util.Observable",
368 "isConstructor" : false,
379 "type" : "Observable",
380 "desc" : "The Observable to release",
387 "name" : "removeListener",
389 "desc" : "Removes a listener",
390 "sig" : "(eventName, handler, scope)",
392 "memberOf" : "Roo.util.Observable",
394 "isConstructor" : false,
404 "name" : "eventName",
406 "desc" : "The type of event to listen for",
412 "desc" : "The handler to remove",
418 "desc" : "(optional) The scope (this object) for the handler",
425 "name" : "fireEvent",
427 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
428 "sig" : "(eventName, args)",
430 "memberOf" : "Roo.util.Observable",
432 "isConstructor" : false,
442 "name" : "eventName",
449 "type" : "Object...",
450 "desc" : "Variable number of parameters are passed to handlers",
458 "desc" : "returns false if any of the handlers return false otherwise it returns true"
463 "name" : "hasListener",
465 "desc" : "Checks to see if this object has any listeners for a specified event",
466 "sig" : "(eventName)",
468 "memberOf" : "Roo.util.Observable",
470 "isConstructor" : false,
480 "name" : "eventName",
482 "desc" : "The name of the event to check for",
490 "desc" : "True if the event is being listened for, else false"
497 "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.",
498 "sig" : "(o, fn, scope)",
500 "memberOf" : "Roo.util.Observable",
502 "isConstructor" : false,
513 "type" : "Observable",
514 "desc" : "The Observable to capture",
520 "desc" : "The function to call",
526 "desc" : "(optional) The scope (this object) for the fn",
533 "name" : "addListener",
535 "desc" : "Appends an event handler to this component",
536 "sig" : "(eventName, handler, scope, options)",
538 "memberOf" : "Roo.util.Observable",
540 "isConstructor" : false,
550 "name" : "eventName",
552 "desc" : "The type of event to listen for",
558 "desc" : "The method the event invokes",
564 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
570 "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>",
579 "name" : "beforeresize",
581 "desc" : "Fires before the splitter is dragged",
582 "sig" : "function (_self)\n{\n\n}",
591 "type" : "Roo.bootstrap.SplitBar",
601 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
602 "sig" : "function (_self, newSize)\n{\n\n}",
611 "type" : "Roo.bootstrap.SplitBar",
618 "desc" : "the new width or height",
627 "desc" : "Fires when the splitter is moved",
628 "sig" : "function (_self, newSize)\n{\n\n}",
637 "type" : "Roo.bootstrap.SplitBar",
644 "desc" : "the new width or height",