|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.plaf.basic.BasicListUI.PropertyChangeHandler
public class BasicListUI.PropertyChangeHandler
在 installUI 時添加到 JList 的 PropertyChangeListener。當影響佈局的 JList 屬性的值更改時,需要在 updateLayoutStateNeeded 中設置一個位。此外,如果 JList 模型更改,還需要從舊模型中移除偵聽器。對於 JList selectionModel 也是如此。
警告:此類別的序列化物件將與以後的 Swing 版本不相容。當前的序列化支持適用於短期存儲或運行相同 Swing 版本的應用程序之間的 RMI。從 1.4 版本開始,已在 java.beans 套件中添加了支持所有 JavaBeansTM 長期存儲的功能。請參見 XMLEncoder。
BasicListUI.maybeUpdateLayoutState(),
BasicListUI.createPropertyChangeListener(),
BasicListUI.installUI(javax.swing.JComponent)| 建構子摘要 | |
|---|---|
BasicListUI.PropertyChangeHandler()
|
|
| 方法摘要 | |
|---|---|
void |
propertyChange(PropertyChangeEvent e)
在綁定屬性發生更改時調用此方法。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public BasicListUI.PropertyChangeHandler()
| 方法詳細資訊 |
|---|
public void propertyChange(PropertyChangeEvent e)
PropertyChangeListener 複製的描述
PropertyChangeListener 中的 propertyChangee - 描述事件源和已更改屬性的 PropertyChangeEvent 物件。
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。