Documentation of 'org.jhotdraw.draw.handle.ConnectorHandle' Java class
ConnectorHandle
org.jhotdraw.draw.handle

Class ConnectorHandle

    • Constructor Detail

    • Method Detail

      • getLocationOnDrawing

        public java.awt.geom.Point2D.Double getLocationOnDrawing()
      • getLocation

        public java.awt.Point getLocation()
      • trackStart

        public void trackStart(java.awt.Point anchor,
                               int modifiersEx)
        Description copied from interface: Handle
        Tracks the start of the interaction. The default implementation does nothing.
        Parameters:
        anchor - the position where the interaction started
      • trackStep

        public void trackStep(java.awt.Point anchor,
                              java.awt.Point lead,
                              int modifiersEx)
        Description copied from interface: Handle
        Tracks a step of the interaction.
        Parameters:
        anchor - the position where the interaction started
        lead - the current position
      • getDrawingArea

        public java.awt.Rectangle getDrawingArea()
        Description copied from interface: Handle
        Returns the drawing area of the handle. Note: The drawing area must be returned in the coordinate system of the DrawingView.
        Specified by:
        getDrawingArea in interface Handle
        Overrides:
        getDrawingArea in class AbstractHandle
      • trackEnd

        public void trackEnd(java.awt.Point anchor,
                             java.awt.Point lead,
                             int modifiersEx)
        Description copied from interface: Handle
        Tracks the end of the interaction.
        Parameters:
        anchor - the position where the interaction started
        lead - the current position
      • repaintConnectors

        public void repaintConnectors()
        Updates the list of connectors that we draw when the user moves or drags the mouse over a figure to which can connect.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.