Properties Methods Events Direct Link

    Toolbar.Item
      Toolbar.Spacer

# Class Ext.Toolbar.Spacer

Package: | Ext
Defined In: | Toolbar.js
Class: | Toolbar.Spacer
Subclasses: | Toolbar.Fill
Extends: | Toolbar.Item

A simple element that adds extra horizontal space between items in a toolbar.

    new Ext.Panel({
    	tbar : [
    		'Item 1',
    		{xtype: 'tbspacer'}, // or ' '
    		'Item 2'
    	]
    });

## Public Properties

This class has no public properties.

## Public Methods

Method | Defined By
--- | ---
| Toolbar.Spacer() Creates a new Spacer Creates a new Spacer Parameters: None. Returns: `` | Toolbar.Spacer
| 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.