Class mozile.edit.Navigate
Object
|
+--mozile.edit.Command
|
+--mozile.edit.Navigate
- class
mozile.edit.Navigate
- extends mozile.edit.Command
Defined in edit.js
Field Summary |
String |
collapse
Indicates how the selection should be collapsed. |
String |
direction
Indicates the direction for the navigation. |
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 |
watchesChanges
Specifies what kind of change will cause this command to change its isActive or isAvailable states. |
collapse
String collapse
Indicates how the selection should be collapsed. Can be null, "start" or "end".
direction
String direction
Indicates the direction for the navigation.
group
Boolean group
Indicates that this command does not contain more commands.
makesChanges
String makesChanges
Specifies what kind of change this command makes to the document.
See mozile.edit.Command.respond for possible values.
name
String name
The name for this command group.
remove
Boolean remove
Indicates that any contents of the selection should be removed before inserting.
watchesChanges
String watchesChanges
Specifies what kind of change will cause this command to change its isActive or isAvailable states.
See mozile.edit.Command.respond for possible values.
mozile.edit.Navigate
mozile.edit.Navigate()
Used to move thr cursor through the document.
execute
Object execute(<mozile.edit.State> state, <Boolean> fresh)
Inserts a new element at the selection.
Parameters:
state
- The state information needed to execute this command.
fresh
- Optional. A value of "true" indicates that the window's selection is already in the correct place and does not need to be moved.
prepare
mozile.edit.State prepare(<Event> event)
Prepares a state object for the Split command.
Parameters:
event
- The event object to be converted into a state.
Documentation generated by
JSDoc on Wed Aug 23 18:45:51 2006