Class mozile.edit.Style

Object
   |
   +--mozile.edit.Command
         |
         +--mozile.edit.Style

class mozile.edit.Style
extends mozile.edit.Command

Defined in rich.js


Field Summary
 String direction
          Determines what direction to search for the target in.
 Boolean group
          Indicates that this command does not contain more commands.
 String makesChanges
          Specifies what kind of change this command makes to the document.
 String name
          The name for this command group.
 String styleName
          Determines the style to be changed.
 String styleValue
          Determines the new value for the style.
 String target
          Determines what node is the target of the replacement.
 String watchesChanges
          Specifies what kind of change will cause this command to change its isActive or isAvailable states.
   
Fields inherited from class mozile.edit.Command
name, group, makesChanges, watchesChanges, strings
 
Constructor Summary
mozile.edit.Style ()
            A command used to style an element.
 
Method Summary
 Object execute(<mozile.edit.State> state, <Boolean> fresh)
           Inserts a new element at the selection.
 Boolean isActive(<Event> event)
           Indicates that the command is currently active.
 Boolean isAvailable(<Event> event)
           Indicates that the command is currently available.
 mozile.edit.State prepare(<Event> event)
           Prepares a state object for the wrap command.
 mozile.edit.State test(<Event> event)
           Tests an event to see if the command should be executed.
 Object unexecute(<mozile.edit.State> state, fresh)
           Removes all wrapper elements.
 
Methods inherited from class mozile.edit.Command
localize, toString, evaluate, respond, trigger, request
 

Field Detail

direction

String direction

group

Boolean group

makesChanges

String makesChanges

name

String name

styleName

String styleName

styleValue

String styleValue

target

String target

watchesChanges

String watchesChanges

Constructor Detail

mozile.edit.Style

mozile.edit.Style()

Method Detail

execute

Object execute(<mozile.edit.State> state, <Boolean> fresh)

isActive

Boolean isActive(<Event> event)

isAvailable

Boolean isAvailable(<Event> event)

prepare

mozile.edit.State prepare(<Event> event)

test

mozile.edit.State test(<Event> event)

unexecute

Object unexecute(<mozile.edit.State> state, fresh)


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008