public class BasicVFSFileChooserUI.BasicVFSFileView extends AbstractVFSFileView
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.apache.commons.vfs2.FileObject,Icon> |
iconCache |
| Constructor and Description |
|---|
BasicVFSFileView() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheIcon(org.apache.commons.vfs2.FileObject f,
Icon i) |
void |
clearIconCache() |
Icon |
getCachedIcon(org.apache.commons.vfs2.FileObject f) |
String |
getDescription(org.apache.commons.vfs2.FileObject f)
A human readable description of the file.
|
Icon |
getIcon(org.apache.commons.vfs2.FileObject f)
The icon that represents this file in the
JFileChooser. |
String |
getName(org.apache.commons.vfs2.FileObject f)
The name of the file.
|
String |
getTypeDescription(org.apache.commons.vfs2.FileObject f)
A human readable description of the type of the file.
|
Boolean |
isHidden(org.apache.commons.vfs2.FileObject f) |
isTraversablepublic void clearIconCache()
public String getName(org.apache.commons.vfs2.FileObject f)
AbstractVFSFileViewf.getName().getName in class AbstractVFSFileViewpublic String getDescription(org.apache.commons.vfs2.FileObject f)
AbstractVFSFileViewgetDescription in class AbstractVFSFileViewpublic String getTypeDescription(org.apache.commons.vfs2.FileObject f)
AbstractVFSFileViewjpg file might have a type description of:
"A JPEG Compressed Image File"getTypeDescription in class AbstractVFSFileViewpublic Icon getCachedIcon(org.apache.commons.vfs2.FileObject f)
public void cacheIcon(org.apache.commons.vfs2.FileObject f,
Icon i)
public Icon getIcon(org.apache.commons.vfs2.FileObject f)
AbstractVFSFileViewJFileChooser.getIcon in class AbstractVFSFileViewpublic Boolean isHidden(org.apache.commons.vfs2.FileObject f)
Copyright © 2020. All rights reserved.