diva.whiteboard
Class WhiteboardEdits.DeletePageEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by diva.whiteboard.WhiteboardEdits.DeletePageEdit
All Implemented Interfaces:
Serializable, UndoableEdit
Enclosing class:
WhiteboardEdits

public static class WhiteboardEdits.DeletePageEdit
extends AbstractUndoableEdit

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
WhiteboardEdits.DeletePageEdit(MultipageModel m, Page p, Page curPage, int index)
           
 
Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 String getPresentationName()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhiteboardEdits.DeletePageEdit

public WhiteboardEdits.DeletePageEdit(MultipageModel m,
                                      Page p,
                                      Page curPage,
                                      int index)
Method Detail

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.