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.Toolbar.TextItem</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.Toolbar.TextItem-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.Toolbar.TextItem-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.Toolbar.TextItem-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.Toolbar.TextItem-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.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
47 <img src="../../images/default/s.gif" height="1" width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.Toolbar.TextItem
52 <!-- ============================== class title / details ============================ -->
55 <h1 class="classTitle">
57 Class Roo.Toolbar.TextItem
60 <table cellspacing="0" class="class-summary-table">
62 <tr><td class="label">Package:</td><td class="hd-info">Roo.Toolbar</td></tr>
64 <tr><td class="label">Defined In:</td><td class="hd-info">
66 <a href="./src/Roo_Toolbar.js.html">Roo/Toolbar.js</a>.
69 <tr><td class="label">Class:</td><td class="hd-info">TextItem</td></tr>
74 <tr><td class="label">Extends:</td><td class="hd-info">
75 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
83 <!-- ============================== class summary ========================== -->
84 <div class="description">
85 A simple class that renders text directly into a toolbar.
89 <!-- ============================== Class comment block... ========================== -->
91 <div class="comments">
92 <b>Class Comments / Notes</B> =>
93 <u onclick="parent.CommentDialog.showCommentId = 'Roo.Toolbar.TextItem';">[Add Your comment/notes about this class]</u>
95 <iframe frameborder="0" id="comments-Roo.Toolbar" style="border: none;width:100%;"
96 src="/blog.php/GtkDjsComments/Roo.Toolbar.TextItem.html"></iframe>
101 <!-- ============================== config options ========================== -->
106 <div class="hr"></div>
107 <a id="Roo.Toolbar.TextItem-configs"></a>
111 <table cellspacing="0" class="member-table">
112 <caption class="Empty">Config Options - Has None</caption>
126 <!-- ============================== public properties ==================== -->
130 <a id="Roo.Toolbar.TextItem-props"></a>
136 <table cellspacing="0" class="member-table">
137 <caption class="Empty">Public Properties - Has None</caption>
143 <!-- ============================== methods summary / details ======================== -->
146 <a id="Roo.Toolbar.TextItem-methods"></a>
147 <!-- constructor?? -->
154 <!-- then dynamics first -->
161 <table cellspacing="0" class="member-table">
162 <caption>Public Methods</caption>
164 <th class="sig-header" colspan="2">Method</th>
165 <th class="msource-header">Defined By</th>
175 <tr class="method-row config-row-alt0 expandable notInherited">
176 <td class="micon"><a class="exi" href="#expand"> </a></td>
180 <a id="Roo.Toolbar-method-TextItem" name=".TextItem"></a>
181 <div class="fixedFont">
182 <span class="attributes">new <B>Roo.Toolbar.</B></span><b class="itemname">TextItem</b>
184 (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>)
192 <div class="short">Create a new Roo.Toolbar.TextItem</div>
199 Create a new Roo.Toolbar.TextItem
202 <dl class="detailList">
203 <dt class="heading">Parameters:</dt>
206 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>text</b>
233 <tr class="method-row config-row-alt1 expandable">
234 <td class="micon"><a class="exi" href="#expand"> </a></td>
238 <a id="Roo.Toolbar.Item-method-destroy" name=".destroy"></a>
239 <div class="fixedFont">
240 <span class="attributes"></span><b class="itemname">destroy</b>
249 <div class="short">Removes and destroys this item.</div>
255 Removes and destroys this item.
278 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
284 <tr class="method-row config-row-alt0 expandable">
285 <td class="micon"><a class="exi" href="#expand"> </a></td>
289 <a id="Roo.Toolbar.Item-method-disable" name=".disable"></a>
290 <div class="fixedFont">
291 <span class="attributes"></span><b class="itemname">disable</b>
300 <div class="short">Disables this item.</div>
329 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
335 <tr class="method-row config-row-alt1 expandable">
336 <td class="micon"><a class="exi" href="#expand"> </a></td>
340 <a id="Roo.Toolbar.Item-method-enable" name=".enable"></a>
341 <div class="fixedFont">
342 <span class="attributes"></span><b class="itemname">enable</b>
351 <div class="short">Enables this item.</div>
380 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
386 <tr class="method-row config-row-alt0 expandable">
387 <td class="micon"><a class="exi" href="#expand"> </a></td>
391 <a id="Roo.Toolbar.Item-method-focus" name=".focus"></a>
392 <div class="fixedFont">
393 <span class="attributes"></span><b class="itemname">focus</b>
402 <div class="short">Try to focus this item.</div>
408 Try to focus this item.
431 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
437 <tr class="method-row config-row-alt1 expandable">
438 <td class="micon"><a class="exi" href="#expand"> </a></td>
442 <a id="Roo.Toolbar.Item-method-getEl" name=".getEl"></a>
443 <div class="fixedFont">
444 <span class="attributes"></span><b class="itemname">getEl</b>
452 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
461 <div class="short">Get this item's HTML Element</div>
467 Get this item's HTML Element
478 <dl class="detailList">
479 <dt class="heading">Returns:</dt>
481 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> </dd>
497 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
503 <tr class="method-row config-row-alt0 expandable">
504 <td class="micon"><a class="exi" href="#expand"> </a></td>
508 <a id="Roo.Toolbar.Item-method-hide" name=".hide"></a>
509 <div class="fixedFont">
510 <span class="attributes"></span><b class="itemname">hide</b>
519 <div class="short">Hides this item.</div>
548 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
554 <tr class="method-row config-row-alt1 expandable">
555 <td class="micon"><a class="exi" href="#expand"> </a></td>
559 <a id="Roo.Toolbar.Item-method-setVisible" name=".setVisible"></a>
560 <div class="fixedFont">
561 <span class="attributes"></span><b class="itemname">setVisible</b>
563 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
570 <div class="short">Convenience function for boolean show/hide.</div>
576 Convenience function for boolean show/hide.
583 <dl class="detailList">
584 <dt class="heading">Parameters:</dt>
587 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>visible</b>
590 <dd>true to show/false to hide</dd>
610 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
616 <tr class="method-row config-row-alt0 expandable">
617 <td class="micon"><a class="exi" href="#expand"> </a></td>
621 <a id="Roo.Toolbar.Item-method-show" name=".show"></a>
622 <div class="fixedFont">
623 <span class="attributes"></span><b class="itemname">show</b>
632 <div class="short">Shows this item.</div>
661 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
670 <!-- ============================== events summary / details ======================== -->
673 <a id="Roo.Toolbar.TextItem-events"></a>
682 <table cellspacing="0" class="member-table">
683 <caption>Events</caption>
686 <th class="sig-header" colspan="2">Event</th>
687 <th class="msource-header">Defined By</th>
696 <tr class="method-row expandable config-row-alt0">
697 <td class="micon"><a class="exi" href="#expand"> </a></td>
700 <a id="Roo.Toolbar.Item-event-*render"></a>
702 <div class="fixedFont">
703 <b class="itemname">render</b> (Button <B><i>this</i></B>)
709 <div class="short">Fires when the button is rendered
715 Fires when the button is rendered
721 <dl class="detailList">
722 <dt class="heading">Parameters:</dt>
725 <span class="fixedFont">Button</span> <b>this</b>
747 <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
758 <!-- ============================== footer ================================= -->
759 <div class="fineprint" style="clear:both">
761 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Mon Mar 14 2016 11:41:12 GMT+0800 (HKT)
763 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>