Class EdgeController.BpmnConnectPreview

  • Enclosing class:
    EdgeController

    protected class EdgeController.BpmnConnectPreview
    extends com.mxgraph.swing.handler.mxConnectPreview
    Edge creation preview.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.mxgraph.util.mxEventSource

        com.mxgraph.util.mxEventSource.mxIEventListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long timestamp
      Time stamp of drag start.
      • Fields inherited from class com.mxgraph.swing.handler.mxConnectPreview

        graphComponent, previewState, sourceState, startPoint
      • Fields inherited from class com.mxgraph.util.mxEventSource

        eventListeners, eventsEnabled, eventSource
    • Constructor Summary

      Constructors 
      Constructor Description
      BpmnConnectPreview​(com.mxgraph.swing.mxGraphComponent graphcomponent)
      Creates a new preview.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object stop​(boolean commit, java.awt.event.MouseEvent e)
      Stops operation.
      void update​(java.awt.event.MouseEvent e, com.mxgraph.view.mxCellState targetState, double x, double y)
      Updates mouse position.
      • Methods inherited from class com.mxgraph.swing.handler.mxConnectPreview

        createCell, getDirtyRect, getDirtyRect, getPreviewState, getSourceState, getStartPoint, isActive, paint, paintPreview, revalidate, start, stop, transformScreenPoint
      • Methods inherited from class com.mxgraph.util.mxEventSource

        addListener, fireEvent, fireEvent, getEventSource, isEventsEnabled, removeListener, removeListener, setEventsEnabled, setEventSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • timestamp

        protected long timestamp
        Time stamp of drag start.
    • Constructor Detail

      • BpmnConnectPreview

        public BpmnConnectPreview​(com.mxgraph.swing.mxGraphComponent graphcomponent)
        Creates a new preview.
        Parameters:
        graphcomponent - The graph component.
    • Method Detail

      • update

        public void update​(java.awt.event.MouseEvent e,
                           com.mxgraph.view.mxCellState targetState,
                           double x,
                           double y)
        Updates mouse position.
        Overrides:
        update in class com.mxgraph.swing.handler.mxConnectPreview
      • stop

        public java.lang.Object stop​(boolean commit,
                                     java.awt.event.MouseEvent e)
        Stops operation.
        Overrides:
        stop in class com.mxgraph.swing.handler.mxConnectPreview