| |
Toolbar.MenuButton(Object config) |
Toolbar.MenuButton |
|
| |
addListener(String eventName, Function handler, [Object options]) : void |
Observable |
| Appends an event handler to this component |
| |
destroy() : void |
Toolbar.MenuButton |
| Remove and destroy this button |
| |
disable() : void |
Button |
| Disable this button |
| |
enable() : void |
Button |
| Enable this button |
| |
fireEvent(String eventName, Object... args) : Boolean |
Observable |
| Fires the specified event with the passed parameters (minus the event name). |
| |
focus() : void |
Button |
| Focus the button |
| |
getEl() : Ext.Element |
Button |
| Returns the buttons element |
| |
getText() : String |
Button |
| Get the text for this button |
| |
hide() : void |
Toolbar.MenuButton |
| Hide this button |
| |
on(String eventName, Function handler, [Object options]) : void |
Observable |
| Appends an event handler to this element (shorthand for addListener) |
| |
purgeListeners() : void |
Observable |
| Removes all listeners for this object |
| |
removeListener(String eventName, Function handler, [Object scope]) : void |
Observable |
| Removes a listener |
| |
setArrowHandler(Function handler, [Object scope]) : void |
MenuButton |
| Sets this button's arrow click handler |
| |
setHandler(Function handler, [Object scope]) : void |
Button |
| Sets this buttons click handler |
| |
setText(String text) : void |
Button |
| Set this buttons text |
| |
setVisible(Boolean visible) : void |
Button |
| Convenience function for boolean show/hide |
| |
show() : void |
Toolbar.MenuButton |
| Show this button |
| |
toggle([Boolean state]) : void |
Button |
| If a state it passed, it becomes the pressed state otherwise the current state is toggled. |
| |
un(String eventName, Function handler, [Object scope]) : void |
Observable |
| Removes a listener (shorthand for removeListener) |
arrowHandler
arrowHandler : Function
A function called when the arrow button is clicked (can be used instead of click event)
arrowTooltip
arrowTooltip : String
The title attribute of the arrow
disabled
disabled : Boolean
True to start disabled
This config option is defined by
Button.
enableToggle
enableToggle : Boolean
True to enable pressed/not pressed toggling
This config option is defined by
Button.
handler
handler : Function
A function called when the button is clicked (can be used instead of click event)
This config option is defined by
Button.
hidden
hidden : Boolean
True to start hidden
This config option is defined by
Button.
minWidth
minWidth : Number
The minimum width for this button (used to give a set of buttons a common width)
This config option is defined by
Button.
pressed
pressed : Boolean
True to start pressed (only for toggle buttons)
This config option is defined by
Button.
repeat
repeat : Boolean/Object
True to repeat fire the click event while the mouse is down. This can also be an Ext.util.ClickRepeater config object.
This config option is defined by
Button.
scope
scope : Object
The scope of the handler
This config option is defined by
Button.
text
text : String
The button text
This config option is defined by
Button.
toggleGroup
toggleGroup : String
The group this toggle button is a member of (only 1 per group can be pressed)
This config option is defined by
Button.
tooltip
tooltip : String
The title attribute of the button
This config option is defined by
Button.