mozdev.org

Mozile (xhtml editing in your browser)    

resources:
MozileCommandList

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 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

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()

hide

Void hide()

isUndoable

Boolean isUndoable()

show

Void show()

update

Void update()

updateBox

Boolean updateBox()


Documentation generated by JSDoc on Wed Nov 1 15:11:15 2006

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2019. All rights reserved. Terms of Use & Privacy Policy.