CH.ifa.draw.figures
Class UngroupCommand
- java.lang.Object
-
- CH.ifa.draw.util.Command
-
- CH.ifa.draw.figures.UngroupCommand
-
public class UngroupCommand extends Command
Command to ungroup the selected figures.- See Also:
GroupCommand
-
-
Constructor Summary
Constructors Constructor and Description UngroupCommand(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
-
UngroupCommand
public UngroupCommand(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