|
TrueZIP File* 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileSystemView
de.schlichtherle.truezip.file.swing.TDecoratingFileSystemView
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class TDecoratingFileSystemView
A decorator for a file system view.
| Field Summary | |
|---|---|
protected FileSystemView |
delegate
The decorated file system view. |
| Constructor Summary | |
|---|---|
protected |
TDecoratingFileSystemView(FileSystemView fileSystemView)
Creates a new decorating file system view. |
| Method Summary | |
|---|---|
File |
createFileObject(File dir,
String filename)
|
File |
createFileObject(String path)
|
protected File |
createFileSystemRoot(File f)
The implementation in the class TDecoratingFileSystemView
determines if the delegate is an instance of this class. |
File |
createNewFolder(File containingDir)
|
File |
getChild(File parent,
String fileName)
|
File |
getDefaultDirectory()
|
File[] |
getFiles(File dir,
boolean useFileHiding)
|
File |
getHomeDirectory()
|
File |
getParentDirectory(File dir)
|
File[] |
getRoots()
|
String |
getSystemDisplayName(File f)
|
Icon |
getSystemIcon(File f)
|
String |
getSystemTypeDescription(File f)
|
boolean |
isComputerNode(File dir)
|
boolean |
isDrive(File dir)
|
boolean |
isFileSystem(File f)
|
boolean |
isFileSystemRoot(File dir)
|
boolean |
isFloppyDrive(File dir)
|
boolean |
isHiddenFile(File f)
|
boolean |
isParent(File folder,
File file)
|
boolean |
isRoot(File f)
|
Boolean |
isTraversable(File f)
|
String |
toString()
Returns a string representation of this object for debugging and logging purposes. |
| Methods inherited from class javax.swing.filechooser.FileSystemView |
|---|
getFileSystemView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final FileSystemView delegate
| Constructor Detail |
|---|
protected TDecoratingFileSystemView(FileSystemView fileSystemView)
fileSystemView - the file system view to decorate.| Method Detail |
|---|
public boolean isRoot(File f)
isRoot in class FileSystemViewpublic Boolean isTraversable(File f)
isTraversable in class FileSystemViewpublic String getSystemDisplayName(File f)
getSystemDisplayName in class FileSystemViewpublic String getSystemTypeDescription(File f)
getSystemTypeDescription in class FileSystemViewpublic Icon getSystemIcon(File f)
getSystemIcon in class FileSystemView
public boolean isParent(File folder,
File file)
isParent in class FileSystemView
public File getChild(File parent,
String fileName)
getChild in class FileSystemViewpublic boolean isFileSystem(File f)
isFileSystem in class FileSystemView
public File createNewFolder(File containingDir)
throws IOException
createNewFolder in class FileSystemViewIOExceptionpublic boolean isHiddenFile(File f)
isHiddenFile in class FileSystemViewpublic boolean isFileSystemRoot(File dir)
isFileSystemRoot in class FileSystemViewpublic boolean isDrive(File dir)
isDrive in class FileSystemViewpublic boolean isFloppyDrive(File dir)
isFloppyDrive in class FileSystemViewpublic boolean isComputerNode(File dir)
isComputerNode in class FileSystemViewpublic File[] getRoots()
getRoots in class FileSystemViewpublic File getHomeDirectory()
getHomeDirectory in class FileSystemViewpublic File getDefaultDirectory()
getDefaultDirectory in class FileSystemView
public File createFileObject(File dir,
String filename)
createFileObject in class FileSystemViewpublic File createFileObject(String path)
createFileObject in class FileSystemView
public File[] getFiles(File dir,
boolean useFileHiding)
getFiles in class FileSystemViewpublic File getParentDirectory(File dir)
getParentDirectory in class FileSystemViewprotected File createFileSystemRoot(File f)
The implementation in the class TDecoratingFileSystemView
determines if the delegate is an instance of this class.
If this is true, then this method forwards the call to the delegate.
Otherwise, the implementation of the super class is called.
createFileSystemRoot in class FileSystemViewpublic String toString()
toString in class Object
|
TrueZIP File* 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||