All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.figures.GroupCommand
java.lang.Object
|
+----CH.ifa.draw.util.Command
|
+----CH.ifa.draw.figures.GroupCommand
- public class GroupCommand
- extends Command
Command to group the selection into a GroupFigure.
- See Also:
- GroupFigure
-
GroupCommand(String, DrawingView)
- Constructs a group command.
-
execute()
- Executes the command.
-
isExecutable()
- Tests if the command can be executed.
GroupCommand
public GroupCommand(String name,
DrawingView view)
- Constructs a group 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