Package | Description |
---|---|
org.openide.filesystem.spi | |
org.openide.filesystems |
Modifier and Type | Method and Description |
---|---|
abstract FileChooserBuilder |
FileChooserBuilderProvider.createFileChooserBuilder(FileSystem fileSystem)
Provides FileChooserBuilder for the given file system.
|
abstract FileChooserBuilder |
FileChooserBuilderProvider.createFileChooserBuilder(FileSystem fileSystem,
String dirKey)
Provides FileChooserBuilder for the given file system.
|
Modifier and Type | Method and Description |
---|---|
FileChooserBuilder |
FileChooserBuilder.addDefaultFileFilters()
Add all default file filters to the file chooser.
|
FileChooserBuilder |
FileChooserBuilder.addFileFilter(FileFilter filter)
Equivalent to calling
JFileChooser.addChoosableFileFilter(filter) . |
static FileChooserBuilder |
FileChooserBuilder.create(FileSystem fileSystem)
Creates a new FileChooserBuilder which can interact with the given file system.
|
FileChooserBuilder |
FileChooserBuilder.forceUseOfDefaultWorkingDirectory(boolean val)
Force use of the failover directory - i.e.
|
FileChooserBuilder |
FileChooserBuilder.setAcceptAllFileFilterUsed(boolean accept)
Determines whether the
AcceptAll FileFilter is used
as an available choice in the choosable filter list. |
FileChooserBuilder |
FileChooserBuilder.setAccessibleDescription(String aDescription)
Set the accessible description for any file choosers created by this
builder
|
FileChooserBuilder |
FileChooserBuilder.setApproveText(String val)
Set the text on the OK button for any file chooser dialogs produced
by this builder.
|
FileChooserBuilder |
FileChooserBuilder.setBadgeProvider(FileChooserBuilder.BadgeProvider provider)
Provide an implementation of BadgeProvider which will "badge" the
icons of some files.
|
FileChooserBuilder |
FileChooserBuilder.setControlButtonsAreShown(boolean val)
Show/hide control buttons
|
FileChooserBuilder |
FileChooserBuilder.setDefaultWorkingDirectory(File dir)
Set the current directory which should be used only if
a last-used directory cannot be found for the key string passed
into this builder's constructor.
|
FileChooserBuilder |
FileChooserBuilder.setDirectoriesOnly(boolean val)
Set whether or not any file choosers created by this builder will show
only directories.
|
FileChooserBuilder |
FileChooserBuilder.setFileFilter(FileFilter filter)
Set a file filter which filters the list of selectable files.
|
FileChooserBuilder |
FileChooserBuilder.setFileHiding(boolean fileHiding)
Enable file hiding in any created file choosers
|
FileChooserBuilder |
FileChooserBuilder.setFilesOnly(boolean val) |
FileChooserBuilder |
FileChooserBuilder.setSelectionApprover(FileChooserBuilder.SelectionApprover approver)
Set a selection approver which can display an "Overwrite file?"
or similar dialog if necessary, when the user presses the accept button
in the file chooser dialog.
|
FileChooserBuilder |
FileChooserBuilder.setTitle(String val)
Set the dialog title for any JFileChoosers created by this builder.
|