1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Roo.bootstrap.SplitBar</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Roo.bootstrap.SplitBar-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.bootstrap.SplitBar-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.bootstrap.SplitBar-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.bootstrap.SplitBar-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <div class="inheritance res-block">
46 <pre class="res-block-inner"><a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.bootstrap.SplitBar
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.bootstrap.SplitBar
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstrap</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_bootstrap_SplitBar.js.html">Roo/bootstrap/SplitBar.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">SplitBar</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 Creates draggable splitter bar functionality from two elements (element to be dragged and element to be resized).<br/><br><br><br/>Usage:<br/><pre><code><br/>var split = new Roo.bootstrap.SplitBar("elementToDrag", "elementToSize",<br/> Roo.bootstrap.SplitBar.HORIZONTAL, Roo.bootstrap.SplitBar.LEFT);<br/>split.setAdapter(new Roo.bootstrap.SplitBar.AbsoluteLayoutAdapter("container"));<br/>split.minSize = 100;<br/>split.maxSize = 600;<br/>split.animate = true;<br/>split.on('moved', splitterMoved);<br/></code></pre>
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstrap.SplitBar';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo.bootstrap" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.bootstrap.SplitBar.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.bootstrap.SplitBar-configs"></a>
113 <table cellspacing="0" class="member-table">
114 <caption>Config Options (Usually are also Properties)</caption>
118 <th class="sig-header" colspan="2">Options</th>
120 <th class="msource-header">Defined By</th>
127 <tr class="config-row expandable config-row-alt0">
128 <td class="micon"><a class="exi" href="#expand"> </a></td>
131 <a id="Roo.util.Observable-cfg-listeners" name=".listeners"></a>
132 <div class="fixedFont">
133 <b class="itemname">listeners</b> : <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
139 <div class="short">list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> .</div>
144 list of events and functions to call for this object, <br/>For example :<br/><pre><code><br/> listeners : { <br/> 'click' : function(e) {<br/> ..... <br/> } ,<br/> .... <br/> } <br/> </code></pre>
154 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
170 <!-- ============================== public properties ==================== -->
174 <a id="Roo.bootstrap.SplitBar-props"></a>
182 <table cellspacing="0" class="member-table">
183 <caption>Public Properties </caption>
185 <th class="sig-header" colspan="2">Property</th>
186 <th class="sig-header">Description</th>
187 <th class="msource-header">Defined By</th>
197 <tr class="property-row config-row-alt0 notInherited">
199 <a class="exi" href="#expand"> </a>
202 <a id="Roo.bootstrap.SplitBar-prop-BOTTOM" name=".BOTTOM"></a>
203 <div class="fixedFont">
204 <span class="attributes">Roo.bootstrap.SplitBar.</span><b class="itemname">BOTTOM</b> :
205 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
213 Placement constant - The resizing element is positioned under splitter element
221 Placement constant - The resizing element is positioned under splitter element
228 Roo.bootstrap.SplitBar
236 <tr class="property-row config-row-alt1 notInherited">
238 <a class="exi" href="#expand"> </a>
241 <a id="Roo.bootstrap.SplitBar-prop-HORIZONTAL" name=".HORIZONTAL"></a>
242 <div class="fixedFont">
243 <span class="attributes">Roo.bootstrap.SplitBar.</span><b class="itemname">HORIZONTAL</b> :
244 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
252 Orientation constant - Create a horizontal SplitBar
260 Orientation constant - Create a horizontal SplitBar
267 Roo.bootstrap.SplitBar
275 <tr class="property-row config-row-alt0 notInherited">
277 <a class="exi" href="#expand"> </a>
280 <a id="Roo.bootstrap.SplitBar-prop-LEFT" name=".LEFT"></a>
281 <div class="fixedFont">
282 <span class="attributes">Roo.bootstrap.SplitBar.</span><b class="itemname">LEFT</b> :
283 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
291 Placement constant - The resizing element is to the left of the splitter element
299 Placement constant - The resizing element is to the left of the splitter element
306 Roo.bootstrap.SplitBar
314 <tr class="property-row config-row-alt1 notInherited">
316 <a class="exi" href="#expand"> </a>
319 <a id="Roo.bootstrap.SplitBar-prop-RIGHT" name=".RIGHT"></a>
320 <div class="fixedFont">
321 <span class="attributes">Roo.bootstrap.SplitBar.</span><b class="itemname">RIGHT</b> :
322 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
330 Placement constant - The resizing element is to the right of the splitter element
338 Placement constant - The resizing element is to the right of the splitter element
345 Roo.bootstrap.SplitBar
353 <tr class="property-row config-row-alt0 notInherited">
355 <a class="exi" href="#expand"> </a>
358 <a id="Roo.bootstrap.SplitBar-prop-TOP" name=".TOP"></a>
359 <div class="fixedFont">
360 <span class="attributes">Roo.bootstrap.SplitBar.</span><b class="itemname">TOP</b> :
361 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
369 Placement constant - The resizing element is positioned above the splitter element
377 Placement constant - The resizing element is positioned above the splitter element
384 Roo.bootstrap.SplitBar
392 <tr class="property-row config-row-alt1 notInherited">
394 <a class="exi" href="#expand"> </a>
397 <a id="Roo.bootstrap.SplitBar-prop-VERTICAL" name=".VERTICAL"></a>
398 <div class="fixedFont">
399 <span class="attributes">Roo.bootstrap.SplitBar.</span><b class="itemname">VERTICAL</b> :
400 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
408 Orientation constant - Create a vertical SplitBar
416 Orientation constant - Create a vertical SplitBar
423 Roo.bootstrap.SplitBar
432 <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
433 <tr class="property-row alt">
440 <!-- ============================== methods summary / details ======================== -->
443 <a id="Roo.bootstrap.SplitBar-methods"></a>
444 <!-- constructor?? -->
451 <!-- then dynamics first -->
458 <table cellspacing="0" class="member-table">
459 <caption>Public Methods</caption>
461 <th class="sig-header" colspan="2">Method</th>
462 <th class="msource-header">Defined By</th>
472 <tr class="method-row config-row-alt0 notInherited">
473 <td class="micon"><a class="exi" href="#expand"> </a></td>
477 <a id="Roo.bootstrap-method-SplitBar" name=".SplitBar"></a>
478 <div class="fixedFont">
479 <span class="attributes">new <B>Roo.bootstrap.</B></span><b class="itemname">SplitBar</b>
489 <div class="short">Create a new Roo.bootstrap.SplitBar</div>
496 Create a new Roo.bootstrap.SplitBar
519 <tr class="method-row config-row-alt1 expandable">
520 <td class="micon"><a class="exi" href="#expand"> </a></td>
524 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
525 <div class="fixedFont">
526 <span class="attributes"></span><b class="itemname">addEvents</b>
528 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
535 <div class="short">Used to define events on this Observable</div>
541 Used to define events on this Observable
548 <dl class="detailList">
549 <dt class="heading">Parameters:</dt>
552 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>object</b>
555 <dd>The object with the events defined</dd>
575 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
581 <tr class="method-row config-row-alt0 expandable">
582 <td class="micon"><a class="exi" href="#expand"> </a></td>
586 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
587 <div class="fixedFont">
588 <span class="attributes"></span><b class="itemname">addListener</b>
590 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
597 <div class="short">Appends an event handler to this component</div>
603 Appends an event handler to this component
610 <dl class="detailList">
611 <dt class="heading">Parameters:</dt>
614 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
617 <dd>The type of event to listen for</dd>
620 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
623 <dd>The method the event invokes</dd>
626 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
629 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
632 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
635 <dd>(optional) An object containing handler configuration<br/>properties. This may contain any of the following properties:<ul><br/><li>scope {Object} The scope in which to execute the handler function. The handler function's "this" context.</li><br/><li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li><br/><li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li><br/><li>buffer {Number} Causes the handler to be scheduled to run in an {<b>link</b> Roo.util.DelayedTask} delayed<br/>by the specified number of milliseconds. If the event fires again within that time, the original<br/>handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li><br/></ul><br><br/><p><br/><b>Combining Options</b><br><br/>Using the options argument, it is possible to combine different types of listeners:<br><br/><br><br/>A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<br/> <pre><code><br/> el.on('click', this.onClick, this, {<br/> single: true,<br/> delay: 100,<br/> forumId: 4<br/> });<br/> </code></pre><br/><p><br/><b>Attaching multiple handlers in 1 call</b><br><br/>The method also allows for a single argument to be passed which is a config object containing properties<br/>which specify multiple handlers.<br/><pre><code><br/> el.on({<br/> 'click': {<br/> fn: this.onClick,<br/> scope: this,<br/> delay: 100<br/> }, <br/> 'mouseover': {<br/> fn: this.onMouseOver,<br/> scope: this<br/> },<br/> 'mouseout': {<br/> fn: this.onMouseOut,<br/> scope: this<br/> }<br/> });<br/> </code></pre><br/><p><br/>Or a shorthand syntax which passes the same scope object to all handlers:<br/> <pre><code><br/> el.on({<br/> 'click': this.onClick,<br/> 'mouseover': this.onMouseOver,<br/> 'mouseout': this.onMouseOut,<br/> scope: this<br/> });<br/> </code></pre></dd>
655 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
661 <tr class="method-row config-row-alt1 expandable notInherited">
662 <td class="micon"><a class="exi" href="#expand"> </a></td>
666 <a id="Roo.bootstrap.SplitBar-method-destroy" name=".destroy"></a>
667 <div class="fixedFont">
668 <span class="attributes"></span><b class="itemname">destroy</b>
670 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
677 <div class="short">Destroy this splitbar.</div>
683 Destroy this splitbar.
690 <dl class="detailList">
691 <dt class="heading">Parameters:</dt>
694 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>removeEl</b>
697 <dd>True to remove the element</dd>
717 Roo.bootstrap.SplitBar
723 <tr class="method-row config-row-alt0 expandable">
724 <td class="micon"><a class="exi" href="#expand"> </a></td>
728 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
729 <div class="fixedFont">
730 <span class="attributes"></span><b class="itemname">fireEvent</b>
732 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a> <B><i>args</i></B>)
738 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
747 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
753 Fires the specified event with the passed parameters (minus the event name).
760 <dl class="detailList">
761 <dt class="heading">Parameters:</dt>
764 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
770 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object...</a></span> <b>args</b>
773 <dd>Variable number of parameters are passed to handlers</dd>
781 <dl class="detailList">
782 <dt class="heading">Returns:</dt>
784 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> returns false if any of the handlers return false otherwise it returns true</dd>
800 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
806 <tr class="method-row config-row-alt1 expandable notInherited">
807 <td class="micon"><a class="exi" href="#expand"> </a></td>
811 <a id="Roo.bootstrap.SplitBar-method-getAdapter" name=".getAdapter"></a>
812 <div class="fixedFont">
813 <span class="attributes"></span><b class="itemname">getAdapter</b>
830 <div class="short">Get the adapter this SplitBar uses</div>
836 Get the adapter this SplitBar uses
847 <dl class="detailList">
848 <dt class="heading">Returns:</dt>
850 <dd> The adapter object</dd>
866 Roo.bootstrap.SplitBar
872 <tr class="method-row config-row-alt0 expandable notInherited">
873 <td class="micon"><a class="exi" href="#expand"> </a></td>
877 <a id="Roo.bootstrap.SplitBar-method-getMaximumSize" name=".getMaximumSize"></a>
878 <div class="fixedFont">
879 <span class="attributes"></span><b class="itemname">getMaximumSize</b>
887 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
896 <div class="short">Gets the maximum size for the resizing element</div>
902 Gets the maximum size for the resizing element
913 <dl class="detailList">
914 <dt class="heading">Returns:</dt>
916 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The maximum size</dd>
932 Roo.bootstrap.SplitBar
938 <tr class="method-row config-row-alt1 expandable notInherited">
939 <td class="micon"><a class="exi" href="#expand"> </a></td>
943 <a id="Roo.bootstrap.SplitBar-method-getMinimumSize" name=".getMinimumSize"></a>
944 <div class="fixedFont">
945 <span class="attributes"></span><b class="itemname">getMinimumSize</b>
953 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
962 <div class="short">Gets the minimum size for the resizing element</div>
968 Gets the minimum size for the resizing element
979 <dl class="detailList">
980 <dt class="heading">Returns:</dt>
982 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The minimum size</dd>
998 Roo.bootstrap.SplitBar
1004 <tr class="method-row config-row-alt0 expandable">
1005 <td class="micon"><a class="exi" href="#expand"> </a></td>
1009 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1010 <div class="fixedFont">
1011 <span class="attributes"></span><b class="itemname">hasListener</b>
1013 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1019 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1028 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1034 Checks to see if this object has any listeners for a specified event
1041 <dl class="detailList">
1042 <dt class="heading">Parameters:</dt>
1045 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1048 <dd>The name of the event to check for</dd>
1056 <dl class="detailList">
1057 <dt class="heading">Returns:</dt>
1059 <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> True if the event is being listened for, else false</dd>
1073 <td class="msource">
1075 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1081 <tr class="method-row config-row-alt1 expandable">
1082 <td class="micon"><a class="exi" href="#expand"> </a></td>
1086 <a id="Roo.util.Observable-method-on" name=".on"></a>
1087 <div class="fixedFont">
1088 <span class="attributes"></span><b class="itemname">on</b>
1090 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>options</i></B>)
1097 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1103 Appends an event handler to this element (shorthand for addListener)
1110 <dl class="detailList">
1111 <dt class="heading">Parameters:</dt>
1114 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1117 <dd>The type of event to listen for</dd>
1120 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1123 <dd>The method the event invokes</dd>
1126 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1129 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1132 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>options</b>
1153 <td class="msource">
1155 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1161 <tr class="method-row config-row-alt0 expandable">
1162 <td class="micon"><a class="exi" href="#expand"> </a></td>
1166 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1167 <div class="fixedFont">
1168 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1177 <div class="short">Removes all listeners for this object</div>
1183 Removes all listeners for this object
1204 <td class="msource">
1206 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1212 <tr class="method-row config-row-alt1 expandable">
1213 <td class="micon"><a class="exi" href="#expand"> </a></td>
1217 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1218 <div class="fixedFont">
1219 <span class="attributes"></span><b class="itemname">removeListener</b>
1221 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
1228 <div class="short">Removes a listener</div>
1241 <dl class="detailList">
1242 <dt class="heading">Parameters:</dt>
1245 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1248 <dd>The type of event to listen for</dd>
1251 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1254 <dd>The handler to remove</dd>
1257 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1260 <dd>(optional) The scope (this object) for the handler</dd>
1278 <td class="msource">
1280 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1286 <tr class="method-row config-row-alt0 expandable notInherited">
1287 <td class="micon"><a class="exi" href="#expand"> </a></td>
1291 <a id="Roo.bootstrap.SplitBar-method-setAdapter" name=".setAdapter"></a>
1292 <div class="fixedFont">
1293 <span class="attributes"></span><b class="itemname">setAdapter</b>
1295 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>adapter</i></B>)
1302 <div class="short">Set the adapter this SplitBar uses</div>
1308 Set the adapter this SplitBar uses
1315 <dl class="detailList">
1316 <dt class="heading">Parameters:</dt>
1319 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>adapter</b>
1322 <dd>A SplitBar adapter object</dd>
1340 <td class="msource">
1342 Roo.bootstrap.SplitBar
1348 <tr class="method-row config-row-alt1 expandable notInherited">
1349 <td class="micon"><a class="exi" href="#expand"> </a></td>
1353 <a id="Roo.bootstrap.SplitBar-method-setCurrentSize" name=".setCurrentSize"></a>
1354 <div class="fixedFont">
1355 <span class="attributes"></span><b class="itemname">setCurrentSize</b>
1357 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>size</i></B>)
1364 <div class="short">Sets the initialize size for the resizing element</div>
1370 Sets the initialize size for the resizing element
1377 <dl class="detailList">
1378 <dt class="heading">Parameters:</dt>
1381 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>size</b>
1384 <dd>The initial size</dd>
1402 <td class="msource">
1404 Roo.bootstrap.SplitBar
1410 <tr class="method-row config-row-alt0 expandable notInherited">
1411 <td class="micon"><a class="exi" href="#expand"> </a></td>
1415 <a id="Roo.bootstrap.SplitBar-method-setMaximumSize" name=".setMaximumSize"></a>
1416 <div class="fixedFont">
1417 <span class="attributes"></span><b class="itemname">setMaximumSize</b>
1419 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>maxSize</i></B>)
1426 <div class="short">Sets the maximum size for the resizing element</div>
1432 Sets the maximum size for the resizing element
1439 <dl class="detailList">
1440 <dt class="heading">Parameters:</dt>
1443 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>maxSize</b>
1446 <dd>The maximum size</dd>
1464 <td class="msource">
1466 Roo.bootstrap.SplitBar
1472 <tr class="method-row config-row-alt1 expandable notInherited">
1473 <td class="micon"><a class="exi" href="#expand"> </a></td>
1477 <a id="Roo.bootstrap.SplitBar-method-setMinimumSize" name=".setMinimumSize"></a>
1478 <div class="fixedFont">
1479 <span class="attributes"></span><b class="itemname">setMinimumSize</b>
1481 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>minSize</i></B>)
1488 <div class="short">Sets the minimum size for the resizing element</div>
1494 Sets the minimum size for the resizing element
1501 <dl class="detailList">
1502 <dt class="heading">Parameters:</dt>
1505 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>minSize</b>
1508 <dd>The minimum size</dd>
1526 <td class="msource">
1528 Roo.bootstrap.SplitBar
1534 <tr class="method-row config-row-alt0 expandable">
1535 <td class="micon"><a class="exi" href="#expand"> </a></td>
1539 <a id="Roo.util.Observable-method-un" name=".un"></a>
1540 <div class="fixedFont">
1541 <span class="attributes"></span><b class="itemname">un</b>
1543 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>, <a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>handler</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
1550 <div class="short">Removes a listener (shorthand for removeListener)</div>
1556 Removes a listener (shorthand for removeListener)
1563 <dl class="detailList">
1564 <dt class="heading">Parameters:</dt>
1567 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1570 <dd>The type of event to listen for</dd>
1573 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1576 <dd>The handler to remove</dd>
1579 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
1582 <dd>(optional) The scope (this object) for the handler</dd>
1600 <td class="msource">
1602 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1611 <!-- ============================== events summary / details ======================== -->
1614 <a id="Roo.bootstrap.SplitBar-events"></a>
1623 <table cellspacing="0" class="member-table">
1624 <caption>Events</caption>
1627 <th class="sig-header" colspan="2">Event</th>
1628 <th class="msource-header">Defined By</th>
1637 <tr class="method-row expandable config-row-alt0 notInherited">
1638 <td class="micon"><a class="exi" href="#expand"> </a></td>
1641 <a id="Roo.bootstrap.SplitBar-event-*beforeresize"></a>
1643 <div class="fixedFont">
1644 <b class="itemname">beforeresize</b> (<a href="./Roo.bootstrap.SplitBar.html#constructor" roo:cls="Roo.bootstrap.SplitBar.html#constructor">Roo.bootstrap.SplitBar</a> <B><i>this</i></B>)
1650 <div class="short">Fires before the splitter is dragged
1656 Fires before the splitter is dragged
1662 <dl class="detailList">
1663 <dt class="heading">Parameters:</dt>
1666 <span class="fixedFont"><a href="./Roo.bootstrap.SplitBar.html#constructor" roo:cls="Roo.bootstrap.SplitBar.html#constructor">Roo.bootstrap.SplitBar</a></span> <b>this</b>
1687 <td class="msource">
1688 Roo.bootstrap.SplitBar
1692 <tr class="method-row expandable config-row-alt1 notInherited">
1693 <td class="micon"><a class="exi" href="#expand"> </a></td>
1696 <a id="Roo.bootstrap.SplitBar-event-*moved"></a>
1698 <div class="fixedFont">
1699 <b class="itemname">moved</b> (<a href="./Roo.bootstrap.SplitBar.html#constructor" roo:cls="Roo.bootstrap.SplitBar.html#constructor">Roo.bootstrap.SplitBar</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>newSize</i></B>)
1705 <div class="short">Fires when the splitter is moved
1711 Fires when the splitter is moved
1717 <dl class="detailList">
1718 <dt class="heading">Parameters:</dt>
1721 <span class="fixedFont"><a href="./Roo.bootstrap.SplitBar.html#constructor" roo:cls="Roo.bootstrap.SplitBar.html#constructor">Roo.bootstrap.SplitBar</a></span> <b>this</b>
1727 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
1730 <dd>the new width or height</dd>
1748 <td class="msource">
1749 Roo.bootstrap.SplitBar
1753 <tr class="method-row expandable config-row-alt0 notInherited">
1754 <td class="micon"><a class="exi" href="#expand"> </a></td>
1757 <a id="Roo.bootstrap.SplitBar-event-*resize"></a>
1759 <div class="fixedFont">
1760 <b class="itemname">resize</b> (<a href="./Roo.bootstrap.SplitBar.html#constructor" roo:cls="Roo.bootstrap.SplitBar.html#constructor">Roo.bootstrap.SplitBar</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>newSize</i></B>)
1766 <div class="short">Fires when the splitter is moved (alias for {<b>link</b> <b>event</b>-moved})
1772 Fires when the splitter is moved (alias for {<b>link</b> <b>event</b>-moved})
1778 <dl class="detailList">
1779 <dt class="heading">Parameters:</dt>
1782 <span class="fixedFont"><a href="./Roo.bootstrap.SplitBar.html#constructor" roo:cls="Roo.bootstrap.SplitBar.html#constructor">Roo.bootstrap.SplitBar</a></span> <b>this</b>
1788 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
1791 <dd>the new width or height</dd>
1809 <td class="msource">
1810 Roo.bootstrap.SplitBar
1821 <!-- ============================== footer ================================= -->
1822 <div class="fineprint" style="clear:both">
1824 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Sep 01 2017 13:17:17 GMT+0800 (HKT)
1826 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>