|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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)
FileView
f.getName()
.
getName
in class FileView
public String getDescription(File f)
FileView
getDescription
in class FileView
public String getTypeDescription(File f)
FileView
jpg
file might have a type description of:
"A JPEG Compressed Image File"
getTypeDescription
in class FileView
public Icon getCachedIcon(File f)
public void cacheIcon(File f, Icon i)
public Icon getIcon(File f)
FileView
JFileChooser
.
getIcon
in class FileView
public 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.