org.vectomatic.client.rep.command
Class MoveVertexCommand

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

public class MoveVertexCommand
extends CommandBase

Command to move a vertex in a polyline


Field Summary
 
Fields inherited from class org.vectomatic.client.rep.command.CommandBase
_app
 
Constructor Summary
MoveVertexCommand(RepApplication app, EditPolylineController editPolylineController, Polyline polyline, Polyline clone, Set<Integer> vertexIndices)
           
 
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
 

Constructor Detail

MoveVertexCommand

public MoveVertexCommand(RepApplication app,
                         EditPolylineController editPolylineController,
                         Polyline polyline,
                         Polyline clone,
                         Set<Integer> vertexIndices)
Method Detail

getDescription

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


execute

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


unexecute

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



Copyright © 2010. All Rights Reserved.