--- /dev/null
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=undefined" />
+ <meta name="generator" content="JsDoc Toolkit" />
+
+
+ <title>JsDoc Reference - Roo.bootstarp.Toolbar</title>
+
+
+ <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
+ <link rel="stylesheet" type="text/css" href="../default.css" />
+
+
+ <script type="text/javascript" src="../page.js">
+
+ </script>
+
+
+ </head>
+
+ <body onload="RooDocsPage.onload();">
+
+
+<div class="body-wrap">
+
+ <!-- ============================== links to methods. ================================= -->
+
+ <div class="top-tools">
+ <!--
+ <a class="inner-link" href="#Roo.bootstarp.Toolbar-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
+ <a class="inner-link" href="#Roo.bootstarp.Toolbar-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
+ <a class="inner-link" href="#Roo.bootstarp.Toolbar-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
+ <a class="inner-link" href="#Roo.bootstarp.Toolbar-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
+ <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
+ -->
+ </div>
+
+
+<!-- ============================== inheritance Block. ================================= -->
+
+<!-- ============================== class title / details ============================ -->
+
+
+ <h1 class="classTitle">
+
+ Class Roo.bootstarp.Toolbar
+ </h1>
+
+ <table cellspacing="0" class="class-summary-table">
+
+ <tr><td class="label">Package:</td><td class="hd-info">Roo.bootstarp</td></tr>
+
+ <tr><td class="label">Defined In:</td><td class="hd-info">
+
+ <a href="./src/Roo_bootstrap_Toolbar.js.html">Roo/bootstrap/Toolbar.js</a>.
+
+ </td></tr>
+ <tr><td class="label">Class:</td><td class="hd-info">Toolbar</td></tr>
+
+
+
+
+ </table>
+
+
+<!-- ============================== class summary ========================== -->
+ <div class="description">
+ Basic Toolbar class.
+ </div>
+
+
+<!-- ============================== Class comment block... ========================== -->
+
+<div class="comments">
+ <b>Class Comments / Notes</B> =>
+ <u onclick="parent.CommentDialog.showCommentId = 'Roo.bootstarp.Toolbar';">[Add Your comment/notes about this class]</u>
+ <br/>
+ <iframe frameborder="0" id="comments-Roo.bootstarp" style="border: none;width:100%;"
+ src="/blog.php/GtkDjsComments/Roo.bootstarp.Toolbar.html"></iframe>
+</div>
+
+
+
+<!-- ============================== config options ========================== -->
+
+
+
+
+ <div class="hr"></div>
+ <a id="Roo.bootstarp.Toolbar-configs"></a>
+
+
+
+
+
+ <table cellspacing="0" class="member-table">
+ <caption>Config Options (Usually are also Properties)</caption>
+
+
+ <tr>
+ <th class="sig-header" colspan="2">Options</th>
+
+ <th class="msource-header">Defined By</th>
+ </tr>
+
+
+
+
+
+ <tr class="config-row expandable config-row-alt0 notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+
+ <a id="Roo.bootstarp.Toolbar-cfg-container" name=".container"></a>
+ <div class="fixedFont">
+ <b class="itemname">container</b> : <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element
+
+
+ </div>
+
+ <div class="mdesc">
+ <div class="short">The id or element that will contain the toolbar</div>
+ </div>
+
+ <div class="mdesc">
+ <div class="long">The id or element that will contain the toolbar</div>
+ </div>
+
+
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="config-row expandable config-row-alt1 notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+ <td class="sig">
+
+ <a id="Roo.bootstarp.Toolbar-cfg-items" name=".items"></a>
+ <div class="fixedFont">
+ <b class="itemname">items</b> : <a href="./Array.html#constructor" roo:cls="Array.html#constructor">Array</a>
+
+
+ </div>
+
+ <div class="mdesc">
+ <div class="short">array of button configs or elements to add (will be converted to a MixedCollection)</div>
+ </div>
+
+ <div class="mdesc">
+ <div class="long">array of button configs or elements to add (will be converted to a MixedCollection)</div>
+ </div>
+
+
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ </table>
+
+
+
+
+
+
+
+
+
+ <!-- ============================== public properties ==================== -->
+
+
+
+ <a id="Roo.bootstarp.Toolbar-props"></a>
+
+
+
+
+
+ <table cellspacing="0" class="member-table">
+ <caption class="Empty">Public Properties - Has None</caption>
+ </table>
+
+
+
+
+ <!-- ============================== methods summary / details ======================== -->
+
+
+ <a id="Roo.bootstarp.Toolbar-methods"></a>
+ <!-- constructor?? -->
+
+ <!-- static's first
+
+
+ -->
+
+ <!-- then dynamics first -->
+
+
+
+
+
+
+ <table cellspacing="0" class="member-table">
+ <caption>Public Methods</caption>
+ <tr>
+ <th class="sig-header" colspan="2">Method</th>
+ <th class="msource-header">Defined By</th>
+
+ </tr>
+
+
+
+
+
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp-method-Toolbar" name=".Toolbar"></a>
+ <div class="fixedFont">
+ <span class="attributes">new <B>Roo.bootstarp.</B></span><b class="itemname">Toolbar</b>
+
+ (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>container</i></B>)
+
+
+
+ </div>
+ <div class="mdesc">
+
+
+ <div class="short">Create a new Roo.bootstarp.Toolbar</div>
+
+
+ <div class="long">
+
+
+
+ Create a new Roo.bootstarp.Toolbar
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>container</b>
+
+ </dt>
+ <dd>The config object</dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-add" name=".add"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">add</b>
+
+ (Mixed <B><i>arg1</i></B>, Mixed <B><i>arg2</i></B>)
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds element(s) to the toolbar -- this function takes a variable number of <br/>arguments of mixed type and adds them to the toolbar.</div>
+
+
+
+ <div class="long">
+
+ Adds element(s) to the toolbar -- this function takes a variable number of <br/>arguments of mixed type and adds them to the toolbar.
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont">Mixed</span> <b>arg1</b>
+
+ </dt>
+ <dd>The following types of arguments are all valid:<br /><br/><ul><br/><li>{<b>link</b> Roo.bootstrap.Toolbar.Button} config: A valid button config object (equivalent to {<b>link</b> <b>addButton</b>})</li><br/><li>HtmlElement: Any standard HTML element (equivalent to {<b>link</b> <b>addElement</b>})</li><br/><li>Field: Any form field (equivalent to {<b>link</b> <b>addField</b>})</li><br/><li>Item: Any subclass of {<b>link</b> Roo.bootstrap.Toolbar.Item} (equivalent to {<b>link</b> <b>addItem</b>})</li><br/><li>String: Any generic string (gets wrapped in a {<b>link</b> Roo.bootstrap.Toolbar.TextItem}, equivalent to {<b>link</b> <b>addText</b>}).<br/>Note that there are a few special strings that are treated differently as explained nRoo.</li><br/><li>'separator' or '-': Creates a separator element (equivalent to {<b>link</b> <b>addSeparator</b>})</li><br/><li>' ': Creates a spacer element (equivalent to {<b>link</b> <b>addSpacer</b>})</li><br/><li>'->': Creates a fill element (equivalent to {<b>link</b> <b>addFill</b>})</li><br/></ul></dd>
+
+ <dt>
+ <span class="fixedFont">Mixed</span> <b>arg2</b>
+
+ </dt>
+ <dd></dd>
+
+ <dt>
+ <span class="fixedFont">Mixed</span> <b>etc.</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addButton" name=".addButton"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addButton</b>
+
+ (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Array <B><i>config</i></B>)
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Button.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Button.html#constructor">Roo.bootstrap.Toolbar.Button</a>/Array
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds a button (or buttons).</div>
+
+
+
+ <div class="long">
+
+ Adds a button (or buttons). See {<b>link</b> Roo.Toolbar.Button} for more info on the config.
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Array</span> <b>config</b>
+
+ </dt>
+ <dd>A button config or array of configs</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Button.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Button.html#constructor">Roo.bootstrap.Toolbar.Button</a>/Array</span> </dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addDom" name=".addDom"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addDom</b>
+
+ (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>config</i></B>)
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds a new element to the toolbar from the passed {<b>link</b> Roo.DomHelper} config.</div>
+
+
+
+ <div class="long">
+
+ Adds a new element to the toolbar from the passed {<b>link</b> Roo.DomHelper} config.
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>config</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a></span> The element's item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addElement" name=".addElement"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addElement</b>
+
+ (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>el</i></B>)
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds any standard HTML element to the toolbar</div>
+
+
+
+ <div class="long">
+
+ Adds any standard HTML element to the toolbar
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>el</b>
+
+ </dt>
+ <dd>The element or id of the element to add</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a></span> The element's item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addField" name=".addField"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addField</b>
+
+ (Roo.bootstrap.form.Field <B><i>field</i></B>)
+
+
+ :
+
+
+ Roo.bootstrap.ToolbarItem
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds a dynamically rendered Roo.form field (TextField, ComboBox, etc).</div>
+
+
+
+ <div class="long">
+
+ Adds a dynamically rendered Roo.form field (TextField, ComboBox, etc).<br/>Note: the field should not have been rendered yet. For a field that has already been<br/>rendered, use {<b>link</b> <b>addElement</b>}.
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont">Roo.bootstrap.form.Field</span> <b>field</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont">Roo.bootstrap.ToolbarItem</span> </dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addFill" name=".addFill"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addFill</b>
+
+ ()
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Fill.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Fill.html#constructor">Roo.bootstrap.Toolbar.Fill</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds a fill element that forces subsequent additions to the right side of the toolbar</div>
+
+
+
+ <div class="long">
+
+ Adds a fill element that forces subsequent additions to the right side of the toolbar
+
+
+
+
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Fill.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Fill.html#constructor">Roo.bootstrap.Toolbar.Fill</a></span> The fill item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addItem" name=".addItem"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addItem</b>
+
+ (<a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a> <B><i>item</i></B>)
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds any Toolbar.Item or subclass</div>
+
+
+
+ <div class="long">
+
+ Adds any Toolbar.Item or subclass
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a></span> <b>item</b>
+
+ </dt>
+ <dd></dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a></span> The item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addSeparator" name=".addSeparator"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addSeparator</b>
+
+ ()
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds a separator</div>
+
+
+
+ <div class="long">
+
+ Adds a separator
+
+
+
+
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a></span> The separator item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addSpacer" name=".addSpacer"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addSpacer</b>
+
+ ()
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Spacer.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Spacer.html#constructor">Roo.bootstrap.Toolbar.Spacer</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds a spacer element</div>
+
+
+
+ <div class="long">
+
+ Adds a spacer element
+
+
+
+
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Spacer.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Spacer.html#constructor">Roo.bootstrap.Toolbar.Spacer</a></span> The spacer item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addText" name=".addText"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addText</b>
+
+ (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Adds text to the toolbar</div>
+
+
+
+ <div class="long">
+
+ Adds text to the toolbar
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
+
+ </dt>
+ <dd>The text to add</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Item.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Item.html#constructor">Roo.bootstrap.Toolbar.Item</a></span> The element's item</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-addxtype" name=".addxtype"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">addxtype</b>
+
+ (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>xtype</i></B>)
+
+
+ :
+
+
+ <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Add an Xtype element</div>
+
+
+
+ <div class="long">
+
+ Add an Xtype element
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>xtype</b>
+
+ </dt>
+ <dd>Xtype Object</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> created Object</dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-getEl" name=".getEl"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">getEl</b>
+
+ ()
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Element.html#constructor" roo:cls="Roo.bootstrap.Element.html#constructor">Roo.bootstrap.Element</a>
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Returns the Element for this toolbar.</div>
+
+
+
+ <div class="long">
+
+ Returns the Element for this toolbar.
+
+
+
+
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Element.html#constructor" roo:cls="Roo.bootstrap.Element.html#constructor">Roo.bootstrap.Element</a></span> </dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-hide" name=".hide"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">hide</b>
+
+ ()
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Hide the toolbar</div>
+
+
+
+ <div class="long">
+
+ Hide the toolbar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt0 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-insertButton" name=".insertButton"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">insertButton</b>
+
+ (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Roo.bootstrap.Toolbar.Item/Roo.bootstrap.Toolbar.Button (may be Array) <B><i>item</i></B>)
+
+
+ :
+
+
+ <a href="./Roo.bootstrap.Toolbar.Button.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Button.html#constructor">Roo.bootstrap.Toolbar.Button</a>/Item
+
+
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Inserts any {<b>link</b> Roo.Toolbar.Item}/{<b>link</b> Roo.Toolbar.Button} at the specified index.</div>
+
+
+
+ <div class="long">
+
+ Inserts any {<b>link</b> Roo.Toolbar.Item}/{<b>link</b> Roo.Toolbar.Button} at the specified index.
+
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Parameters:</dt>
+
+ <dt>
+ <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
+
+ </dt>
+ <dd>The index where the item is to be inserted</dd>
+
+ <dt>
+ <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a>/Roo.bootstrap.Toolbar.Item/Roo.bootstrap.Toolbar.Button (may be Array)</span> <b>item</b>
+
+ </dt>
+ <dd>The button, or button config object to be inserted.</dd>
+
+ </dl>
+
+
+
+
+
+ <dl class="detailList">
+ <dt class="heading">Returns:</dt>
+
+ <dd><span class="fixedFont"><a href="./Roo.bootstrap.Toolbar.Button.html#constructor" roo:cls="Roo.bootstrap.Toolbar.Button.html#constructor">Roo.bootstrap.Toolbar.Button</a>/Item</span> </dd>
+
+ </dl>
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ <tr class="method-row config-row-alt1 expandable notInherited">
+ <td class="micon"><a class="exi" href="#expand"> </a></td>
+
+
+ <td class="sig">
+ <a id="Roo.bootstarp.Toolbar-method-show" name=".show"></a>
+ <div class="fixedFont">
+ <span class="attributes"></span><b class="itemname">show</b>
+
+ ()
+
+
+
+ </div>
+ <div class="mdesc">
+
+ <div class="short">Show the toolbar</div>
+
+
+
+ <div class="long">
+
+ Show the toolbar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ </div>
+ </div>
+
+ </td>
+ <td class="msource">
+
+ Roo.bootstarp.Toolbar
+
+ </td>
+ </tr>
+
+
+ </table>
+
+
+ <!-- ============================== events summary / details ======================== -->
+
+
+ <a id="Roo.bootstarp.Toolbar-events"></a>
+
+
+
+
+
+ <table cellspacing="0" class="member-table">
+ <caption class="Empty">Events - Has None</caption>
+ </table>
+
+
+
+
+
+
+
+
+
+<!-- ============================== footer ================================= -->
+ <div class="fineprint" style="clear:both">
+
+ Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Thu May 15 2014 17:38:57 GMT+0800 (HKT)
+ Based on
+ <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>
+ </div>
+ </body>
+</html>