|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--MozileComponent | +--MozileCommand | +--MozileCommandList
Defined in interface.js
Constructor Summary | |
MozileCommandList
(<String> configString)
Mozile Command List Object - Creates a Mozile command list object, inheriting from MozileCommand, which controls the box and menu associated with a group of Mozile editing commands. |
Method Summary | |
MozileCommand
|
addCommand(<MozileCommand> command)
Adds a command to the commands list. |
Command
|
createCommand(<String> configString)
Creates a new command, adds it to the command list and mozile command list, and adds it to the buttonArray and menuArray as needed. |
Void
|
execute(<Event> event)
Lists cannot be executed - overrides parent with an empty function. |
HTMLDivElement
|
getBox()
Gets the div element which will contain the list's commands. |
Object
|
getCommand(id)
Gets a command from the command list given its id. |
Object
|
getCommands()
Gets the commandList object. |
XULElement
|
getMenu()
Gets the menu element which will contain the list's commands. |
XULElement
|
getMenuitem()
Lists have menus, not menuitems. |
Void
|
hide()
Hides the button, menu, and box. |
Boolean
|
isUndoable()
True if the command can be undone. |
Void
|
show()
Shows the button, menu, and box. |
Void
|
update()
Updates the button, menuitem, and box, as well as all commands on the list. |
Boolean
|
updateBox()
Makes sure that if the number of buttons has changed the box is updated. |
Methods inherited from class MozileCommand |
getId, getButton, isAvailable, isActive
|
Methods inherited from class MozileComponent |
toString, getName, getConfigString, getOptions, getOption, setOption, _cleanOption
|
Constructor Detail |
MozileCommandList(<String> configString)
configString
- A properly formatted configuration string.
Method Detail |
MozileCommand addCommand(<MozileCommand> command)
command
-
Command createCommand(<String> configString)
configString
- A properly formatted configuration string.
Void execute(<Event> event)
event
- The event object which triggered the command.
HTMLDivElement getBox()
Object getCommand(id)
Object getCommands()
XULElement getMenu()
XULElement getMenuitem()
Void hide()
Boolean isUndoable()
Void show()
Void update()
Boolean updateBox()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |