com.supermap.desktop.core.utilties
类 TableUtilities
- java.lang.Object
-
- com.supermap.desktop.core.utilties.TableUtilities
-
public class TableUtilities extends java.lang.Object
table公共类
-
-
方法概要
所有方法 静态方法 具体方法 限定符和类型 方法和说明 static void
invertSelection(javax.swing.JTable table)
table反选static void
scrollToLastRow(javax.swing.JTable 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)
停止编辑
-
-
-
方法详细资料
-
selectionAll
public static void selectionAll(javax.swing.JTable table)
table全选- 参数:
table
-
-
invertSelection
public static void invertSelection(javax.swing.JTable table)
table反选- 参数:
table
-
-
stopEditing
public static void stopEditing(javax.swing.JTable table)
停止编辑- 参数:
table
-
-
setTableSelectedRows
public static void setTableSelectedRows(javax.swing.JTable table, int... selectedRows)
设置table选中指定行
-
scrollToVisible
public static void scrollToVisible(javax.swing.JTable table, int rowIndex, int vColIndex)
滚动到指定行列到可见范围内
-
scrollToLastRow
public static void scrollToLastRow(javax.swing.JTable table)
滚动到最后一行可见
-
-