JHotDraw 7.4.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:
$Id: NonUndoableEdit.java 604 2010-01-09 12:00:29Z rawcoder $
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-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.