|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpalmed.edit.selection.AbstractAction
palmed.edit.selection.SelectionReplacement
public final class SelectionReplacement
This class implements an action to replace the selection with a character.
| Constructor Summary | |
|---|---|
SelectionReplacement(ISelection selection,
IText text,
char value,
Coordinate insertion)
Create a type action. |
|
| Method Summary | |
|---|---|
boolean |
merge(IAction action)
Merge another action. |
protected void |
onPerform()
Perform the action. |
protected boolean |
onRedo()
Redo the action. |
protected boolean |
onUndo()
Undo the action. |
| Methods inherited from class palmed.edit.selection.AbstractAction |
|---|
backupData, overwriteFinalState, perform, prependData, redo, restoreData, undo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectionReplacement(ISelection selection,
IText text,
char value,
Coordinate insertion)
selection - the selectiontext - the textvalue - the character to insertinsertion - the insertion position| Method Detail |
|---|
protected void onPerform()
onPerform in class AbstractActionprotected boolean onUndo()
onUndo in class AbstractActionprotected boolean onRedo()
onRedo in class AbstractActionpublic boolean merge(IAction action)
action - the action to merge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||