| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.plaf.metal.MetalFileChooserUI.FilterComboBoxModel
protected class MetalFileChooserUI.FilterComboBoxModel
字體選擇組合框的資料模型。
| 欄位摘要 | |
|---|---|
| protected  FileFilter[] | filters | 
| 從類別 javax.swing.AbstractListModel 繼承的欄位 | 
|---|
| listenerList | 
| 建構子摘要 | |
|---|---|
| protected  | MetalFileChooserUI.FilterComboBoxModel() | 
| 方法摘要 | |
|---|---|
|  Object | getElementAt(int index)返回指定索引處的值。 | 
|  Object | getSelectedItem()返回選擇的項 | 
|  int | getSize()返回列表的長度。 | 
|  void | propertyChange(PropertyChangeEvent e)在綁定屬性發生更改時調用此方法。 | 
|  void | setSelectedItem(Object filter)設置選擇項。 | 
| 從類別 javax.swing.AbstractListModel 繼承的方法 | 
|---|
| addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener | 
| 從類別 java.lang.Object 繼承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| 從介面 javax.swing.ListModel 繼承的方法 | 
|---|
| addListDataListener, removeListDataListener | 
| 欄位詳細資訊 | 
|---|
protected FileFilter[] filters
| 建構子詳細資訊 | 
|---|
protected MetalFileChooserUI.FilterComboBoxModel()
| 方法詳細資訊 | 
|---|
public void propertyChange(PropertyChangeEvent e)
PropertyChangeListener 複製的描述
PropertyChangeListener 中的 propertyChangee - 描述事件源和已更改屬性的 PropertyChangeEvent 物件。public void setSelectedItem(Object filter)
ComboBoxModel 複製的描述ListDataListener 內容已更改。
ComboBoxModel 中的 setSelectedItemfilter - 要選擇的列表物件,為 null 表示清除選擇public Object getSelectedItem()
ComboBoxModel 複製的描述
ComboBoxModel 中的 getSelectedItemnullpublic int getSize()
ListModel 複製的描述
ListModel 中的 getSizepublic Object getElementAt(int index)
ListModel 複製的描述
ListModel 中的 getElementAtindex - 請求的索引
index 處的值| 
 | JavaTM 2 Platform Standard Ed. 6 | |||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。