public class TableUtilities
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static void |
hiddenColumn(int columnIndex, javax.swing.JTable table)
已过时。
废弃,直接用setColumnWith()方法代替
|
static void |
invertSelection(javax.swing.JTable table)
table反选
|
static void |
scrollToVisible(javax.swing.JTable table, int rowIndex, int vColIndex)
滚动到指定行列到可见范围内
|
static void |
selectionAll(javax.swing.JTable table)
table全选
|
static void |
setTableSelectedRows(javax.swing.JTable table, int... selectedRows)
设置table选中指定行
|
static void |
stopEditing(javax.swing.JTable table)
停止编辑
|
public static void selectionAll(javax.swing.JTable table)
table
-public static void invertSelection(javax.swing.JTable table)
table
-public static void stopEditing(javax.swing.JTable table)
table
-public static void setTableSelectedRows(javax.swing.JTable table, int... selectedRows)
public static void scrollToVisible(javax.swing.JTable table, int rowIndex, int vColIndex)
public static void hiddenColumn(int columnIndex, javax.swing.JTable table)