CH.ifa.draw.figures
Class 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 Summary
Constructors Constructor and Description GroupCommand(java.lang.String name, DrawingView view)Constructs a group command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidexecute()Executes the command.booleanisExecutable()Tests if the command can be executed.
-
-
-
Constructor Detail
-
GroupCommand
public GroupCommand(java.lang.String name, DrawingView view)Constructs a group command.- Parameters:
name- the command nameview- the target view
-
-
Method Detail
-
execute
public void execute()
Description copied from class:CommandExecutes the command.
-
isExecutable
public boolean isExecutable()
Description copied from class:CommandTests if the command can be executed.- Overrides:
isExecutablein classCommand
-
-
DataMelt 3.0 © DataMelt by jWork.ORG