mozdev.org

Mozile (xhtml editing in your browser)    

resources:
MozileCommand

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()
          
 Void hide()
           Hides the button and menuitem.
 Boolean isActive()
           Checks to see if the command is active in the current selection.
 Boolean isAvailable()
           Checks to see if the command is available in the current selection.
 Boolean isUndoable()
           True if the command can be undone.
 Void show()
           Shows the button and menuitem.
 Void update()
           Updates the button and menuitem.
 
Methods inherited from class MozileComponent
toString, 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()

hide

Void hide()

isActive

Boolean isActive()

isAvailable

Boolean isAvailable()

isUndoable

Boolean isUndoable()

show

Void show()

update

Void update()


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.