|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--mozile.edit.State
Defined in edit.js
| Field Summary | |
Boolean |
cancel
Indicates that the command should be cancelled by mozile.event.handle() once complete. |
String |
changesMade
Specified the kind of change that this state has made. |
mozile.edit.Command |
command
A reference to the command that created this state. |
Boolean |
executed
Indicates that the command has been executed. |
Boolean |
reversible
Indicates that the command can be undone. |
mozile.dom.Selection |
selection
A reference to the current selection object. |
| Constructor Summary | |
mozile.edit.State
()
The State object is a container for information used to execute and unexecute a command. |
|
| Method Summary | |
String
|
storeNode(input)
Used to sanity check command arguments. |
String
|
toString()
Returns a description of this object. |
| Field Detail |
Boolean cancel
String changesMade
mozile.edit.Command command
Boolean executed
Boolean reversible
mozile.dom.Selection selection
| Constructor Detail |
mozile.edit.State()
command - A reference to the command which this state belongs to.
selection - Optional. The current selection, or a range to be stored as the current selection. If the value is "false" then no selection is stored.
| Method Detail |
String storeNode(input)
input - A node or XPath string.
String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||