| 
JHotDraw 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.undo.AbstractUndoableEdit
org.jhotdraw.draw.CompositeTransformEdit
public class CompositeTransformEdit
CompositeTransformEdit.
| Field Summary | 
|---|
| Fields inherited from class javax.swing.undo.AbstractUndoableEdit | 
|---|
RedoName, UndoName | 
| Constructor Summary | |
|---|---|
CompositeTransformEdit(AbstractFigure owner,
                       java.awt.geom.AffineTransform tx)
Creates a new instance.  | 
|
| Method Summary | |
|---|---|
 boolean | 
addEdit(javax.swing.undo.UndoableEdit anEdit)
 | 
 boolean | 
canRedo()
Returns false if isInProgress or if super
 returns false. | 
 boolean | 
canUndo()
Returns false if isInProgress or if super
 returns false. | 
 void | 
end()
Sets inProgress to false. | 
 java.lang.String | 
getPresentationName()
 | 
 boolean | 
isInProgress()
Returns true if this edit is in progress--that is, it has not received end.  | 
 void | 
redo()
 | 
 boolean | 
replaceEdit(javax.swing.undo.UndoableEdit anEdit)
 | 
 void | 
undo()
 | 
| Methods inherited from class javax.swing.undo.AbstractUndoableEdit | 
|---|
die, getRedoPresentationName, getUndoPresentationName, isSignificant, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public CompositeTransformEdit(AbstractFigure owner,
                              java.awt.geom.AffineTransform tx)
| Method Detail | 
|---|
public java.lang.String getPresentationName()
getPresentationName in interface javax.swing.undo.UndoableEditgetPresentationName in class javax.swing.undo.AbstractUndoableEditpublic boolean addEdit(javax.swing.undo.UndoableEdit anEdit)
addEdit in interface javax.swing.undo.UndoableEditaddEdit in class javax.swing.undo.AbstractUndoableEditpublic boolean replaceEdit(javax.swing.undo.UndoableEdit anEdit)
replaceEdit in interface javax.swing.undo.UndoableEditreplaceEdit in class javax.swing.undo.AbstractUndoableEdit
public void redo()
          throws javax.swing.undo.CannotRedoException
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotRedoException
public void undo()
          throws javax.swing.undo.CannotUndoException
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditjavax.swing.undo.CannotUndoExceptionpublic boolean isInProgress()
end()public void end()
inProgress to false.
canUndo(), 
canRedo()public boolean canUndo()
isInProgress or if super
 returns false.
canUndo in interface javax.swing.undo.UndoableEditcanUndo in class javax.swing.undo.AbstractUndoableEditisInProgress()public boolean canRedo()
isInProgress or if super
 returns false.
canRedo in interface javax.swing.undo.UndoableEditcanRedo in class javax.swing.undo.AbstractUndoableEditisInProgress()
  | 
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved.  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||