mozdev.org

Mozile (xhtml editing in your browser)    

resources:
MozileStyleCommand

Class MozileStyleCommand

Object
   |
   +--MozileComponent
         |
         +--MozileCommand
               |
               +--MozileWrapCommand
                     |
                     +--MozileStyleCommand

class MozileStyleCommand
extends MozileWrapCommand

Defined in XHTMLBasic.js


Constructor Summary
MozileStyleCommand (<String> configString)
            Mozile Style Command Object - Wraps the selection in span tags, or uses the style attribute to add CSS to a given selection.
 
Method Summary
 Void execute(<Event> event)
           Executes the command.
 String getAttribute()
           Gets the attribute for the tage.
 String getStyle()
           Gets the style for the module.
 String getTag()
           Gets the tag for the module.
 Boolean isActive()
           Mozile Style Command - Is Active - Checks to see if the current node has a parent which has this.getAttribute() matching this.getStyle().
 
Methods inherited from class MozileWrapCommand
getMode, getMenuitem
   
Methods inherited from class MozileCommand
getId, isUndoable, getButton, isAvailable, show, hide, update
   
Methods inherited from class MozileComponent
toString, getName, getConfigString, getOptions, getOption, setOption, _cleanOption
 

Constructor Detail

MozileStyleCommand

MozileStyleCommand(<String> configString)

Method Detail

execute

Void execute(<Event> event)

getAttribute

String getAttribute()

getStyle

String getStyle()

getTag

String getTag()

isActive

Boolean isActive()


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.