Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / src / toolbar / Item.js
1 /*
2
3 This file is part of Ext JS 4
4
5 Copyright (c) 2011 Sencha Inc
6
7 Contact:  http://www.sencha.com/contact
8
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.  Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
11
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
13
14 */
15 /**
16  * @class Ext.toolbar.Item
17  * @extends Ext.Component
18  * The base class that other non-interacting Toolbar Item classes should extend in order to
19  * get some basic common toolbar item functionality.
20  */
21 Ext.define('Ext.toolbar.Item', {
22     extend: 'Ext.Component',
23     alias: 'widget.tbitem',
24     alternateClassName: 'Ext.Toolbar.Item',
25     enable:Ext.emptyFn,
26     disable:Ext.emptyFn,
27     focus:Ext.emptyFn
28     /**
29      * @cfg {String} overflowText Text to be used for the menu if the item is overflowed.
30      */
31 });