org.jhotdraw.standard
Class SendToBackCommand

java.lang.Object
  extended by org.jhotdraw.standard.AbstractCommand
      extended by org.jhotdraw.standard.SendToBackCommand
All Implemented Interfaces:
FigureSelectionListener, Command

public class SendToBackCommand
extends AbstractCommand

A command to send the selection to the back of the drawing.

Version:
<$CURRENT_VERSION$>

Nested Class Summary
static class SendToBackCommand.UndoActivity
           
 
Nested classes/interfaces inherited from class org.jhotdraw.standard.AbstractCommand
AbstractCommand.EventDispatcher
 
Constructor Summary
SendToBackCommand(java.lang.String name, DrawingEditor newDrawingEditor)
          Constructs a send to back command.
 
Method Summary
 void execute()
          Executes the command.
 
Methods inherited from class org.jhotdraw.standard.AbstractCommand
addCommandListener, dispose, figureSelectionChanged, getDrawingEditor, getUndoActivity, isExecutable, name, removeCommandListener, setName, setUndoActivity, view
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendToBackCommand

public SendToBackCommand(java.lang.String name,
                         DrawingEditor newDrawingEditor)
Constructs a send to back command.

Parameters:
name - the command name
newDrawingEditor - the DrawingEditor which manages the views
Method Detail

execute

public void execute()
Description copied from class: AbstractCommand
Executes the command.

Specified by:
execute in interface Command
Overrides:
execute in class AbstractCommand