Class JTableHelper

java.lang.Object
slash.navigation.gui.helpers.JTableHelper

public class JTableHelper extends Object
A helper for simplified JTable operations.
Author:
Christian Pesch
  • Constructor Details

    • JTableHelper

      public JTableHelper()
  • Method Details

    • getDefaultRowHeight

      public static int getDefaultRowHeight(Object objectWithTable)
    • getDefaultRowHeight

      public static int getDefaultRowHeight(Object objectWithTable, TableCellEditor cellEditor, Object cellValue)
    • scrollToPosition

      public static void scrollToPosition(JTable table, int insertRow)
    • selectPositions

      public static void selectPositions(JTable table, int index0, int index1)
    • selectAndScrollToPosition

      public static void selectAndScrollToPosition(JTable table, int index0, int index1)
    • isFirstToLastRow

      public static boolean isFirstToLastRow(TableModelEvent e)