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>",
14 "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>",
15 "memberOf" : "Roo.util.Observable",
22 "name" : "setCurrentSize",
23 "desc" : "Sets the initialize size for the resizing element",
25 "isConstructor" : false,
27 "memberOf" : "Roo.bootstrap.SplitBar",
36 "desc" : "The initial size",
44 "name" : "setMinimumSize",
45 "desc" : "Sets the minimum size for the resizing element",
47 "isConstructor" : false,
49 "memberOf" : "Roo.bootstrap.SplitBar",
58 "desc" : "The minimum size",
66 "name" : "setAdapter",
67 "desc" : "Set the adapter this SplitBar uses",
69 "isConstructor" : false,
71 "memberOf" : "Roo.bootstrap.SplitBar",
80 "desc" : "A SplitBar adapter object",
88 "name" : "getMinimumSize",
89 "desc" : "Gets the minimum size for the resizing element",
91 "isConstructor" : false,
93 "memberOf" : "Roo.bootstrap.SplitBar",
104 "desc" : "The minimum size"
110 "desc" : "Destroy this splitbar.",
112 "isConstructor" : false,
114 "memberOf" : "Roo.bootstrap.SplitBar",
123 "desc" : "True to remove the element",
131 "name" : "setMaximumSize",
132 "desc" : "Sets the maximum size for the resizing element",
134 "isConstructor" : false,
136 "memberOf" : "Roo.bootstrap.SplitBar",
145 "desc" : "The maximum size",
153 "name" : "getMaximumSize",
154 "desc" : "Gets the maximum size for the resizing element",
156 "isConstructor" : false,
158 "memberOf" : "Roo.bootstrap.SplitBar",
169 "desc" : "The maximum size"
174 "name" : "getAdapter",
175 "desc" : "Get the adapter this SplitBar uses",
177 "isConstructor" : false,
179 "memberOf" : "Roo.bootstrap.SplitBar",
190 "desc" : "The adapter object"
195 "name" : "purgeListeners",
196 "desc" : "Removes all listeners for this object",
198 "isConstructor" : false,
200 "memberOf" : "Roo.util.Observable",
212 "desc" : "Appends an event handler to this element (shorthand for addListener)",
214 "isConstructor" : false,
216 "memberOf" : "Roo.util.Observable",
223 "name" : "eventName",
225 "desc" : "The type of event to listen for",
231 "desc" : "The method the event invokes",
237 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
243 "desc" : "(optional)",
252 "desc" : "Removes a listener (shorthand for removeListener)",
254 "isConstructor" : false,
256 "memberOf" : "Roo.util.Observable",
263 "name" : "eventName",
265 "desc" : "The type of event to listen for",
271 "desc" : "The handler to remove",
277 "desc" : "(optional) The scope (this object) for the handler",
285 "name" : "addEvents",
286 "desc" : "Used to define events on this Observable",
288 "isConstructor" : false,
290 "memberOf" : "Roo.util.Observable",
299 "desc" : "The object with the events defined",
307 "name" : "releaseCapture",
308 "desc" : "Removes <b>all</b> added captures from the Observable.",
310 "isConstructor" : false,
312 "memberOf" : "Roo.util.Observable",
320 "type" : "Observable",
321 "desc" : "The Observable to release",
329 "name" : "removeListener",
330 "desc" : "Removes a listener",
332 "isConstructor" : false,
334 "memberOf" : "Roo.util.Observable",
341 "name" : "eventName",
343 "desc" : "The type of event to listen for",
349 "desc" : "The handler to remove",
355 "desc" : "(optional) The scope (this object) for the handler",
363 "name" : "fireEvent",
364 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
366 "isConstructor" : false,
368 "memberOf" : "Roo.util.Observable",
375 "name" : "eventName",
382 "type" : "Object...",
383 "desc" : "Variable number of parameters are passed to handlers",
391 "desc" : "returns false if any of the handlers return false otherwise it returns true"
396 "name" : "hasListener",
397 "desc" : "Checks to see if this object has any listeners for a specified event",
399 "isConstructor" : false,
401 "memberOf" : "Roo.util.Observable",
408 "name" : "eventName",
410 "desc" : "The name of the event to check for",
418 "desc" : "True if the event is being listened for, else false"
424 "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.",
426 "isConstructor" : false,
428 "memberOf" : "Roo.util.Observable",
436 "type" : "Observable",
437 "desc" : "The Observable to capture",
443 "desc" : "The function to call",
449 "desc" : "(optional) The scope (this object) for the fn",
457 "name" : "addListener",
458 "desc" : "Appends an event handler to this component",
460 "isConstructor" : false,
462 "memberOf" : "Roo.util.Observable",
469 "name" : "eventName",
471 "desc" : "The type of event to listen for",
477 "desc" : "The method the event invokes",
483 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
489 "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>",
499 "name" : "beforeresize",
500 "desc" : "Fires before the splitter is dragged",
509 "type" : "Roo.bootstrap.SplitBar",
519 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
528 "type" : "Roo.bootstrap.SplitBar",
535 "desc" : "the new width or height",
544 "desc" : "Fires when the splitter is moved",
553 "type" : "Roo.bootstrap.SplitBar",
560 "desc" : "the new width or height",