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.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.SplitBar-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.SplitBar-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.SplitBar-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.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.SplitBar
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_SplitBar.js.html">Roo/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.SplitBar("elementToDrag", "elementToSize",<br/> Roo.SplitBar.HORIZONTAL, Roo.SplitBar.LEFT);<br/>split.setAdapter(new Roo.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.SplitBar';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.SplitBar.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.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>
143 <div class="long">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></div>
151 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
167 <!-- ============================== public properties ==================== -->
171 <a id="Roo.SplitBar-props"></a>
179 <table cellspacing="0" class="member-table">
180 <caption>Public Properties </caption>
182 <th class="sig-header" colspan="2">Property</th>
183 <th class="sig-header">Description</th>
184 <th class="msource-header">Defined By</th>
194 <tr class="property-row config-row-alt0 notInherited">
196 <a class="exi" href="#expand"> </a>
199 <a id="Roo.SplitBar-prop-BOTTOM" name=".BOTTOM"></a>
200 <div class="fixedFont">
201 <span class="attributes">Roo.SplitBar.</span><b class="itemname">BOTTOM</b> :
202 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
210 Placement constant - The resizing element is positioned under splitter element
218 Placement constant - The resizing element is positioned under splitter element
233 <tr class="property-row config-row-alt1 notInherited">
235 <a class="exi" href="#expand"> </a>
238 <a id="Roo.SplitBar-prop-HORIZONTAL" name=".HORIZONTAL"></a>
239 <div class="fixedFont">
240 <span class="attributes">Roo.SplitBar.</span><b class="itemname">HORIZONTAL</b> :
241 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
249 Orientation constant - Create a horizontal SplitBar
257 Orientation constant - Create a horizontal SplitBar
272 <tr class="property-row config-row-alt0 notInherited">
274 <a class="exi" href="#expand"> </a>
277 <a id="Roo.SplitBar-prop-LEFT" name=".LEFT"></a>
278 <div class="fixedFont">
279 <span class="attributes">Roo.SplitBar.</span><b class="itemname">LEFT</b> :
280 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
288 Placement constant - The resizing element is to the left of the splitter element
296 Placement constant - The resizing element is to the left of the splitter element
311 <tr class="property-row config-row-alt1 notInherited">
313 <a class="exi" href="#expand"> </a>
316 <a id="Roo.SplitBar-prop-RIGHT" name=".RIGHT"></a>
317 <div class="fixedFont">
318 <span class="attributes">Roo.SplitBar.</span><b class="itemname">RIGHT</b> :
319 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
327 Placement constant - The resizing element is to the right of the splitter element
335 Placement constant - The resizing element is to the right of the splitter element
350 <tr class="property-row config-row-alt0 notInherited">
352 <a class="exi" href="#expand"> </a>
355 <a id="Roo.SplitBar-prop-TOP" name=".TOP"></a>
356 <div class="fixedFont">
357 <span class="attributes">Roo.SplitBar.</span><b class="itemname">TOP</b> :
358 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
366 Placement constant - The resizing element is positioned above the splitter element
374 Placement constant - The resizing element is positioned above the splitter element
389 <tr class="property-row config-row-alt1 notInherited">
391 <a class="exi" href="#expand"> </a>
394 <a id="Roo.SplitBar-prop-VERTICAL" name=".VERTICAL"></a>
395 <div class="fixedFont">
396 <span class="attributes">Roo.SplitBar.</span><b class="itemname">VERTICAL</b> :
397 <span type="etype"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span>
405 Orientation constant - Create a vertical SplitBar
413 Orientation constant - Create a vertical SplitBar
429 <!-- TODO: implement this alt row. also notice non-linked "Defined by" when property is a part of this class.
430 <tr class="property-row alt">
437 <!-- ============================== methods summary / details ======================== -->
440 <a id="Roo.SplitBar-methods"></a>
441 <!-- constructor?? -->
448 <!-- then dynamics first -->
455 <table cellspacing="0" class="member-table">
456 <caption>Public Methods</caption>
458 <th class="sig-header" colspan="2">Method</th>
459 <th class="msource-header">Defined By</th>
469 <tr class="method-row config-row-alt0 expandable notInherited">
470 <td class="micon"><a class="exi" href="#expand"> </a></td>
474 <a id="Roo-method-SplitBar" name=".SplitBar"></a>
475 <div class="fixedFont">
476 <span class="attributes">new <B>Roo.</B></span><b class="itemname">SplitBar</b>
478 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>dragElement</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element <B><i>resizingElement</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>orientation</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>placement</i></B>)
486 <div class="short">Create a new Roo.SplitBar</div>
493 Create a new Roo.SplitBar
496 <dl class="detailList">
497 <dt class="heading">Parameters:</dt>
500 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>dragElement</b>
503 <dd>The element to be dragged and act as the SplitBar.</dd>
506 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>resizingElement</b>
509 <dd>The element to be resized based on where the SplitBar element is dragged</dd>
512 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>orientation</b>
515 <dd>(optional) Either Roo.SplitBar.HORIZONTAL or Roo.SplitBar.VERTICAL. (Defaults to HORIZONTAL)</dd>
518 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>placement</b>
521 <dd>(optional) Either Roo.SplitBar.LEFT or Roo.SplitBar.RIGHT for horizontal or <br/> Roo.SplitBar.TOP or Roo.SplitBar.BOTTOM for vertical. (By default, this is determined automatically by the initial<br/> position of the SplitBar).</dd>
545 <tr class="method-row config-row-alt1 expandable">
546 <td class="micon"><a class="exi" href="#expand"> </a></td>
550 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
551 <div class="fixedFont">
552 <span class="attributes"></span><b class="itemname">addEvents</b>
554 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
561 <div class="short">Used to define events on this Observable</div>
567 Used to define events on this Observable
574 <dl class="detailList">
575 <dt class="heading">Parameters:</dt>
578 <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>
581 <dd>The object with the events defined</dd>
601 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
607 <tr class="method-row config-row-alt0 expandable">
608 <td class="micon"><a class="exi" href="#expand"> </a></td>
612 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
613 <div class="fixedFont">
614 <span class="attributes"></span><b class="itemname">addListener</b>
616 (<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>)
623 <div class="short">Appends an event handler to this component</div>
629 Appends an event handler to this component
636 <dl class="detailList">
637 <dt class="heading">Parameters:</dt>
640 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
643 <dd>The type of event to listen for</dd>
646 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
649 <dd>The method the event invokes</dd>
652 <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>
655 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
658 <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>
661 <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>
681 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
687 <tr class="method-row config-row-alt1 expandable notInherited">
688 <td class="micon"><a class="exi" href="#expand"> </a></td>
692 <a id="Roo.SplitBar-method-destroy" name=".destroy"></a>
693 <div class="fixedFont">
694 <span class="attributes"></span><b class="itemname">destroy</b>
696 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
703 <div class="short">Destroy this splitbar.</div>
709 Destroy this splitbar.
716 <dl class="detailList">
717 <dt class="heading">Parameters:</dt>
720 <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>
723 <dd>True to remove the element</dd>
749 <tr class="method-row config-row-alt0 expandable">
750 <td class="micon"><a class="exi" href="#expand"> </a></td>
754 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
755 <div class="fixedFont">
756 <span class="attributes"></span><b class="itemname">fireEvent</b>
758 (<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>)
764 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
773 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
779 Fires the specified event with the passed parameters (minus the event name).
786 <dl class="detailList">
787 <dt class="heading">Parameters:</dt>
790 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
796 <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>
799 <dd>Variable number of parameters are passed to handlers</dd>
807 <dl class="detailList">
808 <dt class="heading">Returns:</dt>
810 <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>
826 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
832 <tr class="method-row config-row-alt1 expandable notInherited">
833 <td class="micon"><a class="exi" href="#expand"> </a></td>
837 <a id="Roo.SplitBar-method-getAdapter" name=".getAdapter"></a>
838 <div class="fixedFont">
839 <span class="attributes"></span><b class="itemname">getAdapter</b>
856 <div class="short">Get the adapter this SplitBar uses</div>
862 Get the adapter this SplitBar uses
873 <dl class="detailList">
874 <dt class="heading">Returns:</dt>
876 <dd> The adapter object</dd>
898 <tr class="method-row config-row-alt0 expandable notInherited">
899 <td class="micon"><a class="exi" href="#expand"> </a></td>
903 <a id="Roo.SplitBar-method-getMaximumSize" name=".getMaximumSize"></a>
904 <div class="fixedFont">
905 <span class="attributes"></span><b class="itemname">getMaximumSize</b>
913 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
922 <div class="short">Gets the maximum size for the resizing element</div>
928 Gets the maximum size for the resizing element
939 <dl class="detailList">
940 <dt class="heading">Returns:</dt>
942 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The maximum size</dd>
964 <tr class="method-row config-row-alt1 expandable notInherited">
965 <td class="micon"><a class="exi" href="#expand"> </a></td>
969 <a id="Roo.SplitBar-method-getMinimumSize" name=".getMinimumSize"></a>
970 <div class="fixedFont">
971 <span class="attributes"></span><b class="itemname">getMinimumSize</b>
979 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
988 <div class="short">Gets the minimum size for the resizing element</div>
994 Gets the minimum size for the resizing element
1005 <dl class="detailList">
1006 <dt class="heading">Returns:</dt>
1008 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The minimum size</dd>
1022 <td class="msource">
1030 <tr class="method-row config-row-alt0 expandable">
1031 <td class="micon"><a class="exi" href="#expand"> </a></td>
1035 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1036 <div class="fixedFont">
1037 <span class="attributes"></span><b class="itemname">hasListener</b>
1039 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1045 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1054 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1060 Checks to see if this object has any listeners for a specified event
1067 <dl class="detailList">
1068 <dt class="heading">Parameters:</dt>
1071 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1074 <dd>The name of the event to check for</dd>
1082 <dl class="detailList">
1083 <dt class="heading">Returns:</dt>
1085 <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>
1099 <td class="msource">
1101 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1107 <tr class="method-row config-row-alt1 expandable">
1108 <td class="micon"><a class="exi" href="#expand"> </a></td>
1112 <a id="Roo.util.Observable-method-on" name=".on"></a>
1113 <div class="fixedFont">
1114 <span class="attributes"></span><b class="itemname">on</b>
1116 (<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>)
1123 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1129 Appends an event handler to this element (shorthand for addListener)
1136 <dl class="detailList">
1137 <dt class="heading">Parameters:</dt>
1140 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1143 <dd>The type of event to listen for</dd>
1146 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1149 <dd>The method the event invokes</dd>
1152 <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>
1155 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1158 <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>
1179 <td class="msource">
1181 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1187 <tr class="method-row config-row-alt0 expandable">
1188 <td class="micon"><a class="exi" href="#expand"> </a></td>
1192 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1193 <div class="fixedFont">
1194 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1203 <div class="short">Removes all listeners for this object</div>
1209 Removes all listeners for this object
1230 <td class="msource">
1232 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1238 <tr class="method-row config-row-alt1 expandable">
1239 <td class="micon"><a class="exi" href="#expand"> </a></td>
1243 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1244 <div class="fixedFont">
1245 <span class="attributes"></span><b class="itemname">removeListener</b>
1247 (<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>)
1254 <div class="short">Removes a listener</div>
1267 <dl class="detailList">
1268 <dt class="heading">Parameters:</dt>
1271 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1274 <dd>The type of event to listen for</dd>
1277 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1280 <dd>The handler to remove</dd>
1283 <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>
1286 <dd>(optional) The scope (this object) for the handler</dd>
1304 <td class="msource">
1306 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1312 <tr class="method-row config-row-alt0 expandable notInherited">
1313 <td class="micon"><a class="exi" href="#expand"> </a></td>
1317 <a id="Roo.SplitBar-method-setAdapter" name=".setAdapter"></a>
1318 <div class="fixedFont">
1319 <span class="attributes"></span><b class="itemname">setAdapter</b>
1321 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>adapter</i></B>)
1328 <div class="short">Set the adapter this SplitBar uses</div>
1334 Set the adapter this SplitBar uses
1341 <dl class="detailList">
1342 <dt class="heading">Parameters:</dt>
1345 <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>
1348 <dd>A SplitBar adapter object</dd>
1366 <td class="msource">
1374 <tr class="method-row config-row-alt1 expandable notInherited">
1375 <td class="micon"><a class="exi" href="#expand"> </a></td>
1379 <a id="Roo.SplitBar-method-setCurrentSize" name=".setCurrentSize"></a>
1380 <div class="fixedFont">
1381 <span class="attributes"></span><b class="itemname">setCurrentSize</b>
1383 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>size</i></B>)
1390 <div class="short">Sets the initialize size for the resizing element</div>
1396 Sets the initialize size for the resizing element
1403 <dl class="detailList">
1404 <dt class="heading">Parameters:</dt>
1407 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>size</b>
1410 <dd>The initial size</dd>
1428 <td class="msource">
1436 <tr class="method-row config-row-alt0 expandable notInherited">
1437 <td class="micon"><a class="exi" href="#expand"> </a></td>
1441 <a id="Roo.SplitBar-method-setMaximumSize" name=".setMaximumSize"></a>
1442 <div class="fixedFont">
1443 <span class="attributes"></span><b class="itemname">setMaximumSize</b>
1445 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>maxSize</i></B>)
1452 <div class="short">Sets the maximum size for the resizing element</div>
1458 Sets the maximum size for the resizing element
1465 <dl class="detailList">
1466 <dt class="heading">Parameters:</dt>
1469 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>maxSize</b>
1472 <dd>The maximum size</dd>
1490 <td class="msource">
1498 <tr class="method-row config-row-alt1 expandable notInherited">
1499 <td class="micon"><a class="exi" href="#expand"> </a></td>
1503 <a id="Roo.SplitBar-method-setMinimumSize" name=".setMinimumSize"></a>
1504 <div class="fixedFont">
1505 <span class="attributes"></span><b class="itemname">setMinimumSize</b>
1507 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>minSize</i></B>)
1514 <div class="short">Sets the minimum size for the resizing element</div>
1520 Sets the minimum size for the resizing element
1527 <dl class="detailList">
1528 <dt class="heading">Parameters:</dt>
1531 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>minSize</b>
1534 <dd>The minimum size</dd>
1552 <td class="msource">
1560 <tr class="method-row config-row-alt0 expandable">
1561 <td class="micon"><a class="exi" href="#expand"> </a></td>
1565 <a id="Roo.util.Observable-method-un" name=".un"></a>
1566 <div class="fixedFont">
1567 <span class="attributes"></span><b class="itemname">un</b>
1569 (<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>)
1576 <div class="short">Removes a listener (shorthand for removeListener)</div>
1582 Removes a listener (shorthand for removeListener)
1589 <dl class="detailList">
1590 <dt class="heading">Parameters:</dt>
1593 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1596 <dd>The type of event to listen for</dd>
1599 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1602 <dd>The handler to remove</dd>
1605 <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>
1608 <dd>(optional) The scope (this object) for the handler</dd>
1626 <td class="msource">
1628 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1637 <!-- ============================== events summary / details ======================== -->
1640 <a id="Roo.SplitBar-events"></a>
1649 <table cellspacing="0" class="member-table">
1650 <caption>Events</caption>
1653 <th class="sig-header" colspan="2">Event</th>
1654 <th class="msource-header">Defined By</th>
1663 <tr class="method-row expandable config-row-alt0 notInherited">
1664 <td class="micon"><a class="exi" href="#expand"> </a></td>
1667 <a id="Roo.SplitBar-event-*beforeresize"></a>
1669 <div class="fixedFont">
1670 <b class="itemname">beforeresize</b> (<a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a> <B><i>this</i></B>)
1676 <div class="short">Fires before the splitter is dragged
1682 Fires before the splitter is dragged
1688 <dl class="detailList">
1689 <dt class="heading">Parameters:</dt>
1692 <span class="fixedFont"><a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a></span> <b>this</b>
1713 <td class="msource">
1718 <tr class="method-row expandable config-row-alt1 notInherited">
1719 <td class="micon"><a class="exi" href="#expand"> </a></td>
1722 <a id="Roo.SplitBar-event-*moved"></a>
1724 <div class="fixedFont">
1725 <b class="itemname">moved</b> (<a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>newSize</i></B>)
1731 <div class="short">Fires when the splitter is moved
1737 Fires when the splitter is moved
1743 <dl class="detailList">
1744 <dt class="heading">Parameters:</dt>
1747 <span class="fixedFont"><a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a></span> <b>this</b>
1753 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
1756 <dd>the new width or height</dd>
1774 <td class="msource">
1779 <tr class="method-row expandable config-row-alt0 notInherited">
1780 <td class="micon"><a class="exi" href="#expand"> </a></td>
1783 <a id="Roo.SplitBar-event-*resize"></a>
1785 <div class="fixedFont">
1786 <b class="itemname">resize</b> (<a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a> <B><i>this</i></B>, <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>newSize</i></B>)
1792 <div class="short">Fires when the splitter is moved (alias for {<b>link</b> <b>event</b>-moved})
1798 Fires when the splitter is moved (alias for {<b>link</b> <b>event</b>-moved})
1804 <dl class="detailList">
1805 <dt class="heading">Parameters:</dt>
1808 <span class="fixedFont"><a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a></span> <b>this</b>
1814 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
1817 <dd>the new width or height</dd>
1835 <td class="msource">
1847 <!-- ============================== footer ================================= -->
1848 <div class="fineprint" style="clear:both">
1850 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 10 2014 17:47:12 GMT+0800 (HKT)
1852 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>