All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.DuplicateCommand
java.lang.Object
|
+----CH.ifa.draw.util.Command
|
+----CH.ifa.draw.standard.FigureTransferCommand
|
+----CH.ifa.draw.standard.DuplicateCommand
- public class DuplicateCommand
- extends FigureTransferCommand
Duplicate the selection and select the duplicates.
-
DuplicateCommand(String, DrawingView)
- Constructs a duplicate command.
-
execute()
- Executes the command.
-
isExecutable()
- Tests if the command can be executed.
DuplicateCommand
public DuplicateCommand(String name,
DrawingView view)
- Constructs a duplicate 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