Class EdgeController.BpmnConnectPreview
- java.lang.Object
-
- com.mxgraph.util.mxEventSource
-
- com.mxgraph.swing.handler.mxConnectPreview
-
- jadex.bpmn.editor.gui.controllers.EdgeController.BpmnConnectPreview
-
- Enclosing class:
- EdgeController
protected class EdgeController.BpmnConnectPreview extends com.mxgraph.swing.handler.mxConnectPreview
Edge creation preview.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
timestamp
Time stamp of drag start.
-
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
-
-
-
-
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 classcom.mxgraph.swing.handler.mxConnectPreview
-
stop
public java.lang.Object stop(boolean commit, java.awt.event.MouseEvent e)
Stops operation.- Overrides:
stop
in classcom.mxgraph.swing.handler.mxConnectPreview
-
-