Class MoveBendpointContext

All Implemented Interfaces:
IBendpointContext, IContext, ILocationContext, IMoveBendpointContext, IMoveContext, IPropertyBag

public class MoveBendpointContext extends MoveContext implements IMoveBendpointContext
The Class MoveBendpointContext.
  • Constructor Details

    • MoveBendpointContext

      public MoveBendpointContext(Point bendpoint)
      Creates a new MoveBendpointContext.
      Parameters:
      bendpoint - the bendpoint
  • Method Details

    • getBendpoint

      public Point getBendpoint()
      Gets the bendpoint.
      Specified by:
      getBendpoint in interface IBendpointContext
      Returns:
      Returns the bendpoint.
    • getBendpointIndex

      public int getBendpointIndex()
      Description copied from interface: IBendpointContext
      Gets the bendpoint index.
      Specified by:
      getBendpointIndex in interface IBendpointContext
      Returns:
      the bendpoint index
    • getConnection

      public FreeFormConnection getConnection()
      Description copied from interface: IBendpointContext
      Gets the connection.
      Specified by:
      getConnection in interface IBendpointContext
      Returns:
      the connection
    • setBendpointIndex

      public void setBendpointIndex(int bendpointIndex)
      Sets the bendpoint index.
      Parameters:
      bendpointIndex - the new bendpoint index
    • setConnection

      public void setConnection(FreeFormConnection freeFormConnection)
      Sets the connection.
      Parameters:
      freeFormConnection - the new connection
    • toString

      public String toString()
      Overrides:
      toString in class LocationContext