protected boolean intersects(mxCellState state, MouseEvent e) { if (!isHighlighting() || isConnecting()) { return true; } return super.intersects(state, e); } };
protected boolean intersects(mxCellState state, MouseEvent e) { if (!isHighlighting() || isConnecting()) { return true; } return super.intersects(state, e); } };
/** * Uses getCell, getMarkedState and intersects to return the state for * the given event. */ protected mxCellState getState(MouseEvent e) { Object cell = getCell(e); mxGraphView view = graphComponent.getGraph().getView(); mxCellState state = getStateToMark(view.getState(cell)); return (state != null && intersects(state, e)) ? state : null; }
/** * Uses getCell, getMarkedState and intersects to return the state for * the given event. */ protected mxCellState getState(MouseEvent e) { Object cell = getCell(e); mxGraphView view = graphComponent.getGraph().getView(); mxCellState state = getStateToMark(view.getState(cell)); return (state != null && intersects(state, e)) ? state : null; }