|
Quaqua 8.0 2011-10-02 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileSystemView
ch.randelshofer.quaqua.filechooser.FileSystemViewFilter
ch.randelshofer.quaqua.filechooser.QuaquaFileSystemView
ch.randelshofer.quaqua.leopard.filechooser.DarwinLeopardFileSystemView
public class DarwinLeopardFileSystemView
DarwinLeopardFileSystemView.
Field Summary |
---|
Fields inherited from class ch.randelshofer.quaqua.filechooser.FileSystemViewFilter |
---|
target |
Constructor Summary | |
---|---|
DarwinLeopardFileSystemView()
Creates a new instance. |
Method Summary | |
---|---|
java.io.File |
getChild(java.io.File parent,
java.lang.String fileName)
|
java.io.File |
getComputer()
Returns the file that represents this computer node. |
java.io.File |
getDefaultDirectory()
Return the user's default starting directory for the file chooser. |
java.io.File |
getSystemVolume()
Returns the file that represents the system (boot) volume of this computer. |
boolean |
isParent(java.io.File folder,
java.io.File file)
On Windows, a file can appear in multiple folders, other than its parent directory in the filesystem. |
Methods inherited from class ch.randelshofer.quaqua.filechooser.QuaquaFileSystemView |
---|
createFileView, getQuaquaFileSystemView, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isTraversable, setQuaquaFileSystemView |
Methods inherited from class ch.randelshofer.quaqua.filechooser.FileSystemViewFilter |
---|
createFileObject, createFileObject, createNewFolder, getFiles, getHomeDirectory, getParentDirectory, getRoots, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isRoot |
Methods inherited from class javax.swing.filechooser.FileSystemView |
---|
createFileSystemRoot, getFileSystemView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DarwinLeopardFileSystemView()
Method Detail |
---|
public java.io.File getComputer()
QuaquaFileSystemView
getComputer
in class QuaquaFileSystemView
public java.io.File getSystemVolume()
QuaquaFileSystemView
getSystemVolume
in class QuaquaFileSystemView
public boolean isParent(java.io.File folder, java.io.File file)
FileSystemViewFilter
isParent
in class FileSystemViewFilter
folder
- a File
object repesenting a directory or special folderfile
- a File
object
true
if folder
is a directory or special folder and contains file
.public java.io.File getChild(java.io.File parent, java.lang.String fileName)
getChild
in class FileSystemViewFilter
parent
- a File
object repesenting a directory or special folderfileName
- a name of a file or folder which exists in parent
new
File(parent, fileName)
except when parent and child are both
special folders, in which case the File
is a wrapper containing
a ShellFolder
object.public java.io.File getDefaultDirectory()
FileSystemViewFilter
getDefaultDirectory
in class FileSystemViewFilter
File
object representing the default
starting folder
|
Copyright 2003-2007 (c) Werner Randelshofer. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |