JTable.DropLocation (Java SE 15 & JDK 15) (original) (raw)

Enclosing class:

JTable


public static final class JTable.DropLocation extends TransferHandler.DropLocation

A subclass of TransferHandler.DropLocation representing a drop location for a JTable.

Since:

1.6

See Also:

JTable.getDropLocation()

Modifier and Type Method Description
int getColumn() Returns the column index where a dropped item should be placed in the table.
int getRow() Returns the row index where a dropped item should be placed in the table.
boolean isInsertColumn() Returns whether or not this location represents an insert of a column.
boolean isInsertRow() Returns whether or not this location represents an insert of a row.
String toString() Returns a string representation of this drop location.