Class MozileCommandList

Object
   |
   +--MozileComponent
         |
         +--MozileCommand
               |
               +--MozileCommandList

class MozileCommandList
extends MozileCommand

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 update()
           Updates 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, isActive
   
Methods inherited from class MozileComponent
getName, getConfigString, getOptions, getOption, setOption, _cleanOption
 

Constructor Detail

MozileCommandList

MozileCommandList(<String> configString)

Method Detail

addCommand

MozileCommand addCommand(<MozileCommand> command)

createCommand

Command createCommand(<String> configString)

execute

Void execute(<Event> event)

getBox

HTMLDivElement getBox()

getCommand

Object getCommand(id)

getCommands

Object getCommands()

getMenu

XULElement getMenu()

getMenuitem

XULElement getMenuitem()

update

Void update()

updateBox

Boolean updateBox()


Documentation generated by JSDoc on Thu Feb 16 20:20:37 2006