Class MozileCommand

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

class MozileCommand
extends MozileComponent

Defined in interface.js


Constructor Summary
MozileCommand (<String> configString)
            Mozile Command Object - Creates a Mozile command object, which controls the button, menuitem, and code associated with a Mozile editing command.
 
Method Summary
 Void execute(<Event> event)
           Executes the command.
 XULElement getButton()
          
 String getId()
           Gets the id for the module.
 XULElement getMenuitem()
          
 Boolean isActive()
           Checks to see if the command is active in the current selection.
 Void update()
           Updates the button and menuitem.
 
Methods inherited from class MozileComponent
getName, getConfigString, getOptions, getOption, setOption, _cleanOption
 

Constructor Detail

MozileCommand

MozileCommand(<String> configString)

Method Detail

execute

Void execute(<Event> event)

getButton

XULElement getButton()

getId

String getId()

getMenuitem

XULElement getMenuitem()

isActive

Boolean isActive()

update

Void update()


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