org.jhotdraw.standard
Class FigureTransferCommand

java.lang.Object
  extended by org.jhotdraw.standard.AbstractCommand
      extended by org.jhotdraw.standard.FigureTransferCommand
All Implemented Interfaces:
FigureSelectionListener, Command
Direct Known Subclasses:
CopyCommand, CutCommand, DeleteCommand, DuplicateCommand, PasteCommand

public abstract class FigureTransferCommand
extends AbstractCommand

Common base clase for commands that transfer figures between a drawing and the clipboard.

Version:
<$CURRENT_VERSION$>

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jhotdraw.standard.AbstractCommand
AbstractCommand.EventDispatcher
 
Method Summary
 FigureEnumeration insertFigures(FigureEnumeration fe, int dx, int dy)
          Inserts an enumeration of figures and translates them by the given offset.
 
Methods inherited from class org.jhotdraw.standard.AbstractCommand
addCommandListener, dispose, execute, figureSelectionChanged, getDrawingEditor, getUndoActivity, isExecutable, name, removeCommandListener, setName, setUndoActivity, view
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

insertFigures

public FigureEnumeration insertFigures(FigureEnumeration fe,
                                       int dx,
                                       int dy)
Inserts an enumeration of figures and translates them by the given offset.