Class mozile.edit.CommandGroup

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

class mozile.edit.CommandGroup
extends mozile.edit.Command

Defined in edit.js


Field Summary
 Boolean group
          Indicates that this command contains more commands.
 String makesChanges
          Specifies what kind of change this command makes to the document.
 String name
          The name for this command group.
 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.CommandGroup ()
            CommandGroups contain other commands.
 
Method Summary
 mozile.edit.Command addCommand(<mozile.edit.Command> command, <mozile.edit.Command> previousCommand)
           Adds a command to the list of commands for this CommandGroup.
 Number compareCommands(<mozile.edit.Command> command1, <mozile.edit.Command> command2)
           Compares a pair commands by their "priority" attribute.
 Void removeCommands()
           Removes all commands from this command group.
 String toString()
           Returns a description of this object.
 mozile.edit.State trigger(<Event> event)
           Takes an event object and uses it to try and trigger all of the commands associated with this CommandGroup.
 
Methods inherited from class mozile.edit.Command
localize, evaluate, respond, isAvailable, isActive, test, prepare, request, execute, unexecute
 

Field Detail

group

Boolean group

makesChanges

String makesChanges

name

String name

watchesChanges

String watchesChanges

Constructor Detail

mozile.edit.CommandGroup

mozile.edit.CommandGroup()

Method Detail

addCommand

mozile.edit.Command addCommand(<mozile.edit.Command> command, <mozile.edit.Command> previousCommand)

compareCommands

Number compareCommands(<mozile.edit.Command> command1, <mozile.edit.Command> command2)

removeCommands

Void removeCommands()

toString

String toString()

trigger

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


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