Print Friendly

Class Ext.Toolbar.Separator

Package:Ext
Class:Toolbar.Separator
Extends:Toolbar.Item
Defined In:Toolbar.js
A simple toolbar separator class

Properties   -  Methods   -  Events

Public Properties

This class has no public properties.

Public Methods

Method Defined By
  Toolbar.Separator() Toolbar.Separator
Creates a new Separator
  destroy() : void Toolbar.Item
Removes and destroys this item.
  disable() : void Toolbar.Item
Disables this item.
  enable() : void Toolbar.Item
Enables this item.
  focus() : void Toolbar.Item
Try to focus this item.
  getEl() : HTMLElement Toolbar.Item
Get this item's HTML Element
  hide() : void Toolbar.Item
Hides this item.
  setVisibleBoolean visible ) : void Toolbar.Item
Convenience function for boolean show/hide.
  show() : void Toolbar.Item
Shows this item.

Public Events

This class has no public events.

Constructor Details

Toolbar.Separator

public function Toolbar.Separator()
Creates a new Separator
Parameters:
  • None.

Method Details

destroy

public function destroy()
Removes and destroys this item.
Parameters:
  • None.
Returns:
  • void
This method is defined by Toolbar.Item.

disable

public function disable()
Disables this item.
Parameters:
  • None.
Returns:
  • void
This method is defined by Toolbar.Item.

enable

public function enable()
Enables this item.
Parameters:
  • None.
Returns:
  • void
This method is defined by Toolbar.Item.

focus

public function focus()
Try to focus this item.
Parameters:
  • None.
Returns:
  • void
This method is defined by Toolbar.Item.

getEl

public function getEl()
Get this item's HTML Element
Parameters:
  • None.
Returns:
  • HTMLElement
This method is defined by Toolbar.Item.

hide

public function hide()
Hides this item.
Parameters:
  • None.
Returns:
  • void
This method is defined by Toolbar.Item.

setVisible

public function setVisible( Boolean visible )
Convenience function for boolean show/hide.
Parameters:
  • visible : Boolean
    true to show/false to hide
Returns:
  • void
This method is defined by Toolbar.Item.

show

public function show()
Shows this item.
Parameters:
  • None.
Returns:
  • void
This method is defined by Toolbar.Item.

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.