CH.ifa.draw.standard
Class BringToFrontCommand
- java.lang.Object
-
- CH.ifa.draw.util.Command
-
- CH.ifa.draw.standard.BringToFrontCommand
-
public class BringToFrontCommand extends Command
BringToFrontCommand brings the selected figures in the front of the other figures.- See Also:
SendToBackCommand
-
-
Constructor Summary
Constructors Constructor and Description BringToFrontCommand(java.lang.String name, DrawingView view)Constructs a bring to front 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
-
BringToFrontCommand
public BringToFrontCommand(java.lang.String name, DrawingView view)Constructs a bring to front 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