Class mozile.edit.Unwrap

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

class mozile.edit.Unwrap
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 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.Unwrap ()
            A command used to remove a container element, but keep the child nodes.
 
Method Summary
 Object execute(<mozile.edit.State> state, <Boolean> fresh)
           Inserts a new element at the selection.
 Boolean isAvailable(<Event> event)
           Indicates that the command is currently available.
 mozile.edit.State prepare(<Event> event, target)
           Prepares a state object for the wrap command.
 mozile.edit.State test(<Event> event, <Node> targetNode)
           Tests an event to see if the command should be executed.
 
Methods inherited from class mozile.edit.Command
localize, toString, evaluate, respond, isActive, trigger, request, unexecute
 

Field Detail

direction

String direction

group

Boolean group

makesChanges

String makesChanges

name

String name

target

String target

watchesChanges

String watchesChanges

Constructor Detail

mozile.edit.Unwrap

mozile.edit.Unwrap()

Method Detail

execute

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

isAvailable

Boolean isAvailable(<Event> event)

prepare

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

test

mozile.edit.State test(<Event> event, <Node> targetNode)


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