public static class WhiteboardEdits.PasteEdit extends CompoundEdit
edits
RedoName, UndoName
Constructor and Description |
---|
PasteEdit() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRedo() |
boolean |
canUndo() |
String |
getPresentationName() |
String |
getRedoPresentationName() |
String |
getUndoPresentationName() |
void |
redo() |
void |
undo() |
addEdit, die, end, isInProgress, isSignificant, lastEdit, toString
replaceEdit
public void redo() throws CannotRedoException
redo
in interface UndoableEdit
redo
in class CompoundEdit
CannotRedoException
public void undo() throws CannotUndoException
undo
in interface UndoableEdit
undo
in class CompoundEdit
CannotUndoException
public boolean canRedo()
canRedo
in interface UndoableEdit
canRedo
in class CompoundEdit
public boolean canUndo()
canUndo
in interface UndoableEdit
canUndo
in class CompoundEdit
public String getUndoPresentationName()
getUndoPresentationName
in interface UndoableEdit
getUndoPresentationName
in class CompoundEdit
public String getRedoPresentationName()
getRedoPresentationName
in interface UndoableEdit
getRedoPresentationName
in class CompoundEdit
public String getPresentationName()
getPresentationName
in interface UndoableEdit
getPresentationName
in class CompoundEdit
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.