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.Item</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.Item-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Roo.Toolbar.Item-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Roo.Toolbar.Item-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Roo.Toolbar.Item-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 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
50 Class Roo.Toolbar.Item
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Package:</td><td class="hd-info">Roo.Toolbar</td></tr>
57 <tr><td class="label">Defined In:</td><td class="hd-info">
59 <a href="./src/Roo_Toolbar.js.html">Roo/Toolbar.js</a>.
62 <tr><td class="label">Class:</td><td class="hd-info">Item</td></tr>
65 <tr><td class="label">Subclasses:</td><td class="hd-info">
66 <a href="./Roo.Toolbar.Fill.html#constructor" roo:cls="Roo.Toolbar.Fill.html#constructor">Roo.Toolbar.Fill</a>, <a href="./Roo.Toolbar.Separator.html#constructor" roo:cls="Roo.Toolbar.Separator.html#constructor">Roo.Toolbar.Separator</a>, <a href="./Roo.Toolbar.Spacer.html#constructor" roo:cls="Roo.Toolbar.Spacer.html#constructor">Roo.Toolbar.Spacer</a>, <a href="./Roo.Toolbar.TextItem.html#constructor" roo:cls="Roo.Toolbar.TextItem.html#constructor">Roo.Toolbar.TextItem</a>
77 <!-- ============================== class summary ========================== -->
78 <div class="description">
79 The base class that other classes should extend in order to get some basic common toolbar item functionality.
83 <!-- ============================== Class comment block... ========================== -->
85 <div class="comments">
86 <b>Class Comments / Notes</B> =>
87 <u onclick="parent.CommentDialog.showCommentId = 'Roo.Toolbar.Item';">[Add Your comment/notes about this class]</u>
89 <iframe frameborder="0" id="comments-Roo.Toolbar" style="border: none;width:100%;"
90 src="/blog.php/GtkDjsComments/Roo.Toolbar.Item.html"></iframe>
95 <!-- ============================== config options ========================== -->
100 <div class="hr"></div>
101 <a id="Roo.Toolbar.Item-configs"></a>
105 <table cellspacing="0" class="member-table">
106 <caption class="Empty">Config Options - Has None</caption>
120 <!-- ============================== public properties ==================== -->
124 <a id="Roo.Toolbar.Item-props"></a>
130 <table cellspacing="0" class="member-table">
131 <caption class="Empty">Public Properties - Has None</caption>
137 <!-- ============================== methods summary / details ======================== -->
140 <a id="Roo.Toolbar.Item-methods"></a>
141 <!-- constructor?? -->
148 <!-- then dynamics first -->
155 <table cellspacing="0" class="member-table">
156 <caption>Public Methods</caption>
158 <th class="sig-header" colspan="2">Method</th>
159 <th class="msource-header">Defined By</th>
169 <tr class="method-row config-row-alt0 expandable notInherited">
170 <td class="micon"><a class="exi" href="#expand"> </a></td>
174 <a id="Roo.Toolbar-method-Item" name=".Item"></a>
175 <div class="fixedFont">
176 <span class="attributes">new <B>Roo.Toolbar.</B></span><b class="itemname">Item</b>
178 (<a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a> <B><i>el</i></B>)
186 <div class="short">Create a new Roo.Toolbar.Item</div>
193 Create a new Roo.Toolbar.Item
196 <dl class="detailList">
197 <dt class="heading">Parameters:</dt>
200 <span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> <b>el</b>
227 <tr class="method-row config-row-alt1 expandable notInherited">
228 <td class="micon"><a class="exi" href="#expand"> </a></td>
232 <a id="Roo.Toolbar.Item-method-destroy" name=".destroy"></a>
233 <div class="fixedFont">
234 <span class="attributes"></span><b class="itemname">destroy</b>
243 <div class="short">Removes and destroys this item.</div>
249 Removes and destroys this item.
278 <tr class="method-row config-row-alt0 expandable notInherited">
279 <td class="micon"><a class="exi" href="#expand"> </a></td>
283 <a id="Roo.Toolbar.Item-method-disable" name=".disable"></a>
284 <div class="fixedFont">
285 <span class="attributes"></span><b class="itemname">disable</b>
294 <div class="short">Disables this item.</div>
329 <tr class="method-row config-row-alt1 expandable notInherited">
330 <td class="micon"><a class="exi" href="#expand"> </a></td>
334 <a id="Roo.Toolbar.Item-method-enable" name=".enable"></a>
335 <div class="fixedFont">
336 <span class="attributes"></span><b class="itemname">enable</b>
345 <div class="short">Enables this item.</div>
380 <tr class="method-row config-row-alt0 expandable notInherited">
381 <td class="micon"><a class="exi" href="#expand"> </a></td>
385 <a id="Roo.Toolbar.Item-method-focus" name=".focus"></a>
386 <div class="fixedFont">
387 <span class="attributes"></span><b class="itemname">focus</b>
396 <div class="short">Try to focus this item.</div>
402 Try to focus this item.
431 <tr class="method-row config-row-alt1 expandable notInherited">
432 <td class="micon"><a class="exi" href="#expand"> </a></td>
436 <a id="Roo.Toolbar.Item-method-getEl" name=".getEl"></a>
437 <div class="fixedFont">
438 <span class="attributes"></span><b class="itemname">getEl</b>
446 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
455 <div class="short">Get this item's HTML Element</div>
461 Get this item's HTML Element
472 <dl class="detailList">
473 <dt class="heading">Returns:</dt>
475 <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span> </dd>
497 <tr class="method-row config-row-alt0 expandable notInherited">
498 <td class="micon"><a class="exi" href="#expand"> </a></td>
502 <a id="Roo.Toolbar.Item-method-hide" name=".hide"></a>
503 <div class="fixedFont">
504 <span class="attributes"></span><b class="itemname">hide</b>
513 <div class="short">Hides this item.</div>
548 <tr class="method-row config-row-alt1 expandable notInherited">
549 <td class="micon"><a class="exi" href="#expand"> </a></td>
553 <a id="Roo.Toolbar.Item-method-setVisible" name=".setVisible"></a>
554 <div class="fixedFont">
555 <span class="attributes"></span><b class="itemname">setVisible</b>
557 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>)
564 <div class="short">Convenience function for boolean show/hide.</div>
570 Convenience function for boolean show/hide.
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:Boolean">Boolean</a></span> <b>visible</b>
584 <dd>true to show/false to hide</dd>
610 <tr class="method-row config-row-alt0 expandable notInherited">
611 <td class="micon"><a class="exi" href="#expand"> </a></td>
615 <a id="Roo.Toolbar.Item-method-show" name=".show"></a>
616 <div class="fixedFont">
617 <span class="attributes"></span><b class="itemname">show</b>
626 <div class="short">Shows this item.</div>
664 <!-- ============================== events summary / details ======================== -->
667 <a id="Roo.Toolbar.Item-events"></a>
673 <table cellspacing="0" class="member-table">
674 <caption class="Empty">Events - Has None</caption>
685 <!-- ============================== footer ================================= -->
686 <div class="fineprint" style="clear:both">
688 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Apr 16 2014 14:57:37 GMT+0800 (HKT)
690 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>