| 
Java™ Platform Standard Ed. 6  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileView
javax.swing.plaf.basic.BasicFileChooserUI.BasicFileView
protected class BasicFileChooserUI.BasicFileView
| Field Summary | |
|---|---|
protected  Hashtable<File,Icon> | 
iconCache
 | 
| Constructor Summary | |
|---|---|
BasicFileChooserUI.BasicFileView()
 | 
|
| Method Summary | |
|---|---|
 void | 
cacheIcon(File f,
          Icon i)
 | 
 void | 
clearIconCache()
 | 
 Icon | 
getCachedIcon(File f)
 | 
 String | 
getDescription(File f)
A human readable description of the file.  | 
 Icon | 
getIcon(File f)
The icon that represents this file in the JFileChooser. | 
 String | 
getName(File f)
The name of the file.  | 
 String | 
getTypeDescription(File f)
A human readable description of the type of the file.  | 
 Boolean | 
isHidden(File f)
 | 
| Methods inherited from class javax.swing.filechooser.FileView | 
|---|
isTraversable | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected Hashtable<File,Icon> iconCache
| Constructor Detail | 
|---|
public BasicFileChooserUI.BasicFileView()
| Method Detail | 
|---|
public void clearIconCache()
public String getName(File f)
FileViewf.getName().
getName in class FileViewpublic String getDescription(File f)
FileView
getDescription in class FileViewpublic String getTypeDescription(File f)
FileViewjpg file might have a type description of:
 "A JPEG Compressed Image File"
getTypeDescription in class FileViewpublic Icon getCachedIcon(File f)
public void cacheIcon(File f,
                      Icon i)
public Icon getIcon(File f)
FileViewJFileChooser.
getIcon in class FileViewpublic Boolean isHidden(File f)
  | 
Java™ Platform Standard Ed. 6  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.