@Override public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 1) { Node jumpToNode = arrowToNode(e); if (jumpToNode != null) { jumpToRow(jumpToNode.getRowIndex()); return; } GraphElement graphElement = overCell(e); myUI.click(graphElement); if (graphElement == null) { myUI.click(PositionUtil.getRowIndex(e)); } } myTableListener.onClick(e, e.getClickCount()); }
@Nullable private GraphPrintCell getGraphPrintCell(MouseEvent e) { int rowIndex = PositionUtil.getRowIndex(e); return getGraphPrintCellForRow(getModel(), rowIndex); }