Package com.im.commons.ui.util
Class JTableUtils
- java.lang.Object
-
- com.im.commons.ui.util.JTableUtils
-
public final class JTableUtils extends java.lang.ObjectUseful utilities forJTable.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisCellVisible(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. Returnstrueiff the cell (rowIndex, colIndex) is completely visible within the viewport.- Parameters:
table- table of interestrowIndex- row of interestcolIndex- column of interest- Returns:
trueif cell is visible;falseotherwise
-
-