|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileSystemView
gui.DatabaseSystemView
public class DatabaseSystemView
| Constructor Summary | |
|---|---|
DatabaseSystemView(java.io.File root)
Extends the FileSystemView (disables navigation through directories) |
|
| Method Summary | |
|---|---|
java.io.File |
createNewFolder(java.io.File containingDir)
Enables the possibility for creating a new folder |
java.io.File |
getDefaultDirectory()
|
java.io.File |
getHomeDirectory()
|
java.io.File |
getParentDirectory(java.io.File dir)
Returns the parent directory |
java.io.File[] |
getRoots()
|
| Methods inherited from class javax.swing.filechooser.FileSystemView |
|---|
createFileObject, createFileObject, getChild, getFiles, getFileSystemView, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isParent, isRoot, isTraversable |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DatabaseSystemView(java.io.File root)
root - File| Method Detail |
|---|
public java.io.File getParentDirectory(java.io.File dir)
getParentDirectory in class javax.swing.filechooser.FileSystemViewdir - File
public java.io.File createNewFolder(java.io.File containingDir)
createNewFolder in class javax.swing.filechooser.FileSystemViewcontainingDir - File
public java.io.File getDefaultDirectory()
getDefaultDirectory in class javax.swing.filechooser.FileSystemViewpublic java.io.File getHomeDirectory()
getHomeDirectory in class javax.swing.filechooser.FileSystemViewpublic java.io.File[] getRoots()
getRoots in class javax.swing.filechooser.FileSystemView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||