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

Constructor Index

 o GroupCommand(String, DrawingView)
Constructs a group command.

Method Index

 o execute()
Executes the command.
 o isExecutable()
Tests if the command can be executed.

Constructors

 o GroupCommand
 public GroupCommand(String name,
                     DrawingView view)
Constructs a group command.

Parameters:
name - the command name
view - the target view

Methods

 o execute
 public void execute()
Executes the command.

Overrides:
execute in class Command
 o 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