All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.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
-
BringToFrontCommand(String, DrawingView)
- Constructs a bring to front command.
-
execute()
- Executes the command.
-
isExecutable()
- Tests if the command can be executed.
BringToFrontCommand
public BringToFrontCommand(String name,
DrawingView view)
- Constructs a bring to front 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