Toolbar.Item Toolbar.TextItem
Package: | Ext |
Defined In: | Toolbar.js |
Class: | Toolbar.TextItem |
Extends: | Toolbar.Item |
new Ext.Panel({
tbar : [
{xtype: 'tbtext', text: 'Item 1'} // or simply 'Item 1'
]
});
Method | Defined By | |
---|---|---|
Toolbar.TextItem( String/Object text ) Creates a new TextItem
Creates a new TextItem
Parameters:
|
Toolbar.TextItem | |
destroy() : void Removes and destroys this item.
Removes and destroys this item.
Parameters:
|
Toolbar.Item | |
disable() : void Disables this item.
Disables this item.
Parameters:
|
Toolbar.Item | |
enable() : void Enables this item.
Enables this item.
Parameters:
|
Toolbar.Item | |
focus() : void Try to focus this item
Try to focus this item
Parameters:
|
Toolbar.Item | |
getEl() : HTMLElement Get this item's HTML Element
Get this item's HTML Element
Parameters:
|
Toolbar.Item | |
hide() : void Hides this item.
Hides this item.
Parameters:
|
Toolbar.Item | |
setVisible( Boolean visible ) : void Convenience function for boolean show/hide.
Convenience function for boolean show/hide.
Parameters:
|
Toolbar.Item | |
show() : void Shows this item.
Shows this item.
Parameters:
|
Toolbar.Item |