软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.basic |
根据基本的外观和感觉提供内置的用户界面对象。
|
javax.swing.plaf.metal |
提供用户界面对象建立根据java的外观和感觉(一次代号为金属),它是默认的外观和感觉。
|
javax.swing.table |
处理
javax.swing.JTable 提供类和接口。
|
Modifier and Type | Class and Description |
---|---|
protected class |
JList.AccessibleJList
这个类实现了对
JList 类可访问性支持。
|
class |
JTable
的
JTable 用于显示和编辑细胞常规二维表。
|
protected class |
JTable.AccessibleJTable
这个类实现了对
JTable 类可访问性支持。
|
Modifier and Type | Method and Description |
---|---|
ListSelectionListener[] |
JList.getListSelectionListeners()
返回所有的
ListSelectionListener s数组添加到这个
JList 通过
addListSelectionListener 。
|
ListSelectionListener[] |
DefaultListSelectionModel.getListSelectionListeners()
返回的列表选择的听众对这
DefaultListSelectionModel 注册一个数组。
|
Modifier and Type | Method and Description |
---|---|
void |
JList.addListSelectionListener(ListSelectionListener listener)
将一个侦听器添加到列表中,每次更改到选择时都会被通知;侦听选择状态更改的首选方式是。
|
void |
ListSelectionModel.addListSelectionListener(ListSelectionListener x)
向列表中添加一个侦听器,该列表在每次更改时都会通知该列表的更改。
|
void |
DefaultListSelectionModel.addListSelectionListener(ListSelectionListener l)
向列表中添加一个侦听器,该列表在每次更改时都会通知该列表的更改。
|
void |
JList.removeListSelectionListener(ListSelectionListener listener)
从列表中移除一个选择侦听器。
|
void |
ListSelectionModel.removeListSelectionListener(ListSelectionListener x)
从所通知的列表中删除一个侦听器,每次更改到选择时发生。
|
void |
DefaultListSelectionModel.removeListSelectionListener(ListSelectionListener l)
从所通知的列表中删除一个侦听器,每次更改到选择时发生。
|
Modifier and Type | Class and Description |
---|---|
protected class |
BasicComboPopup.ListSelectionHandler
作为java 2平台V 1.4,这类现在已经过时了,什么都不做,而只包括向后兼容的API。
|
protected class |
BasicFileChooserUI.SelectionListener |
class |
BasicListUI.ListSelectionHandler
的listselectionlistener的installui时间添加到jlists选择模型,当jlist.selectionmodel性质变化。
|
Modifier and Type | Field and Description |
---|---|
protected ListSelectionListener |
BasicListUI.listSelectionListener |
protected ListSelectionListener |
BasicComboPopup.listSelectionListener
这个保护字段是实现特定的。
|
Modifier and Type | Method and Description |
---|---|
protected ListSelectionListener |
BasicListUI.createListSelectionListener()
创建一个实例listselectionhandler的选择模式添加到jlists需要。
|
protected ListSelectionListener |
BasicComboPopup.createListSelectionListener()
创建一个列表,选择监听器,在弹出的列表中选择变化表。
|
ListSelectionListener |
BasicFileChooserUI.createListSelectionListener(JFileChooser fc) |
Modifier and Type | Method and Description |
---|---|
ListSelectionListener |
MetalFileChooserUI.createListSelectionListener(JFileChooser fc)
为文件和目录列表创建一个选择侦听器。
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTableColumnModel
一
JTable 标准列处理。
|
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.