All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.CutCommand
java.lang.Object
|
+----CH.ifa.draw.util.Command
|
+----CH.ifa.draw.standard.FigureTransferCommand
|
+----CH.ifa.draw.standard.CutCommand
- public class CutCommand
- extends FigureTransferCommand
Delete the selection and move the selected figures to
the clipboard.
- See Also:
- Clipboard
-
CutCommand(String, DrawingView)
- Constructs a cut command.
-
execute()
- Executes the command.
-
isExecutable()
- Tests if the command can be executed.
CutCommand
public CutCommand(String name,
DrawingView view)
- Constructs a cut command.
- Parameters:
- name - the command name
- view - the target view
execute
public void execute()
- Executes the command.
- Overrides:
- execute in class Command
isExecutable
public boolean isExecutable()
- Tests if the command can be executed.
- Overrides:
- isExecutable in class Command
All Packages Class Hierarchy This Package Previous Next Index