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>
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.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.SplitBar-prop-BOTTOM" name=".BOTTOM"></a>
203 <div class="fixedFont">
204 <span class="attributes">Roo.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
236 <tr class="property-row config-row-alt1 notInherited">
238 <a class="exi" href="#expand"> </a>
241 <a id="Roo.SplitBar-prop-HORIZONTAL" name=".HORIZONTAL"></a>
242 <div class="fixedFont">
243 <span class="attributes">Roo.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
275 <tr class="property-row config-row-alt0 notInherited">
277 <a class="exi" href="#expand"> </a>
280 <a id="Roo.SplitBar-prop-LEFT" name=".LEFT"></a>
281 <div class="fixedFont">
282 <span class="attributes">Roo.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
314 <tr class="property-row config-row-alt1 notInherited">
316 <a class="exi" href="#expand"> </a>
319 <a id="Roo.SplitBar-prop-RIGHT" name=".RIGHT"></a>
320 <div class="fixedFont">
321 <span class="attributes">Roo.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
353 <tr class="property-row config-row-alt0 notInherited">
355 <a class="exi" href="#expand"> </a>
358 <a id="Roo.SplitBar-prop-TOP" name=".TOP"></a>
359 <div class="fixedFont">
360 <span class="attributes">Roo.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
392 <tr class="property-row config-row-alt1 notInherited">
394 <a class="exi" href="#expand"> </a>
397 <a id="Roo.SplitBar-prop-VERTICAL" name=".VERTICAL"></a>
398 <div class="fixedFont">
399 <span class="attributes">Roo.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
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.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 expandable notInherited">
473 <td class="micon"><a class="exi" href="#expand"> </a></td>
477 <a id="Roo-method-SplitBar" name=".SplitBar"></a>
478 <div class="fixedFont">
479 <span class="attributes">new <B>Roo.</B></span><b class="itemname">SplitBar</b>
481 (<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>)
489 <div class="short">Create a new Roo.SplitBar</div>
496 Create a new Roo.SplitBar
499 <dl class="detailList">
500 <dt class="heading">Parameters:</dt>
503 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>dragElement</b>
506 <dd>The element to be dragged and act as the SplitBar.</dd>
509 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Roo.Element</span> <b>resizingElement</b>
512 <dd>The element to be resized based on where the SplitBar element is dragged</dd>
515 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>orientation</b>
518 <dd>(optional) Either Roo.SplitBar.HORIZONTAL or Roo.SplitBar.VERTICAL. (Defaults to HORIZONTAL)</dd>
521 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>placement</b>
524 <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>
548 <tr class="method-row config-row-alt1 expandable">
549 <td class="micon"><a class="exi" href="#expand"> </a></td>
553 <a id="Roo.util.Observable-method-addEvents" name=".addEvents"></a>
554 <div class="fixedFont">
555 <span class="attributes"></span><b class="itemname">addEvents</b>
557 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>object</i></B>)
564 <div class="short">Used to define events on this Observable</div>
570 Used to define events on this Observable
577 <dl class="detailList">
578 <dt class="heading">Parameters:</dt>
581 <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>
584 <dd>The object with the events defined</dd>
604 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
610 <tr class="method-row config-row-alt0 expandable">
611 <td class="micon"><a class="exi" href="#expand"> </a></td>
615 <a id="Roo.util.Observable-method-addListener" name=".addListener"></a>
616 <div class="fixedFont">
617 <span class="attributes"></span><b class="itemname">addListener</b>
619 (<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>)
626 <div class="short">Appends an event handler to this component</div>
632 Appends an event handler to this component
639 <dl class="detailList">
640 <dt class="heading">Parameters:</dt>
643 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
646 <dd>The type of event to listen for</dd>
649 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
652 <dd>The method the event invokes</dd>
655 <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>
658 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
661 <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>
664 <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>
684 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
690 <tr class="method-row config-row-alt1 expandable notInherited">
691 <td class="micon"><a class="exi" href="#expand"> </a></td>
695 <a id="Roo.SplitBar-method-destroy" name=".destroy"></a>
696 <div class="fixedFont">
697 <span class="attributes"></span><b class="itemname">destroy</b>
699 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeEl</i></B>)
706 <div class="short">Destroy this splitbar.</div>
712 Destroy this splitbar.
719 <dl class="detailList">
720 <dt class="heading">Parameters:</dt>
723 <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>
726 <dd>True to remove the element</dd>
752 <tr class="method-row config-row-alt0 expandable">
753 <td class="micon"><a class="exi" href="#expand"> </a></td>
757 <a id="Roo.util.Observable-method-fireEvent" name=".fireEvent"></a>
758 <div class="fixedFont">
759 <span class="attributes"></span><b class="itemname">fireEvent</b>
761 (<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>)
767 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
776 <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
782 Fires the specified event with the passed parameters (minus the event name).
789 <dl class="detailList">
790 <dt class="heading">Parameters:</dt>
793 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
799 <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>
802 <dd>Variable number of parameters are passed to handlers</dd>
810 <dl class="detailList">
811 <dt class="heading">Returns:</dt>
813 <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>
829 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
835 <tr class="method-row config-row-alt1 expandable notInherited">
836 <td class="micon"><a class="exi" href="#expand"> </a></td>
840 <a id="Roo.SplitBar-method-getAdapter" name=".getAdapter"></a>
841 <div class="fixedFont">
842 <span class="attributes"></span><b class="itemname">getAdapter</b>
859 <div class="short">Get the adapter this SplitBar uses</div>
865 Get the adapter this SplitBar uses
876 <dl class="detailList">
877 <dt class="heading">Returns:</dt>
879 <dd> The adapter object</dd>
901 <tr class="method-row config-row-alt0 expandable notInherited">
902 <td class="micon"><a class="exi" href="#expand"> </a></td>
906 <a id="Roo.SplitBar-method-getMaximumSize" name=".getMaximumSize"></a>
907 <div class="fixedFont">
908 <span class="attributes"></span><b class="itemname">getMaximumSize</b>
916 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
925 <div class="short">Gets the maximum size for the resizing element</div>
931 Gets the maximum size for the resizing element
942 <dl class="detailList">
943 <dt class="heading">Returns:</dt>
945 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The maximum size</dd>
967 <tr class="method-row config-row-alt1 expandable notInherited">
968 <td class="micon"><a class="exi" href="#expand"> </a></td>
972 <a id="Roo.SplitBar-method-getMinimumSize" name=".getMinimumSize"></a>
973 <div class="fixedFont">
974 <span class="attributes"></span><b class="itemname">getMinimumSize</b>
982 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
991 <div class="short">Gets the minimum size for the resizing element</div>
997 Gets the minimum size for the resizing element
1008 <dl class="detailList">
1009 <dt class="heading">Returns:</dt>
1011 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The minimum size</dd>
1025 <td class="msource">
1033 <tr class="method-row config-row-alt0 expandable">
1034 <td class="micon"><a class="exi" href="#expand"> </a></td>
1038 <a id="Roo.util.Observable-method-hasListener" name=".hasListener"></a>
1039 <div class="fixedFont">
1040 <span class="attributes"></span><b class="itemname">hasListener</b>
1042 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>eventName</i></B>)
1048 <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a>
1057 <div class="short">Checks to see if this object has any listeners for a specified event</div>
1063 Checks to see if this object has any listeners for a specified event
1070 <dl class="detailList">
1071 <dt class="heading">Parameters:</dt>
1074 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1077 <dd>The name of the event to check for</dd>
1085 <dl class="detailList">
1086 <dt class="heading">Returns:</dt>
1088 <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>
1102 <td class="msource">
1104 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1110 <tr class="method-row config-row-alt1 expandable">
1111 <td class="micon"><a class="exi" href="#expand"> </a></td>
1115 <a id="Roo.util.Observable-method-on" name=".on"></a>
1116 <div class="fixedFont">
1117 <span class="attributes"></span><b class="itemname">on</b>
1119 (<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>)
1126 <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
1132 Appends an event handler to this element (shorthand for addListener)
1139 <dl class="detailList">
1140 <dt class="heading">Parameters:</dt>
1143 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1146 <dd>The type of event to listen for</dd>
1149 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1152 <dd>The method the event invokes</dd>
1155 <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>
1158 <dd>(optional) The scope in which to execute the handler<br/>function. The handler function's "this" context.</dd>
1161 <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>
1182 <td class="msource">
1184 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1190 <tr class="method-row config-row-alt0 expandable">
1191 <td class="micon"><a class="exi" href="#expand"> </a></td>
1195 <a id="Roo.util.Observable-method-purgeListeners" name=".purgeListeners"></a>
1196 <div class="fixedFont">
1197 <span class="attributes"></span><b class="itemname">purgeListeners</b>
1206 <div class="short">Removes all listeners for this object</div>
1212 Removes all listeners for this object
1233 <td class="msource">
1235 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1241 <tr class="method-row config-row-alt1 expandable">
1242 <td class="micon"><a class="exi" href="#expand"> </a></td>
1246 <a id="Roo.util.Observable-method-removeListener" name=".removeListener"></a>
1247 <div class="fixedFont">
1248 <span class="attributes"></span><b class="itemname">removeListener</b>
1250 (<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>)
1257 <div class="short">Removes a listener</div>
1270 <dl class="detailList">
1271 <dt class="heading">Parameters:</dt>
1274 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1277 <dd>The type of event to listen for</dd>
1280 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1283 <dd>The handler to remove</dd>
1286 <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>
1289 <dd>(optional) The scope (this object) for the handler</dd>
1307 <td class="msource">
1309 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1315 <tr class="method-row config-row-alt0 expandable notInherited">
1316 <td class="micon"><a class="exi" href="#expand"> </a></td>
1320 <a id="Roo.SplitBar-method-setAdapter" name=".setAdapter"></a>
1321 <div class="fixedFont">
1322 <span class="attributes"></span><b class="itemname">setAdapter</b>
1324 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>adapter</i></B>)
1331 <div class="short">Set the adapter this SplitBar uses</div>
1337 Set the adapter this SplitBar uses
1344 <dl class="detailList">
1345 <dt class="heading">Parameters:</dt>
1348 <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>
1351 <dd>A SplitBar adapter object</dd>
1369 <td class="msource">
1377 <tr class="method-row config-row-alt1 expandable notInherited">
1378 <td class="micon"><a class="exi" href="#expand"> </a></td>
1382 <a id="Roo.SplitBar-method-setCurrentSize" name=".setCurrentSize"></a>
1383 <div class="fixedFont">
1384 <span class="attributes"></span><b class="itemname">setCurrentSize</b>
1386 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>size</i></B>)
1393 <div class="short">Sets the initialize size for the resizing element</div>
1399 Sets the initialize size for the resizing element
1406 <dl class="detailList">
1407 <dt class="heading">Parameters:</dt>
1410 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>size</b>
1413 <dd>The initial size</dd>
1431 <td class="msource">
1439 <tr class="method-row config-row-alt0 expandable notInherited">
1440 <td class="micon"><a class="exi" href="#expand"> </a></td>
1444 <a id="Roo.SplitBar-method-setMaximumSize" name=".setMaximumSize"></a>
1445 <div class="fixedFont">
1446 <span class="attributes"></span><b class="itemname">setMaximumSize</b>
1448 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>maxSize</i></B>)
1455 <div class="short">Sets the maximum size for the resizing element</div>
1461 Sets the maximum size for the resizing element
1468 <dl class="detailList">
1469 <dt class="heading">Parameters:</dt>
1472 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>maxSize</b>
1475 <dd>The maximum size</dd>
1493 <td class="msource">
1501 <tr class="method-row config-row-alt1 expandable notInherited">
1502 <td class="micon"><a class="exi" href="#expand"> </a></td>
1506 <a id="Roo.SplitBar-method-setMinimumSize" name=".setMinimumSize"></a>
1507 <div class="fixedFont">
1508 <span class="attributes"></span><b class="itemname">setMinimumSize</b>
1510 (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>minSize</i></B>)
1517 <div class="short">Sets the minimum size for the resizing element</div>
1523 Sets the minimum size for the resizing element
1530 <dl class="detailList">
1531 <dt class="heading">Parameters:</dt>
1534 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>minSize</b>
1537 <dd>The minimum size</dd>
1555 <td class="msource">
1563 <tr class="method-row config-row-alt0 expandable">
1564 <td class="micon"><a class="exi" href="#expand"> </a></td>
1568 <a id="Roo.util.Observable-method-un" name=".un"></a>
1569 <div class="fixedFont">
1570 <span class="attributes"></span><b class="itemname">un</b>
1572 (<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>)
1579 <div class="short">Removes a listener (shorthand for removeListener)</div>
1585 Removes a listener (shorthand for removeListener)
1592 <dl class="detailList">
1593 <dt class="heading">Parameters:</dt>
1596 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>eventName</b>
1599 <dd>The type of event to listen for</dd>
1602 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>handler</b>
1605 <dd>The handler to remove</dd>
1608 <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>
1611 <dd>(optional) The scope (this object) for the handler</dd>
1629 <td class="msource">
1631 <a href="./Roo.util.Observable.html#constructor" roo:cls="Roo.util.Observable.html#constructor">Roo.util.Observable</a>
1640 <!-- ============================== events summary / details ======================== -->
1643 <a id="Roo.SplitBar-events"></a>
1652 <table cellspacing="0" class="member-table">
1653 <caption>Events</caption>
1656 <th class="sig-header" colspan="2">Event</th>
1657 <th class="msource-header">Defined By</th>
1666 <tr class="method-row expandable config-row-alt0 notInherited">
1667 <td class="micon"><a class="exi" href="#expand"> </a></td>
1670 <a id="Roo.SplitBar-event-*beforeresize"></a>
1672 <div class="fixedFont">
1673 <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>)
1679 <div class="short">Fires before the splitter is dragged
1685 Fires before the splitter is dragged
1691 <dl class="detailList">
1692 <dt class="heading">Parameters:</dt>
1695 <span class="fixedFont"><a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a></span> <b>this</b>
1716 <td class="msource">
1721 <tr class="method-row expandable config-row-alt1 notInherited">
1722 <td class="micon"><a class="exi" href="#expand"> </a></td>
1725 <a id="Roo.SplitBar-event-*moved"></a>
1727 <div class="fixedFont">
1728 <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>)
1734 <div class="short">Fires when the splitter is moved
1740 Fires when the splitter is moved
1746 <dl class="detailList">
1747 <dt class="heading">Parameters:</dt>
1750 <span class="fixedFont"><a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a></span> <b>this</b>
1756 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
1759 <dd>the new width or height</dd>
1777 <td class="msource">
1782 <tr class="method-row expandable config-row-alt0 notInherited">
1783 <td class="micon"><a class="exi" href="#expand"> </a></td>
1786 <a id="Roo.SplitBar-event-*resize"></a>
1788 <div class="fixedFont">
1789 <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>)
1795 <div class="short">Fires when the splitter is moved (alias for {<b>link</b> <b>event</b>-moved})
1801 Fires when the splitter is moved (alias for {<b>link</b> <b>event</b>-moved})
1807 <dl class="detailList">
1808 <dt class="heading">Parameters:</dt>
1811 <span class="fixedFont"><a href="./Roo.SplitBar.html#constructor" roo:cls="Roo.SplitBar.html#constructor">Roo.SplitBar</a></span> <b>this</b>
1817 <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>newSize</b>
1820 <dd>the new width or height</dd>
1838 <td class="msource">
1850 <!-- ============================== footer ================================= -->
1851 <div class="fineprint" style="clear:both">
1853 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu Apr 28 2016 18:04:16 GMT+0800 (HKT)
1855 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>