616263646566676869
@Override public void mouseMove(NatTable natTable, MouseEvent event) { currentEvent = event; natTable.doCommand(new ViewportDragCommand(event.x, -1)); natTable.redraw(); }
8182838485868788899091
dragToGridColumnPosition = -1; } fireMoveEndCommand(natTable, dragToGridColumnPosition); natTable.doCommand(new ViewportDragCommand(-1, -1)); // Cancel any // active viewport // drag natTable.redraw(); }
@Override public void mouseMove(NatTable natTable, MouseEvent event) { currentEvent = event; natTable.doCommand(new ViewportDragCommand(-1, event.y)); natTable.redraw(); }
8081828384858687888990
dragToGridRowPosition = -1; } fireMoveEndCommand(natTable, dragToGridRowPosition); natTable.doCommand(new ViewportDragCommand(-1, -1)); // Cancel any // active viewport // drag natTable.redraw(); }