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