src/main/java/com/mxgraph/swing/handler/mxConnectPreview.java
public void start(MouseEvent e, mxCellState startState, String style)
	{
		mxGraph graph = graphComponent.getGraph();
		sourceState = startState;
		startPoint = transformScreenPoint(startState.getCenterX(),
				startState.getCenterY());
		Object cell = createCell(startState, style);
		graph.getView().validateCell(cell);
		previewState = graph.getView().getState(cell);
		
		fireEvent(new mxEventObject(mxEvent.START, "event", e, "state",
				previewState));
	}
/**
	 * Updates the style of the edge preview from the incoming edge
	 */
Updates the style of the edge preview from the incoming edge
Updates the style of the edge preview from the incoming edge
public void start(MouseEvent e, mxCellState startState, String style)
	{
		mxGraph graph = graphComponent.getGraph();
		sourceState = startState;
		startPoint = transformScreenPoint(startState.getCenterX(),
				startState.getCenterY());
		Object cell = createCell(startState, style);
		graph.getView().validateCell(cell);
		previewState = graph.getView().getState(cell);
		fireEvent(new mxEventObject(mxEvent.START, "event", e, "state",
				previewState));
	}
public void start ( MouseEvent e , mxCellState startState , String style ) { mxGraph graph = graphComponent . getGraph ( ) ; sourceState = startState ; startPoint = transformScreenPoint ( startState . getCenterX ( ) , startState . getCenterY ( ) ) ; Object cell = createCell ( startState , style ) ; graph . getView ( ) . validateCell ( cell ) ; previewState = graph . getView ( ) . getState ( cell ) ; fireEvent ( new mxEventObject ( mxEvent . START , "event" , e , "state" , previewState ) ) ; }
Updates the style of the edge preview from the incoming edge
Updates the style of the edge preview from the incoming edge