|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.AbstractCommand
org.jhotdraw.standard.FigureTransferCommand
org.jhotdraw.standard.CutCommand
public class CutCommand
Delete the selection and move the selected figures to the clipboard.
Clipboard
Nested Class Summary | |
---|---|
static class |
CutCommand.UndoActivity
|
Nested classes/interfaces inherited from class org.jhotdraw.standard.AbstractCommand |
---|
AbstractCommand.EventDispatcher |
Constructor Summary | |
---|---|
CutCommand(java.lang.String name,
DrawingEditor newDrawingEditor)
Constructs a cut command. |
Method Summary | |
---|---|
void |
execute()
Executes the command. |
boolean |
isExecutableWithView()
|
Methods inherited from class org.jhotdraw.standard.FigureTransferCommand |
---|
insertFigures |
Methods inherited from class org.jhotdraw.standard.AbstractCommand |
---|
addCommandListener, dispose, 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 |
Constructor Detail |
---|
public CutCommand(java.lang.String name, DrawingEditor newDrawingEditor)
name
- the command namenewDrawingEditor
- the DrawingEditor which manages the viewsMethod Detail |
---|
public void execute()
AbstractCommand
execute
in interface Command
execute
in class AbstractCommand
Command.execute()
public boolean isExecutableWithView()
AbstractCommand.isExecutableWithView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |