Documentation of 'com.mxgraph.swing.handler.mxConnectPreview' Java class
mxConnectPreview
com.mxgraph.swing.handler

Class mxConnectPreview



  • public class mxConnectPreview
    extends mxEventSource
    Connection handler creates new connections between cells. This control is used to display the connector icon, while the preview is used to draw the line.
    • Constructor Detail

      • mxConnectPreview

        public mxConnectPreview(mxGraphComponent graphComponent)
        Parameters:
        graphComponent -
    • Method Detail

      • isActive

        public boolean isActive()
      • getPreviewState

        public mxCellState getPreviewState()
      • getStartPoint

        public mxPoint getStartPoint()
      • start

        public void start(java.awt.event.MouseEvent e,
                          mxCellState startState,
                          java.lang.String style)
        Updates the style of the edge preview from the incoming edge
      • update

        public void update(java.awt.event.MouseEvent e,
                           mxCellState targetState,
                           double x,
                           double y)
      • revalidate

        public void revalidate(mxCellState state)
      • paint

        public void paint(java.awt.Graphics g)
      • stop

        public java.lang.Object stop(boolean commit)
      • stop

        public java.lang.Object stop(boolean commit,
                                     java.awt.event.MouseEvent e)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.