Package com.im.commons.ui.util
Class JTableUtils
- java.lang.Object
-
- com.im.commons.ui.util.JTableUtils
-
public final class JTableUtils extends java.lang.Object
Useful utilities forJTable
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isCellVisible(javax.swing.JTable table, int rowIndex, int colIndex)
Is cell visible on screen? Assumes table is contained in aJScrollPane
.
-
-
-
Method Detail
-
isCellVisible
public static boolean isCellVisible(javax.swing.JTable table, int rowIndex, int colIndex)
Is cell visible on screen? Assumes table is contained in aJScrollPane
. Returnstrue
iff the cell (rowIndex, colIndex) is completely visible within the viewport.- Parameters:
table
- table of interestrowIndex
- row of interestcolIndex
- column of interest- Returns:
true
if cell is visible;false
otherwise
-
-