diva.whiteboard
Class WhiteboardEdits.ReorderPageEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
diva.whiteboard.WhiteboardEdits.ReorderPageEdit
- All Implemented Interfaces:
- Serializable, UndoableEdit
- Enclosing class:
- WhiteboardEdits
public static class WhiteboardEdits.ReorderPageEdit
- extends AbstractUndoableEdit
- See Also:
- Serialized Form
WhiteboardEdits.ReorderPageEdit
public WhiteboardEdits.ReorderPageEdit(MultipageModel model,
Page page,
Page curPage,
int srcIndex,
int dstIndex)
redo
public void redo()
throws CannotRedoException
- Specified by:
redo
in interface UndoableEdit
- Overrides:
redo
in class AbstractUndoableEdit
- Throws:
CannotRedoException
undo
public void undo()
throws CannotUndoException
- Specified by:
undo
in interface UndoableEdit
- Overrides:
undo
in class AbstractUndoableEdit
- Throws:
CannotUndoException
canRedo
public boolean canRedo()
- Specified by:
canRedo
in interface UndoableEdit
- Overrides:
canRedo
in class AbstractUndoableEdit
canUndo
public boolean canUndo()
- Specified by:
canUndo
in interface UndoableEdit
- Overrides:
canUndo
in class AbstractUndoableEdit
getPresentationName
public String getPresentationName()
- Specified by:
getPresentationName
in interface UndoableEdit
- Overrides:
getPresentationName
in class AbstractUndoableEdit
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.