Class mozile.edit.Split

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

class mozile.edit.Split
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.
 Boolean remove
          Indicates that any contents of the selection should be removed before inserting.
 String target
          Determines what node is the target of the split.
 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
 
Constructor Summary
mozile.edit.Split ()
            Splits a target element using splitNodes.
 
Method Summary
 Object execute(<mozile.edit.State> state, <Boolean> fresh)
           Inserts a new element at the selection.
 mozile.edit.State prepare(<Event> event)
           Prepares a state object for the Split command.
 
Methods inherited from class mozile.edit.Command
toString, evaluate, respond, isAvailable, isActive, test, trigger, request, unexecute
 

Field Detail

direction

String direction

group

Boolean group

makesChanges

String makesChanges

name

String name

remove

Boolean remove

target

String target

watchesChanges

String watchesChanges

Constructor Detail

mozile.edit.Split

mozile.edit.Split()

Method Detail

execute

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

prepare

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


Documentation generated by JSDoc on Wed Aug 23 18:45:51 2006