2 "name" : "Roo.bootstrap.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.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>",
11 "memberOf" : "SplitBar",
24 "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>",
25 "memberOf" : "Roo.util.Observable"
30 "name" : "setCurrentSize",
32 "desc" : "Sets the initialize size for the resizing element",
37 "isConstructor" : false,
49 "desc" : "The initial size",
56 "name" : "setMinimumSize",
58 "desc" : "Sets the minimum size for the resizing element",
63 "isConstructor" : false,
75 "desc" : "The minimum size",
82 "name" : "setAdapter",
84 "desc" : "Set the adapter this SplitBar uses",
89 "isConstructor" : false,
101 "desc" : "A SplitBar adapter object",
108 "name" : "getMinimumSize",
110 "desc" : "Gets the minimum size for the resizing element",
111 "sig" : "()\n{\n\n}",
115 "isConstructor" : false,
128 "desc" : "The minimum size"
135 "desc" : "Destroy this splitbar.",
136 "sig" : "(removeEl)",
140 "isConstructor" : false,
152 "desc" : "True to remove the element",
159 "name" : "setMaximumSize",
161 "desc" : "Sets the maximum size for the resizing element",
166 "isConstructor" : false,
178 "desc" : "The maximum size",
185 "name" : "getMaximumSize",
187 "desc" : "Gets the maximum size for the resizing element",
188 "sig" : "()\n{\n\n}",
192 "isConstructor" : false,
205 "desc" : "The maximum size"
210 "name" : "getAdapter",
212 "desc" : "Get the adapter this SplitBar uses",
213 "sig" : "()\n{\n\n}",
217 "isConstructor" : false,
230 "desc" : "The adapter object"
235 "name" : "purgeListeners",
237 "desc" : "Removes all listeners for this object",
238 "sig" : "()\n{\n\n}",
240 "memberOf" : "Roo.util.Observable",
242 "isConstructor" : false,
256 "desc" : "Appends an event handler to this element (shorthand for addListener)",
257 "sig" : "(eventName, handler, scope, options)",
259 "memberOf" : "Roo.util.Observable",
261 "isConstructor" : false,
271 "name" : "eventName",
273 "desc" : "The type of event to listen for",
279 "desc" : "The method the event invokes",
285 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
291 "desc" : "(optional)",
300 "desc" : "Removes a listener (shorthand for removeListener)",
301 "sig" : "(eventName, handler, scope)",
303 "memberOf" : "Roo.util.Observable",
305 "isConstructor" : false,
315 "name" : "eventName",
317 "desc" : "The type of event to listen for",
323 "desc" : "The handler to remove",
329 "desc" : "(optional) The scope (this object) for the handler",
336 "name" : "addEvents",
338 "desc" : "Used to define events on this Observable",
341 "memberOf" : "Roo.util.Observable",
343 "isConstructor" : false,
355 "desc" : "The object with the events defined",
362 "name" : "releaseCapture",
364 "desc" : "Removes <b>all</b> added captures from the Observable.",
367 "memberOf" : "Roo.util.Observable",
369 "isConstructor" : false,
380 "type" : "Observable",
381 "desc" : "The Observable to release",
388 "name" : "removeListener",
390 "desc" : "Removes a listener",
391 "sig" : "(eventName, handler, scope)",
393 "memberOf" : "Roo.util.Observable",
395 "isConstructor" : false,
405 "name" : "eventName",
407 "desc" : "The type of event to listen for",
413 "desc" : "The handler to remove",
419 "desc" : "(optional) The scope (this object) for the handler",
426 "name" : "fireEvent",
428 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
429 "sig" : "(eventName, args)",
431 "memberOf" : "Roo.util.Observable",
433 "isConstructor" : false,
443 "name" : "eventName",
450 "type" : "Object...",
451 "desc" : "Variable number of parameters are passed to handlers",
459 "desc" : "returns false if any of the handlers return false otherwise it returns true"
464 "name" : "hasListener",
466 "desc" : "Checks to see if this object has any listeners for a specified event",
467 "sig" : "(eventName)",
469 "memberOf" : "Roo.util.Observable",
471 "isConstructor" : false,
481 "name" : "eventName",
483 "desc" : "The name of the event to check for",
491 "desc" : "True if the event is being listened for, else false"
498 "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.",
499 "sig" : "(o, fn, scope)",
501 "memberOf" : "Roo.util.Observable",
503 "isConstructor" : false,
514 "type" : "Observable",
515 "desc" : "The Observable to capture",
521 "desc" : "The function to call",
527 "desc" : "(optional) The scope (this object) for the fn",
534 "name" : "addListener",
536 "desc" : "Appends an event handler to this component",
537 "sig" : "(eventName, handler, scope, options)",
539 "memberOf" : "Roo.util.Observable",
541 "isConstructor" : false,
551 "name" : "eventName",
553 "desc" : "The type of event to listen for",
559 "desc" : "The method the event invokes",
565 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
571 "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>",
580 "name" : "beforeresize",
582 "desc" : "Fires before the splitter is dragged",
583 "sig" : "function (_self)\n{\n\n}",
592 "type" : "Roo.bootstrap.SplitBar",
602 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
603 "sig" : "function (_self, newSize)\n{\n\n}",
612 "type" : "Roo.bootstrap.SplitBar",
619 "desc" : "the new width or height",
628 "desc" : "Fires when the splitter is moved",
629 "sig" : "function (_self, newSize)\n{\n\n}",
638 "type" : "Roo.bootstrap.SplitBar",
645 "desc" : "the new width or height",