Class mozile.gui.htmlToolbar.Menu
Object
|
+--mozile.gui.htmlToolbar.Button
|
+--mozile.gui.htmlToolbar.Menu
- class
mozile.gui.htmlToolbar.Menu
- extends mozile.gui.htmlToolbar.Button
Defined in htmlToolbar.js
Method Summary |
Void
|
close()
Close the menu.
|
Void
|
open(<Event> event)
Open the menu.
|
Void
|
reposition()
Move the menu into the proper position.
|
command
mozile.edit.Command command
The command that owns this button.
element
Element element
menuItems
Object menuItems
opened
Boolean opened
Indicates that the menu is currently open.
parent
mozile.edit.Command parent
The button or menu that this command belongs to, if any.
type
String type
mozile.gui.htmlToolbar.Menu
mozile.gui.htmlToolbar.Menu()
Creates a menu for a command group.
close
Void close()
Close the menu. The CSS "display" property is set to "none", so the menu is hidden. All open child menus are also closed.
open
Void open(<Event> event)
Open the menu. First the menu is moved into position, and then the CSS "display" property is set to "block".
Parameters:
event
- Optional. The current event.
reposition
Void reposition()
Move the menu into the proper position.
Documentation generated by
JSDoc on Wed Aug 23 18:45:51 2006