RingJavafor Ring

javax.swing.filechooser

4 classes of the module java.desktop.

Load them with:

using {
	"javax.swing.filechooser"
}

All packages

FilechooserFileFilter#

abstract · extends Object · javax.swing.filechooser.FileFilter

Methods

MethodRing callJava overloads
acceptaccept(f)boolean accept(File f)
getDescriptiongetDescription()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

MethodRing callJava overloads
getExtensionsgetExtensions()String[] getExtensions()

The methods and fields of FilechooserFileFilter are inherited.

FileSystemView#

abstract · extends Object · javax.swing.filechooser.FileSystemView

Methods

MethodRing callJava overloads
createFileObjectcreateFileObject(path)
createFileObject([dir,filename])
createFileObject([ :dir = v, :filename = v ])
File createFileObject(String path)
File createFileObject(File dir, String filename)
createNewFoldercreateNewFolder(containingDir)File createNewFolder(File containingDir)
getChildgetChild(parent,fileName)File getChild(File parent, String fileName)
getChooserComboBoxFilesgetChooserComboBoxFiles()File[] getChooserComboBoxFiles()
getChooserShortcutPanelFilesgetChooserShortcutPanelFiles()File[] getChooserShortcutPanelFiles()
getDefaultDirectorygetDefaultDirectory()File getDefaultDirectory()
getFilesgetFiles(dir,useFileHiding)File[] getFiles(File dir, boolean useFileHiding)
getFileSystemViewgetFileSystemView()static FileSystemView getFileSystemView()
getHomeDirectorygetHomeDirectory()File getHomeDirectory()
getLinkLocationgetLinkLocation(file)File getLinkLocation(File file)
getParentDirectorygetParentDirectory(dir)File getParentDirectory(File dir)
getRootsgetRoots()File[] getRoots()
getSystemDisplayNamegetSystemDisplayName(f)String getSystemDisplayName(File f)
getSystemIcongetSystemIcon(f)
getSystemIcon([f,width,height])
getSystemIcon([ :f = v, :width = v, :height = v ])
Icon getSystemIcon(File f)
Icon getSystemIcon(File f, int width, int height)
getSystemTypeDescriptiongetSystemTypeDescription(f)String getSystemTypeDescription(File f)
isComputerNodeisComputerNode(dir)boolean isComputerNode(File dir)
isDriveisDrive(dir)boolean isDrive(File dir)
isFileSystemisFileSystem(f)boolean isFileSystem(File f)
isFileSystemRootisFileSystemRoot(dir)boolean isFileSystemRoot(File dir)
isFloppyDriveisFloppyDrive(dir)boolean isFloppyDrive(File dir)
isHiddenFileisHiddenFile(f)boolean isHiddenFile(File f)
isLinkisLink(file)boolean isLink(File file)
isParentisParent(folder,file)boolean isParent(File folder, File file)
isRootisRoot(f)boolean isRoot(File f)
isTraversableisTraversable(f)Boolean isTraversable(File f)

The methods and fields of Object are inherited.

FileView#

abstract · extends Object · javax.swing.filechooser.FileView

Methods

MethodRing callJava overloads
getDescriptiongetDescription(f)String getDescription(File f)
getIcongetIcon(f)Icon getIcon(File f)
getNamegetName(f)String getName(File f)
getTypeDescriptiongetTypeDescription(f)String getTypeDescription(File f)
isTraversableisTraversable(f)Boolean isTraversable(File f)

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.