]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | /**\r |
2 | * The base class that other non-interacting Toolbar Item classes should extend in order to\r | |
3 | * get some basic common toolbar item functionality.\r | |
4 | */\r | |
5 | Ext.define('Ext.toolbar.Item', {\r | |
6 | extend: 'Ext.Component',\r | |
7 | // Toolbar required here because we'll try to decorate it's alternateClassName\r | |
8 | // with this class' alternate name\r | |
9 | requires: ['Ext.toolbar.Toolbar'],\r | |
10 | alias: 'widget.tbitem',\r | |
11 | alternateClassName: 'Ext.Toolbar.Item',\r | |
12 | enable:Ext.emptyFn,\r | |
13 | disable:Ext.emptyFn,\r | |
14 | focus:Ext.emptyFn\r | |
15 | /**\r | |
16 | * @cfg {String} overflowText\r | |
17 | * Text to be used for the menu if the item is overflowed.\r | |
18 | */\r | |
19 | }); |