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",
31 "name" : "setCurrentSize",
32 "desc" : "Sets the initialize size for the resizing element",
34 "isConstructor" : false,
36 "memberOf" : "Roo.bootstrap.SplitBar",
45 "desc" : "The initial size",
53 "name" : "setMinimumSize",
54 "desc" : "Sets the minimum size for the resizing element",
56 "isConstructor" : false,
58 "memberOf" : "Roo.bootstrap.SplitBar",
67 "desc" : "The minimum size",
75 "name" : "setAdapter",
76 "desc" : "Set the adapter this SplitBar uses",
78 "isConstructor" : false,
80 "memberOf" : "Roo.bootstrap.SplitBar",
89 "desc" : "A SplitBar adapter object",
97 "name" : "getMinimumSize",
98 "desc" : "Gets the minimum size for the resizing element",
100 "isConstructor" : false,
102 "memberOf" : "Roo.bootstrap.SplitBar",
113 "desc" : "The minimum size"
119 "desc" : "Destroy this splitbar.",
121 "isConstructor" : false,
123 "memberOf" : "Roo.bootstrap.SplitBar",
132 "desc" : "True to remove the element",
140 "name" : "setMaximumSize",
141 "desc" : "Sets the maximum size for the resizing element",
143 "isConstructor" : false,
145 "memberOf" : "Roo.bootstrap.SplitBar",
154 "desc" : "The maximum size",
162 "name" : "getMaximumSize",
163 "desc" : "Gets the maximum size for the resizing element",
165 "isConstructor" : false,
167 "memberOf" : "Roo.bootstrap.SplitBar",
178 "desc" : "The maximum size"
183 "name" : "getAdapter",
184 "desc" : "Get the adapter this SplitBar uses",
186 "isConstructor" : false,
188 "memberOf" : "Roo.bootstrap.SplitBar",
199 "desc" : "The adapter object"
204 "name" : "purgeListeners",
205 "desc" : "Removes all listeners for this object",
207 "isConstructor" : false,
209 "memberOf" : "Roo.util.Observable",
221 "desc" : "Appends an event handler to this element (shorthand for addListener)",
223 "isConstructor" : false,
225 "memberOf" : "Roo.util.Observable",
232 "name" : "eventName",
234 "desc" : "The type of event to listen for",
240 "desc" : "The method the event invokes",
246 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
252 "desc" : "(optional)",
261 "desc" : "Removes a listener (shorthand for removeListener)",
263 "isConstructor" : false,
265 "memberOf" : "Roo.util.Observable",
272 "name" : "eventName",
274 "desc" : "The type of event to listen for",
280 "desc" : "The handler to remove",
286 "desc" : "(optional) The scope (this object) for the handler",
294 "name" : "addEvents",
295 "desc" : "Used to define events on this Observable",
297 "isConstructor" : false,
299 "memberOf" : "Roo.util.Observable",
308 "desc" : "The object with the events defined",
316 "name" : "releaseCapture",
317 "desc" : "Removes <b>all</b> added captures from the Observable.",
319 "isConstructor" : false,
321 "memberOf" : "Roo.util.Observable",
329 "type" : "Observable",
330 "desc" : "The Observable to release",
338 "name" : "removeListener",
339 "desc" : "Removes a listener",
341 "isConstructor" : false,
343 "memberOf" : "Roo.util.Observable",
350 "name" : "eventName",
352 "desc" : "The type of event to listen for",
358 "desc" : "The handler to remove",
364 "desc" : "(optional) The scope (this object) for the handler",
372 "name" : "fireEvent",
373 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
375 "isConstructor" : false,
377 "memberOf" : "Roo.util.Observable",
384 "name" : "eventName",
391 "type" : "Object...",
392 "desc" : "Variable number of parameters are passed to handlers",
400 "desc" : "returns false if any of the handlers return false otherwise it returns true"
405 "name" : "hasListener",
406 "desc" : "Checks to see if this object has any listeners for a specified event",
408 "isConstructor" : false,
410 "memberOf" : "Roo.util.Observable",
417 "name" : "eventName",
419 "desc" : "The name of the event to check for",
427 "desc" : "True if the event is being listened for, else false"
433 "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.",
435 "isConstructor" : false,
437 "memberOf" : "Roo.util.Observable",
445 "type" : "Observable",
446 "desc" : "The Observable to capture",
452 "desc" : "The function to call",
458 "desc" : "(optional) The scope (this object) for the fn",
466 "name" : "addListener",
467 "desc" : "Appends an event handler to this component",
469 "isConstructor" : false,
471 "memberOf" : "Roo.util.Observable",
478 "name" : "eventName",
480 "desc" : "The type of event to listen for",
486 "desc" : "The method the event invokes",
492 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
498 "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>",
508 "name" : "beforeresize",
509 "desc" : "Fires before the splitter is dragged",
518 "type" : "Roo.bootstrap.SplitBar",
528 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
537 "type" : "Roo.bootstrap.SplitBar",
544 "desc" : "the new width or height",
553 "desc" : "Fires when the splitter is moved",
562 "type" : "Roo.bootstrap.SplitBar",
569 "desc" : "the new width or height",