diva.whiteboard
Class WhiteboardEdits.PasteEdit

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

public static class WhiteboardEdits.PasteEdit
extends CompoundEdit

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.CompoundEdit
edits
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
WhiteboardEdits.PasteEdit()
           
 
Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 String getPresentationName()
           
 String getRedoPresentationName()
           
 String getUndoPresentationName()
           
 void redo()
           
 void undo()
           
 
Methods inherited from class javax.swing.undo.CompoundEdit
addEdit, die, end, isInProgress, isSignificant, lastEdit, toString
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
replaceEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WhiteboardEdits.PasteEdit

public WhiteboardEdits.PasteEdit()
Method Detail

redo

public void redo()
          throws CannotRedoException
Specified by:
redo in interface UndoableEdit
Overrides:
redo in class CompoundEdit
Throws:
CannotRedoException

undo

public void undo()
          throws CannotUndoException
Specified by:
undo in interface UndoableEdit
Overrides:
undo in class CompoundEdit
Throws:
CannotUndoException

canRedo

public boolean canRedo()
Specified by:
canRedo in interface UndoableEdit
Overrides:
canRedo in class CompoundEdit

canUndo

public boolean canUndo()
Specified by:
canUndo in interface UndoableEdit
Overrides:
canUndo in class CompoundEdit

getUndoPresentationName

public String getUndoPresentationName()
Specified by:
getUndoPresentationName in interface UndoableEdit
Overrides:
getUndoPresentationName in class CompoundEdit

getRedoPresentationName

public String getRedoPresentationName()
Specified by:
getRedoPresentationName in interface UndoableEdit
Overrides:
getRedoPresentationName in class CompoundEdit

getPresentationName

public String getPresentationName()
Specified by:
getPresentationName in interface UndoableEdit
Overrides:
getPresentationName in class CompoundEdit


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.