Class mozile.edit.Replace

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

class mozile.edit.Replace
extends mozile.edit.Command

Defined in rich.js


Field Summary
 Boolean copyAttributes
          Determines whether attributes should be copied into the replacement.
 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 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.Replace ()
            A command used to replace one element with another.
 
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.
 
Methods inherited from class mozile.edit.Command
localize, toString, evaluate, respond, trigger, request, unexecute
 

Field Detail

copyAttributes

Boolean copyAttributes

direction

String direction

group

Boolean group

makesChanges

String makesChanges

name

String name

target

String target

watchesChanges

String watchesChanges

Constructor Detail

mozile.edit.Replace

mozile.edit.Replace()

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)


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