javax.swing.filechooser
public abstract class FileView extends Object
Constructor Summary | |
---|---|
FileView()
Creates a new FileView instance. |
Method Summary | |
---|---|
String | getDescription(File file)
Returns a description for the specified file. |
Icon | getIcon(File file)
Returns an {@link Icon} to represent the specified file. |
String | getName(File file)
Returns the name for the specified file. |
String | getTypeDescription(File file)
Returns a description for the type of the specified file. |
Boolean | isTraversable(File directory)
Returns {@link Boolean#TRUE} if the given directory is traversable, and
{@link Boolean#FALSE} if it is not. |
FileView
instance.null
and should be overridden by subclasses.
Parameters: file the file.
Returns: Always null
.
null
and should be overridden by subclasses.
Parameters: file the file.
Returns: Always null
.
null
and should be overridden by subclasses.
Parameters: file the file.
Returns: Always null
.
null
and should be overridden by subclasses.
Parameters: file the file.
Returns: Always null
.
null
and should be overridden by subclasses.
Parameters: directory the directory.
Returns: Always null
.