Lines Matching defs:loc
376 JTable.DropLocation loc = table.getDropLocation();
377 if (loc == null) {
389 rect = getHDropLineRect(loc);
398 if (!loc.isInsertColumn() && shortColor != null) {
404 rect = getVDropLineRect(loc);
413 if (!loc.isInsertRow() && shortColor != null) {
420 private Rectangle getHDropLineRect(JTable.DropLocation loc) {
421 if (!loc.isInsertRow()) {
425 int row = loc.getRow();
426 int col = loc.getColumn();
450 private Rectangle getVDropLineRect(JTable.DropLocation loc) {
451 if (!loc.isInsertColumn()) {
456 int col = loc.getColumn();
457 Rectangle rect = table.getCellRect(loc.getRow(), col, true);
461 rect = table.getCellRect(loc.getRow(), col, true);