|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.AbstractListModel
javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxModel
protected class MetalFileChooserUI.DirectoryComboBoxModel
字體選擇組合框的資料模型。
| 欄位摘要 |
|---|
| 從類別 javax.swing.AbstractListModel 繼承的欄位 |
|---|
listenerList |
| 建構子摘要 | |
|---|---|
MetalFileChooserUI.DirectoryComboBoxModel()
|
|
| 方法摘要 | |
|---|---|
int |
getDepth(int i)
|
Object |
getElementAt(int index)
返回指定索引處的值。 |
Object |
getSelectedItem()
返回選擇的項 |
int |
getSize()
返回列表的長度。 |
void |
setSelectedItem(Object selectedDirectory)
設置選擇項。 |
| 從類別 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 |
| 建構子詳細資訊 |
|---|
public MetalFileChooserUI.DirectoryComboBoxModel()
| 方法詳細資訊 |
|---|
public int getDepth(int i)
public void setSelectedItem(Object selectedDirectory)
ComboBoxModel 複製的描述ListDataListener 內容已更改。
ComboBoxModel 中的 setSelectedItemselectedDirectory - 要選擇的列表物件,為 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。