public class TableHelper extends Object
| Constructor and Description |
|---|
TableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static PropertyChangeListener |
addColumnModelTracker(JTable p_Table,
TableColumnModelListener p_Listener) |
static PropertyChangeListener |
addModelTracker(JTable p_Table,
TableModelListener p_Listener) |
static JScrollPane |
findScrollPane(JTable p_Table) |
static int[] |
getColumnWidths(JTable p_Table) |
static int |
getFirstVisibleRow(JTable p_Table) |
static int |
getLastVisibleRow(JTable p_Table) |
static void |
layoutColumns(JTable p_Table,
boolean p_OnlyVisibleRows) |
static void |
layoutHeaders(JTable p_Table) |
static void |
setColumnWidths(JTable p_Table,
int[] p_ColumnWidths) |
public static PropertyChangeListener addModelTracker(JTable p_Table, TableModelListener p_Listener)
public static PropertyChangeListener addColumnModelTracker(JTable p_Table, TableColumnModelListener p_Listener)
public static void layoutHeaders(JTable p_Table)
public static void layoutColumns(JTable p_Table, boolean p_OnlyVisibleRows)
public static JScrollPane findScrollPane(JTable p_Table)
public static int getFirstVisibleRow(JTable p_Table)
public static int getLastVisibleRow(JTable p_Table)
public static void setColumnWidths(JTable p_Table, int[] p_ColumnWidths)
public static int[] getColumnWidths(JTable p_Table)
Copyright © 2015. All rights reserved.