misim.editor
Class Undoable
java.lang.Object
|
+--misim.editor.Undoable
- public class Undoable
- extends java.lang.Object
The undoable class is used to store editor events that may
subsequently be undone.
Constructor Summary |
Undoable(UndoIF owner,
int eventId,
int type,
java.lang.Object data,
int row,
int col)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NONE
public static final int NONE
CHAR_ADDED
public static final int CHAR_ADDED
TEXT_ADDED
public static final int TEXT_ADDED
TEXT_REMOVED
public static final int TEXT_REMOVED
TEXT_DELETED
public static final int TEXT_DELETED
LINE_ADDED
public static final int LINE_ADDED
LINE_SPLIT
public static final int LINE_SPLIT
LINE_REMOVED
public static final int LINE_REMOVED
LINE_DELETED
public static final int LINE_DELETED
Undoable
public Undoable(UndoIF owner,
int eventId,
int type,
java.lang.Object data,
int row,
int col)
undo
public void undo(CursorPos cursor)
redo
public void redo(CursorPos cursor)