Lines Matching refs:dx
170 protected int dx;
188 Actions(String name, int dx, int dy, boolean extend,
194 // that one of dx and dy be 0 and the other be -1 or 1.
201 // look at the sign of dx and dy only
202 dx = sign(dx);
206 assert (dx == 0 || dy == 0) && !(dx == 0 && dy == 0);
209 this.dx = dx;
226 private void moveWithinTableRange(JTable table, int dx, int dy) {
228 leadColumn = clipToRange(leadColumn+dx, 0, table.getColumnCount());
247 private boolean moveWithinSelectedRange(JTable table, int dx, int dy,
251 // dx and dy is 0, and the other is either -1 or 1
318 } else if (dx == 1 && leadRow == -1) {
324 } else if (dx == -1 && leadRow == -1) {
337 calcNextPos(dx, minX, maxX, dy, minY, maxY);
345 * dx/dy and max/min values.
347 private void calcNextPos(int dx, int minX, int maxX,
350 if (dx != 0) {
351 leadColumn += dx;
412 this.dx = 0;
417 this.dx = forwards ? colCount : -colCount;
438 this.dx = 0;
463 this.dx = newColumn - leadColumn;
532 moveWithinTableRange(table, dx, dy);
558 moveWithinTableRange(table, dx, dy);
567 if (moveWithinSelectedRange(table, dx, dy, rsm, csm)) {
1515 // inSelection parameter) require that one of dx or dy be