Documentation of 'CH.ifa.draw.standard.ChangeConnectionHandle' Java class
ChangeConnectionHandle
CH.ifa.draw.standard

Class ChangeConnectionHandle

    • Method Detail

      • invokeStart

        public void invokeStart(int x,
                                int y,
                                DrawingView view)
        Disconnects the connection.
        Specified by:
        invokeStart in interface Handle
        Overrides:
        invokeStart in class AbstractHandle
        Parameters:
        x - the x position where the interaction started
        y - the y position where the interaction started
        view - the handles container
      • invokeStep

        public void invokeStep(int x,
                               int y,
                               int anchorX,
                               int anchorY,
                               DrawingView view)
        Finds a new target of the connection.
        Specified by:
        invokeStep in interface Handle
        Overrides:
        invokeStep in class AbstractHandle
        Parameters:
        x - the current x position
        y - the current y position
        anchorX - the x position where the interaction started
        anchorY - the y position where the interaction started
      • invokeEnd

        public void invokeEnd(int x,
                              int y,
                              int anchorX,
                              int anchorY,
                              DrawingView view)
        Connects the figure to the new target. If there is no new target the connection reverts to its original one.
        Specified by:
        invokeEnd in interface Handle
        Overrides:
        invokeEnd in class AbstractHandle
        Parameters:
        x - the current x position
        y - the current y position
        anchorX - the x position where the interaction started
        anchorY - the y position where the interaction started
      • draw

        public void draw(java.awt.Graphics g)
        Draws this handle.
        Specified by:
        draw in interface Handle
        Overrides:
        draw in class AbstractHandle

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.