| |
ColorMenu(Object config) |
ColorMenu |
| Creates a new ColorMenu |
| |
add(Mixed args) : Ext.menu.Item |
Menu |
| Addds one or more items of any type supported by the Menu class, or that can be converted into menu items.
Any of the... |
| |
addElement(String/HTMLElement/Ext.Element el) : Ext.menu.Item |
Menu |
| Adds an Ext.Element object to the menu |
| |
addEvents(Object object) : void |
Observable |
| Copies any events from the passed object onto this object if they do not already exist. The passed object
must also ... |
| |
addItem(Ext.menu.Item item) : Ext.menu.Item |
Menu |
| Adds an existing object based on Ext.menu.Item to the menu |
| |
addListener(String eventName, Function handler, [Object options]) : void |
Observable |
| Appends an event handler to this component |
| |
addMenuItem(Object config) : Ext.menu.Item |
Menu |
| Creates a new Ext.menu.Item based an the supplied config object and adds it to the menu |
| |
addSeparator() : Ext.menu.Item |
Menu |
| Adds a separator bar to the menu |
| |
addText(String text) : Ext.menu.Item |
Menu |
| Creates a new Ext.menu.TextItem with the supplied text and adds it to the menu |
| |
fireEvent(String eventName, Object... args) : Boolean |
Observable |
| Fires the specified event with the passed parameters (minus the event name). |
| |
getEl() : Ext.Element |
Menu |
| Returns this menu's underlying Ext.Element object |
| |
hasListener(String eventName) : Boolean |
Observable |
| Checks to see if this object is currently listening for a specified event |
| |
hide([Boolean deep]) : void |
Menu |
| Hides this menu and optionally all parent menus |
| |
insert(Number index, Ext.menu.Item item) : Ext.menu.Item |
Menu |
| Inserts an existing object based on Ext.menu.Item to the menu at a specified index |
| |
isVisible() : void |
Menu |
| Read-only. Returns true if the menu is currently displayed, else false. |
| |
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 |
| |
remove(Ext.menu.Item item) : void |
Menu |
| Removes an Ext.menu.Item from the menu and destroys the object |
| |
removeAll() : void |
Menu |
| Removes and destroys all items in the menu |
| |
removeListener(String eventName, Function handler, [Object scope]) : void |
Observable |
| Removes a listener |
| |
show(String/HTMLElement/Ext.Element element, [String position], [Ext.menu.Menu parentMenu]) : void |
Menu |
| Displays this menu relative to another element |
| |
showAt(Array xyPosition, [Ext.menu.Menu parentMenu]) : void |
Menu |
| Displays this menu at a specific xy position |
| |
un(String eventName, Function handler, [Object scope]) : void |
Observable |
| Removes a listener (shorthand for removeListener) |
| |
beforehide : (Ext.menu.Menu this) |
Menu |
| Fires before this menu is hidden |
| |
beforeshow : (Ext.menu.Menu this) |
Menu |
| Fires before this menu is displayed |
| |
click : (Ext.menu.Menu this, String menuItemId, Ext.EventObject e) |
Menu |
| Fires when this menu is clicked (or when the enter key is pressed while it is active) |
| |
hide : (Ext.menu.Menu this) |
Menu |
| Fires after this menu is hidden |
| |
itemclick : (Ext.menu.BaseItem baseItem, Ext.EventObject e) |
Menu |
| Fires when a menu item contained in this menu is clicked |
| |
mouseout : (Ext.menu.Menu this, Ext.EventObject e, String menuItemId) |
Menu |
| Fires when the mouse exits this menu |
| |
mouseover : (Ext.menu.Menu this, Ext.EventObject e, String menuItemId) |
Menu |
| Fires when the mouse is hovering over this menu |
| |
select : (ColorPalette palette, String color) |
ColorMenu |
|
| |
show : (Ext.menu.Menu this) |
Menu |
| Fires after this menu is displayed |
allowOtherMenus
allowOtherMenus : Boolean
True to allow multiple menus to be displayed at the same time (defaults to false)
This config option is defined by
Menu.
defaultAlign
defaultAlign : String
The default {@link Ext.Element#alignTo) anchor position value for this menu relative to it's element of origin (defaults to "tl-bl?")
This config option is defined by
Menu.
minWidth
minWidth : Number
The minimum width of the menu in pixels (defaults to 120)
This config option is defined by
Menu.
shadow
shadow : Boolean/String
True or "sides" for the default effect, "frame" for 4-way shadow, and "drop" for bottom-right shadow (defaults to "sides")
This config option is defined by
Menu.
subMenuAlign
subMenuAlign : String
The {@link Ext.Element#alignTo) anchor position value to use for submenus of this menu (defaults to "tl-tr?")
This config option is defined by
Menu.