软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.event |
提供由摆动组件触发的事件。
|
javax.swing.table |
处理
javax.swing.JTable 提供类和接口。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultRowSorter<M,I>
一个实现的
RowSorter 提供排序和筛选在基于网格的数据模型。
|
Modifier and Type | Method and Description |
---|---|
RowSorter<? extends TableModel> |
JTable.getRowSorter()
返回负责排序的对象。
|
Modifier and Type | Method and Description |
---|---|
void |
JTable.setRowSorter(RowSorter<? extends TableModel> sorter)
集
RowSorter 。
|
Modifier and Type | Method and Description |
---|---|
RowSorter |
RowSorterEvent.getSource()
作为一个
RowSorter 返回事件的来源。
|
Constructor and Description |
---|
RowSorterEvent(RowSorter source)
创建一个
RowSorterEvent
SORT_ORDER_CHANGED 型。
|
RowSorterEvent(RowSorter source, RowSorterEvent.Type type, int[] previousRowIndexToModel)
创建一个
RowSorterEvent 。
|
Modifier and Type | Class and Description |
---|---|
class |
TableRowSorter<M extends TableModel>
一个实现的
RowSorter 提供排序和使用
TableModel 过滤。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.