org.vectomatic.client.rep.command
Class ChangeOrderingCommand

java.lang.Object
  extended by org.vectomatic.client.rep.command.CommandBase
      extended by org.vectomatic.client.rep.command.ChangeOrderingCommand
All Implemented Interfaces:
ICommand

public class ChangeOrderingCommand
extends CommandBase

Command to change the order of the shapes in the display list


Field Summary
static int BRING_FORWARD
           
static int BRING_TO_FRONT
           
static int SEND_BACKWARD
           
static int SEND_TO_BACK
           
 
Fields inherited from class org.vectomatic.client.rep.command.CommandBase
_app
 
Constructor Summary
ChangeOrderingCommand(RepApplication app, int direction)
           
 
Method Summary
 void execute()
          Execute the command
 String getDescription()
          Get the description of the command
 void unexecute()
          Undo the command
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BRING_TO_FRONT

public static final int BRING_TO_FRONT
See Also:
Constant Field Values

SEND_TO_BACK

public static final int SEND_TO_BACK
See Also:
Constant Field Values

BRING_FORWARD

public static final int BRING_FORWARD
See Also:
Constant Field Values

SEND_BACKWARD

public static final int SEND_BACKWARD
See Also:
Constant Field Values
Constructor Detail

ChangeOrderingCommand

public ChangeOrderingCommand(RepApplication app,
                             int direction)
Method Detail

execute

public void execute()
Description copied from interface: ICommand
Execute the command


getDescription

public String getDescription()
Description copied from interface: ICommand
Get the description of the command


unexecute

public void unexecute()
Description copied from interface: ICommand
Undo the command



Copyright © 2010. All Rights Reserved.