Properties Methods Events Direct Link

# Class Ext.Toolbar.Item

Package: | Ext
Defined In: | Toolbar.js
Class: | Toolbar.Item
Subclasses: | Toolbar.Separator, Toolbar.Spacer, Toolbar.TextItem
Extends: | Object

The base class that other classes should extend in order to get some basic common toolbar item functionality.

## Public Properties

This class has no public properties.

## Public Methods

Method | Defined By
--- | ---
| Toolbar.Item( `HTMLElement el` ) Creates a new Item Creates a new Item Parameters: `el` : HTMLElement Returns: `` | Toolbar.Item
| destroy() : void Removes and destroys this item. Removes and destroys this item. Parameters: None. Returns: `void` | Toolbar.Item
| disable() : void Disables this item. Disables this item. Parameters: None. Returns: `void` | Toolbar.Item
| enable() : void Enables this item. Enables this item. Parameters: None. Returns: `void` | Toolbar.Item
| focus() : void Try to focus this item Try to focus this item Parameters: None. Returns: `void` | Toolbar.Item
| getEl() : HTMLElement Get this item's HTML Element Get this item's HTML Element Parameters: None. Returns: `HTMLElement` | Toolbar.Item
| hide() : void Hides this item. Hides this item. Parameters: None. Returns: `void` | Toolbar.Item
| setVisible( `Boolean visible` ) : void Convenience function for boolean show/hide. Convenience function for boolean show/hide. Parameters: `visible` : Boolean true to show/false to hide Returns: `void` | Toolbar.Item
| show() : void Shows this item. Shows this item. Parameters: None. Returns: `void` | Toolbar.Item

## Public Events

This class has no public events.