Class MozileCommand

Object
   |
   +--MozileCommand
Direct Known Subclasses:
MozileUnformatCommand, MozileWrapCommand, MozileBlockSetCommand, MozileCommandList, MozileInsertCommand

class MozileCommand

Defined in interface.js


Field Summary
 Object accelerator
          Mozile Command - Accelerator - The keyboard shortcut for this command, or "null" for none.
 Object accesskey
          Mozile Command - Access Key - The keyboard access key for the menuitem, or "null" for none.
 Object button
          Mozile Command - Button - The button element this command, or "null" for none.
 Object debugLevel
          Mozile Command - Debug Level - An integer indicating how verbose debugging should be.
 Object id
          Mozile Command - Id - The unique id by which this command is known.
 Object image
          Mozile Command - Image - The path to the image associated with this command, if any.
 Object label
          Mozile Command - Label - A word or two describing this command.
 Object menuitem
          Mozile Command - Menuitem - The menuitem for this command, or "null" for none.
 Object namespace
          Mozile Command - Namespace - The XUL namespace in which elements will be created.
 Object tooltip
          Mozile Command - Tooltip - A short phrase describing this command.
 Object type
          Mozile Command - Type - Denotes this object as a command.
 
Constructor Summary
MozileCommand ()
            Mozile Command Object - Creates a Mozile command object, which controls the button, menuitem, and code associated with a Mozile editing command.
 
Method Summary
 Object command(event)
           Mozile Command - Command - Implements the editing command for this object.
 Object createButton()
           Mozile Command - Create Button - Creates an XUL button element for this command.
 Object createMenuitem()
           Mozile Command - Create Menuitem - Creates an XUL menuitem element for this command.
 Object debug(details, level, message)
           Mozile Debug - A basic debugging tool.
 Object init(configArray)
           Mozile Command - Init - Initializes the Mozile Command object, setting various properties based on the configArray.
 Object isActive()
           Mozile Command - Is Active - Checks to see if the command is active in the current selection.
 Object update()
           Mozile Command - Update Button - Updates the XUL button and menu item for this command, setting its "active" or "checked" attribute to true if this.isActive() returns true, and to "false" otherwise.

Field Detail

accelerator

Object accelerator

accesskey

Object accesskey

button

Object button

debugLevel

Object debugLevel

id

Object id

image

Object image

label

Object label

menuitem

Object menuitem

namespace

Object namespace

tooltip

Object tooltip

type

Object type

Constructor Detail

MozileCommand

MozileCommand()

Method Detail

command

Object command(event)

createButton

Object createButton()

createMenuitem

Object createMenuitem()

debug

Object debug(details, level, message)

init

Object init(configArray)

isActive

Object isActive()

update

Object update()


Documentation generated by JSDoc on Wed Oct 19 19:25:33 2005