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

Constructor Index

 o BringToFrontCommand(String, DrawingView)
Constructs a bring to front command.

Method Index

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

Constructors

 o BringToFrontCommand
 public BringToFrontCommand(String name,
                            DrawingView view)
Constructs a bring to front 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