| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicListUI.ListDataHandler
public class BasicListUI.ListDataHandler
在 installUI 时和只要 JList.model 属性更改时就要添加到 JList 模型的 ListDataListener。
警告:此类的序列化对象将与以后的 Swing 版本不兼容。当前的序列化支持适用于短期存储或运行相同 Swing 版本的应用程序之间的 RMI。从 1.4 版本开始,已在 java.beans 包中添加了支持所有 JavaBeansTM 长期存储的功能。请参见 XMLEncoder。
JList.getModel(), 
BasicListUI.maybeUpdateLayoutState(), 
BasicListUI.createListDataListener(), 
BasicListUI.installUI(javax.swing.JComponent)| 构造方法摘要 | |
|---|---|
| BasicListUI.ListDataHandler() | |
| 方法摘要 | |
|---|---|
|  void | contentsChanged(ListDataEvent e)在列表的内容以某种太过复杂以至用以前的方法难以描述的方式发生更改时发送。 | 
|  void | intervalAdded(ListDataEvent e)在已将 index0,index1 区间中的索引插入数据模型中之后发送。 | 
|  void | intervalRemoved(ListDataEvent e)在已将 index0,index1 区间中的索引从数据模型中移除后发送。 | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
public BasicListUI.ListDataHandler()
| 方法详细信息 | 
|---|
public void intervalAdded(ListDataEvent e)
ListDataListener 复制的描述
ListDataListener 中的 intervalAddede - 封装事件信息的 ListDataEventpublic void intervalRemoved(ListDataEvent e)
ListDataListener 复制的描述
ListDataListener 中的 intervalRemovede - 封装事件信息的 ListDataEventpublic void contentsChanged(ListDataEvent e)
ListDataListener 复制的描述
ListDataListener 中的 contentsChangede - 封装事件信息的 ListDataEvent| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。