Constructor and Description |
---|
JTableLocation() |
Modifier and Type | Method and Description |
---|---|
Rectangle |
cellBounds(JTable table,
int row,
int column)
Returns the bounds of the given row and column.
|
Rectangle |
cellBounds(JTable table,
TableCell cell)
Returns the bounds of the given cell.
|
Point |
pointAt(JTable table,
int row,
int column)
Converts the given row and column into a coordinate pair.
|
@RunsInCurrentThread public Point pointAt(JTable table, int row, int column)
JTable
's bounds.
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
table
- the target JTable
.row
- the given row.column
- the given column.@RunsInCurrentThread public Rectangle cellBounds(JTable table, TableCell cell)
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
table
- the target JTable
.cell
- the given cell.@RunsInCurrentThread public Rectangle cellBounds(JTable table, int row, int column)
Note: This method is not guaranteed to be executed in the event dispatch thread (EDT.) Clients are responsible for calling this method from the EDT.
table
- the target JTable
.row
- the given row.column
- the given column.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.