|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
protected class BasicFileChooserUI.BasicFileView
| 欄位摘要 | |
|---|---|
protected Hashtable<File,Icon> |
iconCache
|
| 建構子摘要 | |
|---|---|
BasicFileChooserUI.BasicFileView()
|
|
| 方法摘要 | |
|---|---|
void |
cacheIcon(File f,
Icon i)
|
void |
clearIconCache()
|
Icon |
getCachedIcon(File f)
|
String |
getDescription(File f)
檔案的可讀描述。 |
Icon |
getIcon(File f)
表示 JFileChooser 中此檔案的圖標。 |
String |
getName(File f)
檔案名稱。 |
String |
getTypeDescription(File f)
檔案型別的可讀描述。 |
Boolean |
isHidden(File f)
|
| 從類別 javax.swing.filechooser.FileView 繼承的方法 |
|---|
isTraversable |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 欄位詳細資訊 |
|---|
protected Hashtable<File,Icon> iconCache
| 建構子詳細資訊 |
|---|
public BasicFileChooserUI.BasicFileView()
| 方法詳細資訊 |
|---|
public void clearIconCache()
public String getName(File f)
FileView 複製的描述f.getName()。
FileView 中的 getNamepublic String getDescription(File f)
FileView 複製的描述
FileView 中的 getDescriptionpublic String getTypeDescription(File f)
FileView 複製的描述jpg 檔案可能有這樣一個型別描述:"A JPEG Compressed Image File"
FileView 中的 getTypeDescriptionpublic Icon getCachedIcon(File f)
public void cacheIcon(File f,
Icon i)
public Icon getIcon(File f)
FileView 複製的描述JFileChooser 中此檔案的圖標。
FileView 中的 getIconpublic Boolean isHidden(File f)
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。