com.partnersoft.v3x.apps.Redliner
Class RedlinePointCommands

java.lang.Object
  extended by com.partnersoft.v3x.apps.Redliner.RedlinePointCommands

public class RedlinePointCommands
extends java.lang.Object

A factory for RedlinePointCommands. Encapsulates the interactive logic of manipulation of Redliner MapPoints.


Constructor Summary
RedlinePointCommands()
           
 
Method Summary
static Command createDeletePointCommand(java.util.Set redlineBag, MapPoint victim)
          Returns a command object that, when invoked, deletes the indicated MapPoint from a set.
static Command createMovePointCommand(MapPoint victim, Coord3D newCoord)
          Returns a command object that, when invoked, moves the indicated MapPoint to a new coordinate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedlinePointCommands

public RedlinePointCommands()
Method Detail

createDeletePointCommand

public static Command createDeletePointCommand(java.util.Set redlineBag,
                                               MapPoint victim)
Returns a command object that, when invoked, deletes the indicated MapPoint from a set.


createMovePointCommand

public static Command createMovePointCommand(MapPoint victim,
                                             Coord3D newCoord)
Returns a command object that, when invoked, moves the indicated MapPoint to a new coordinate.