Package ipsk.swing.filechooser
Class RestrictDirectoryFileSystemView
- java.lang.Object
-
- javax.swing.filechooser.FileSystemView
-
- ipsk.swing.filechooser.RestrictDirectoryFileSystemView
-
public class RestrictDirectoryFileSystemView extends javax.swing.filechooser.FileSystemView- Author:
- klausj
-
-
Constructor Summary
Constructors Constructor Description RestrictDirectoryFileSystemView(java.io.File[] roots)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilecreateNewFolder(java.io.File arg0)java.io.FilegetDefaultDirectory()java.io.FilegetHomeDirectory()java.io.File[]getRoots()booleanisRoot(java.io.File file)-
Methods inherited from class javax.swing.filechooser.FileSystemView
createFileObject, createFileObject, createFileSystemRoot, getChild, getChooserComboBoxFiles, getFiles, getFileSystemView, getLinkLocation, getParentDirectory, getSystemDisplayName, getSystemIcon, getSystemTypeDescription, isComputerNode, isDrive, isFileSystem, isFileSystemRoot, isFloppyDrive, isHiddenFile, isLink, isParent, isTraversable
-
-
-
-
Method Detail
-
createNewFolder
public java.io.File createNewFolder(java.io.File arg0) throws java.io.IOException- Specified by:
createNewFolderin classjavax.swing.filechooser.FileSystemView- Throws:
java.io.IOException
-
getDefaultDirectory
public java.io.File getDefaultDirectory()
- Overrides:
getDefaultDirectoryin classjavax.swing.filechooser.FileSystemView
-
getHomeDirectory
public java.io.File getHomeDirectory()
- Overrides:
getHomeDirectoryin classjavax.swing.filechooser.FileSystemView
-
getRoots
public java.io.File[] getRoots()
- Overrides:
getRootsin classjavax.swing.filechooser.FileSystemView
-
isRoot
public boolean isRoot(java.io.File file)
- Overrides:
isRootin classjavax.swing.filechooser.FileSystemView
-
-