connectPreview.update(e, marker.getValidState(), e.getX(), e.getY()); setBounds(null);
connectPreview.update(e, marker.getValidState(), e.getX(), e.getY()); setBounds(null);
/** * */ public void mousePressed(MouseEvent e) { if (!graphComponent.isForceMarqueeEvent(e) && !graphComponent.isPanningEvent(e) && !e.isPopupTrigger() && graphComponent.isEnabled() && isEnabled() && !e.isConsumed() && ((isHighlighting() && marker.hasValidState()) || (!isHighlighting() && bounds != null && bounds.contains(e.getPoint())))) { start(e, marker.getValidState()); e.consume(); } }
/** * */ public void mousePressed(MouseEvent e) { if (!graphComponent.isForceMarqueeEvent(e) && !graphComponent.isPanningEvent(e) && !e.isPopupTrigger() && graphComponent.isEnabled() && isEnabled() && !e.isConsumed() && ((isHighlighting() && marker.hasValidState()) || (!isHighlighting() && bounds != null && bounds.contains(e.getPoint())))) { start(e, marker.getValidState()); e.consume(); } }
&& (isSource(index) || isTarget(index))) connect(state.getCell(), marker.getValidState().getCell(), isSource(index), graphComponent.isCloneEvent(e) && isCloneEnabled());
final mxCellState targetState = marker.getValidState(); final Object target = ( targetState != null ) ? targetState.getCell() : null;
&& (isSource(index) || isTarget(index))) connect(state.getCell(), marker.getValidState().getCell(), isSource(index), graphComponent.isCloneEvent(e) && isCloneEnabled());
final mxCellState targetState = marker.getValidState(); final Object target = ( targetState != null ) ? targetState.getCell() : null;
mxCellState targetState = marker.getValidState(); Object target = (targetState != null) ? targetState.getCell() : null;
mxCellState targetState = marker.getValidState(); Object target = (targetState != null) ? targetState.getCell() : null;
mxCellState currentState = marker.getValidState(); target = state.getVisibleTerminal(!isSource);
mxCellState currentState = marker.getValidState(); target = state.getVisibleTerminal(!isSource);