JHotDraw 7.1

org.jhotdraw.undo
Class NonUndoableEdit

java.lang.Object
  extended by javax.swing.undo.AbstractUndoableEdit
      extended by org.jhotdraw.undo.NonUndoableEdit
All Implemented Interfaces:
java.io.Serializable, javax.swing.undo.UndoableEdit

public class NonUndoableEdit
extends javax.swing.undo.AbstractUndoableEdit

NonUndoableEdit.

Version:
1.0 5. April 2004 Created.
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
 
Constructor Summary
NonUndoableEdit()
          Creates a new instance.
 
Method Summary
 boolean canRedo()
           
 boolean canUndo()
           
 
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, isSignificant, redo, replaceEdit, toString, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NonUndoableEdit

public NonUndoableEdit()
Creates a new instance.

Method Detail

canUndo

public boolean canUndo()
Specified by:
canUndo in interface javax.swing.undo.UndoableEdit
Overrides:
canUndo in class javax.swing.undo.AbstractUndoableEdit

canRedo

public boolean canRedo()
Specified by:
canRedo in interface javax.swing.undo.UndoableEdit
Overrides:
canRedo in class javax.swing.undo.AbstractUndoableEdit

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.