| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 ListDataEvent 的软件包 | |
|---|---|
| javax.swing | 提供一组“轻量级”(全部是 Java 语言)组件,尽量让这些组件在所有平台上的工作方式都相同。 | 
| javax.swing.event | 供 Swing 组件触发的事件使用。 | 
| javax.swing.plaf.basic | 提供了根据基本外观构建的用户界面对象。 | 
| javax.swing 中 ListDataEvent 的使用 | 
|---|
| 参数类型为 ListDataEvent 的 javax.swing 中的方法 | |
|---|---|
 void | 
JList.AccessibleJList.contentsChanged(ListDataEvent e)
List Data Listener 内容更改方法。  | 
 void | 
JComboBox.contentsChanged(ListDataEvent e)
此方法作为实现的副作用存在的公共方法。  | 
 void | 
JList.AccessibleJList.intervalAdded(ListDataEvent e)
List Data Listener 间隔添加方法。  | 
 void | 
JComboBox.intervalAdded(ListDataEvent e)
此方法作为实现的副作用存在的公共方法。  | 
 void | 
JList.AccessibleJList.intervalRemoved(ListDataEvent e)
List Data Listener 间隔移除方法。  | 
 void | 
JComboBox.intervalRemoved(ListDataEvent e)
此方法作为实现的副作用存在的公共方法。  | 
| javax.swing.event 中 ListDataEvent 的使用 | 
|---|
| 参数类型为 ListDataEvent 的 javax.swing.event 中的方法 | |
|---|---|
 void | 
ListDataListener.contentsChanged(ListDataEvent e)
在列表的内容以某种太过复杂以至用以前的方法难以描述的方式发生更改时发送。  | 
 void | 
ListDataListener.intervalAdded(ListDataEvent e)
在已将 index0,index1 区间中的索引插入数据模型中之后发送。  | 
 void | 
ListDataListener.intervalRemoved(ListDataEvent e)
在已将 index0,index1 区间中的索引从数据模型中移除后发送。  | 
| javax.swing.plaf.basic 中 ListDataEvent 的使用 | 
|---|
| 参数类型为 ListDataEvent 的 javax.swing.plaf.basic 中的方法 | |
|---|---|
 void | 
BasicListUI.ListDataHandler.contentsChanged(ListDataEvent e)
 | 
 void | 
BasicComboPopup.ListDataHandler.contentsChanged(ListDataEvent e)
 | 
 void | 
BasicComboBoxUI.ListDataHandler.contentsChanged(ListDataEvent e)
 | 
 void | 
BasicDirectoryModel.intervalAdded(ListDataEvent e)
废弃,不使用。  | 
 void | 
BasicListUI.ListDataHandler.intervalAdded(ListDataEvent e)
 | 
 void | 
BasicComboPopup.ListDataHandler.intervalAdded(ListDataEvent e)
 | 
 void | 
BasicComboBoxUI.ListDataHandler.intervalAdded(ListDataEvent e)
 | 
 void | 
BasicDirectoryModel.intervalRemoved(ListDataEvent e)
废弃,不使用。  | 
 void | 
BasicListUI.ListDataHandler.intervalRemoved(ListDataEvent e)
 | 
 void | 
BasicComboPopup.ListDataHandler.intervalRemoved(ListDataEvent e)
 | 
 void | 
BasicComboBoxUI.ListDataHandler.intervalRemoved(ListDataEvent e)
 | 
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。