javax.swing.filechooser
4 classes of the module java.desktop.
Load them with:
using {
"javax.swing.filechooser"
}
FilechooserFileFilter#
abstract · extends Object · javax.swing.filechooser.FileFilter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
accept | accept(f) | boolean accept(File f) |
getDescription | getDescription() | String getDescription() |
The methods and fields of Object are inherited.
FileNameExtensionFilter#
class final · extends FilechooserFileFilter · javax.swing.filechooser.FileNameExtensionFilter
Constructors
new FileNameExtensionFilter(String description, String[] extensions) |
Ring: new FileNameExtensionFilter(args) uses the constructor with the fewest parameters (at least one); new FileNameExtensionFilter makes the object with the constructor without parameters; the others: (new FileNameExtensionFilter).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getExtensions | getExtensions() | String[] getExtensions() |
The methods and fields of FilechooserFileFilter are inherited.
FileSystemView#
abstract · extends Object · javax.swing.filechooser.FileSystemView
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createFileObject | createFileObject(path)createFileObject([dir,filename])createFileObject([ :dir = v, :filename = v ]) | File createFileObject(String path)File createFileObject(File dir, String filename) |
createNewFolder | createNewFolder(containingDir) | File createNewFolder(File containingDir) |
getChild | getChild(parent,fileName) | File getChild(File parent, String fileName) |
getChooserComboBoxFiles | getChooserComboBoxFiles() | File[] getChooserComboBoxFiles() |
getChooserShortcutPanelFiles | getChooserShortcutPanelFiles() | File[] getChooserShortcutPanelFiles() |
getDefaultDirectory | getDefaultDirectory() | File getDefaultDirectory() |
getFiles | getFiles(dir,useFileHiding) | File[] getFiles(File dir, boolean useFileHiding) |
getFileSystemView | getFileSystemView() | static FileSystemView getFileSystemView() |
getHomeDirectory | getHomeDirectory() | File getHomeDirectory() |
getLinkLocation | getLinkLocation(file) | File getLinkLocation(File file) |
getParentDirectory | getParentDirectory(dir) | File getParentDirectory(File dir) |
getRoots | getRoots() | File[] getRoots() |
getSystemDisplayName | getSystemDisplayName(f) | String getSystemDisplayName(File f) |
getSystemIcon | getSystemIcon(f)getSystemIcon([f,width,height])getSystemIcon([ :f = v, :width = v, :height = v ]) | Icon getSystemIcon(File f)Icon getSystemIcon(File f, int width, int height) |
getSystemTypeDescription | getSystemTypeDescription(f) | String getSystemTypeDescription(File f) |
isComputerNode | isComputerNode(dir) | boolean isComputerNode(File dir) |
isDrive | isDrive(dir) | boolean isDrive(File dir) |
isFileSystem | isFileSystem(f) | boolean isFileSystem(File f) |
isFileSystemRoot | isFileSystemRoot(dir) | boolean isFileSystemRoot(File dir) |
isFloppyDrive | isFloppyDrive(dir) | boolean isFloppyDrive(File dir) |
isHiddenFile | isHiddenFile(f) | boolean isHiddenFile(File f) |
isLink | isLink(file) | boolean isLink(File file) |
isParent | isParent(folder,file) | boolean isParent(File folder, File file) |
isRoot | isRoot(f) | boolean isRoot(File f) |
isTraversable | isTraversable(f) | Boolean isTraversable(File f) |
The methods and fields of Object are inherited.
FileView#
abstract · extends Object · javax.swing.filechooser.FileView
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDescription | getDescription(f) | String getDescription(File f) |
getIcon | getIcon(f) | Icon getIcon(File f) |
getName | getName(f) | String getName(File f) |
getTypeDescription | getTypeDescription(f) | String getTypeDescription(File f) |
isTraversable | isTraversable(f) | Boolean isTraversable(File f) |
The methods and fields of Object are inherited.