protected class EdgeController.BpmnConnectPreview
extends com.mxgraph.swing.handler.mxConnectPreview
Modifier and Type | Field and Description |
---|---|
protected long |
timestamp
Time stamp of drag start.
|
Constructor and Description |
---|
BpmnConnectPreview(com.mxgraph.swing.mxGraphComponent graphcomponent)
Creates a new preview.
|
Modifier and Type | Method and 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.
|
createCell, getDirtyRect, getDirtyRect, getPreviewState, getSourceState, getStartPoint, isActive, paint, paintPreview, revalidate, start, stop, transformScreenPoint
public BpmnConnectPreview(com.mxgraph.swing.mxGraphComponent graphcomponent)
graphcomponent
- The graph component.public void update(java.awt.event.MouseEvent e, com.mxgraph.view.mxCellState targetState, double x, double y)
update
in class com.mxgraph.swing.handler.mxConnectPreview
public java.lang.Object stop(boolean commit, java.awt.event.MouseEvent e)
stop
in class com.mxgraph.swing.handler.mxConnectPreview