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",
21 "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>",
22 "memberOf" : "Roo.util.Observable",
28 "name" : "setCurrentSize",
29 "desc" : "Sets the initialize size for the resizing element",
31 "isConstructor" : false,
33 "memberOf" : "Roo.bootstrap.SplitBar",
42 "desc" : "The initial size",
49 "name" : "setMinimumSize",
50 "desc" : "Sets the minimum size for the resizing element",
52 "isConstructor" : false,
54 "memberOf" : "Roo.bootstrap.SplitBar",
63 "desc" : "The minimum size",
70 "name" : "setAdapter",
71 "desc" : "Set the adapter this SplitBar uses",
73 "isConstructor" : false,
75 "memberOf" : "Roo.bootstrap.SplitBar",
84 "desc" : "A SplitBar adapter object",
91 "name" : "getMinimumSize",
92 "desc" : "Gets the minimum size for the resizing element",
94 "isConstructor" : false,
96 "memberOf" : "Roo.bootstrap.SplitBar",
106 "desc" : "The minimum size"
112 "desc" : "Destroy this splitbar.",
114 "isConstructor" : false,
116 "memberOf" : "Roo.bootstrap.SplitBar",
125 "desc" : "True to remove the element",
132 "name" : "setMaximumSize",
133 "desc" : "Sets the maximum size for the resizing element",
135 "isConstructor" : false,
137 "memberOf" : "Roo.bootstrap.SplitBar",
146 "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",
168 "desc" : "The maximum size"
173 "name" : "getAdapter",
174 "desc" : "Get the adapter this SplitBar uses",
176 "isConstructor" : false,
178 "memberOf" : "Roo.bootstrap.SplitBar",
188 "desc" : "The adapter object"
193 "name" : "purgeListeners",
194 "desc" : "Removes all listeners for this object",
196 "isConstructor" : false,
198 "memberOf" : "Roo.util.Observable",
208 "desc" : "Appends an event handler to this element (shorthand for addListener)",
210 "isConstructor" : false,
212 "memberOf" : "Roo.util.Observable",
219 "name" : "eventName",
221 "desc" : "The type of event to listen for",
227 "desc" : "The method the event invokes",
233 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
239 "desc" : "(optional)",
247 "desc" : "Removes a listener (shorthand for removeListener)",
249 "isConstructor" : false,
251 "memberOf" : "Roo.util.Observable",
258 "name" : "eventName",
260 "desc" : "The type of event to listen for",
266 "desc" : "The handler to remove",
272 "desc" : "(optional) The scope (this object) for the handler",
279 "name" : "addEvents",
280 "desc" : "Used to define events on this Observable",
282 "isConstructor" : false,
284 "memberOf" : "Roo.util.Observable",
293 "desc" : "The object with the events defined",
300 "name" : "releaseCapture",
301 "desc" : "Removes <b>all</b> added captures from the Observable.",
303 "isConstructor" : false,
305 "memberOf" : "Roo.util.Observable",
313 "type" : "Observable",
314 "desc" : "The Observable to release",
321 "name" : "removeListener",
322 "desc" : "Removes a listener",
324 "isConstructor" : false,
326 "memberOf" : "Roo.util.Observable",
333 "name" : "eventName",
335 "desc" : "The type of event to listen for",
341 "desc" : "The handler to remove",
347 "desc" : "(optional) The scope (this object) for the handler",
354 "name" : "fireEvent",
355 "desc" : "Fires the specified event with the passed parameters (minus the event name).",
357 "isConstructor" : false,
359 "memberOf" : "Roo.util.Observable",
366 "name" : "eventName",
373 "type" : "Object...",
374 "desc" : "Variable number of parameters are passed to handlers",
382 "desc" : "returns false if any of the handlers return false otherwise it returns true"
387 "name" : "hasListener",
388 "desc" : "Checks to see if this object has any listeners for a specified event",
390 "isConstructor" : false,
392 "memberOf" : "Roo.util.Observable",
399 "name" : "eventName",
401 "desc" : "The name of the event to check for",
409 "desc" : "True if the event is being listened for, else false"
415 "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.",
417 "isConstructor" : false,
419 "memberOf" : "Roo.util.Observable",
427 "type" : "Observable",
428 "desc" : "The Observable to capture",
434 "desc" : "The function to call",
440 "desc" : "(optional) The scope (this object) for the fn",
447 "name" : "addListener",
448 "desc" : "Appends an event handler to this component",
450 "isConstructor" : false,
452 "memberOf" : "Roo.util.Observable",
459 "name" : "eventName",
461 "desc" : "The type of event to listen for",
467 "desc" : "The method the event invokes",
473 "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
479 "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>",
488 "name" : "beforeresize",
489 "desc" : "Fires before the splitter is dragged",
490 "memberOf" : "Roo.bootstrap.SplitBar",
498 "type" : "Roo.bootstrap.SplitBar",
507 "desc" : "Fires when the splitter is moved (alias for {@link #event-moved})",
508 "memberOf" : "Roo.bootstrap.SplitBar",
516 "type" : "Roo.bootstrap.SplitBar",
523 "desc" : "the new width or height",
531 "desc" : "Fires when the splitter is moved",
532 "memberOf" : "Roo.bootstrap.SplitBar",
540 "type" : "Roo.bootstrap.SplitBar",
547 "desc" : "the new width or height",