Package slash.navigation.gui.helpers
Class JTableHelper
java.lang.Object
slash.navigation.gui.helpers.JTableHelper
A helper for simplified
JTable operations.- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intgetDefaultRowHeight(Object objectWithTable) static intgetDefaultRowHeight(Object objectWithTable, TableCellEditor cellEditor, Object cellValue) static booleanstatic voidscrollToPosition(JTable table, int insertRow) static voidselectAndScrollToPosition(JTable table, int index0, int index1) static voidselectPositions(JTable table, int index0, int index1)
-
Constructor Details
-
JTableHelper
public JTableHelper()
-
-
Method Details
-
getDefaultRowHeight
-
getDefaultRowHeight
public static int getDefaultRowHeight(Object objectWithTable, TableCellEditor cellEditor, Object cellValue) -
scrollToPosition
-
selectPositions
-
selectAndScrollToPosition
-
isFirstToLastRow
-