|
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。