public static class WhiteboardEdits.ReorderPageEdit extends AbstractUndoableEdit
RedoName, UndoName
Constructor and Description |
---|
ReorderPageEdit(MultipageModel model,
Page page,
Page curPage,
int srcIndex,
int dstIndex) |
Modifier and Type | Method and Description |
---|---|
boolean |
canRedo() |
boolean |
canUndo() |
String |
getPresentationName() |
void |
redo() |
void |
undo() |
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
public ReorderPageEdit(MultipageModel model, Page page, Page curPage, int srcIndex, int dstIndex)
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 © 2024 Central Laboratory of the Research Councils. All Rights Reserved.