Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.filechooser |
Contains classes and interfaces used by the
JFileChooser component. |
javax.swing.plaf |
Provides one interface and many abstract classes that
Swing uses to provide its pluggable look-and-feel capabilities.
|
javax.swing.plaf.basic |
Provides user interface objects built according to the
Basic look and feel.
|
javax.swing.plaf.metal |
Provides user interface objects built according to
the Java look and feel (once codenamed Metal),
which is the default look and feel.
|
javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
Modifier and Type | Method and Description |
---|---|
FileFilter |
JFileChooser.getAcceptAllFileFilter()
Returns the
AcceptAll file filter. |
FileFilter[] |
JFileChooser.getChoosableFileFilters()
Gets the list of user choosable file filters.
|
FileFilter |
JFileChooser.getFileFilter()
Returns the currently selected file filter.
|
Modifier and Type | Method and Description |
---|---|
void |
JFileChooser.addChoosableFileFilter(FileFilter filter)
Adds a filter to the list of user choosable file filters.
|
boolean |
JFileChooser.removeChoosableFileFilter(FileFilter f)
Removes a filter from the list of user choosable file filters.
|
void |
JFileChooser.setFileFilter(FileFilter filter)
Sets the current file filter.
|
Modifier and Type | Class and Description |
---|---|
class |
FileNameExtensionFilter
An implementation of
FileFilter that filters using a
specified set of extensions. |
Modifier and Type | Method and Description |
---|---|
abstract FileFilter |
FileChooserUI.getAcceptAllFileFilter(JFileChooser fc) |
Modifier and Type | Class and Description |
---|---|
protected class |
BasicFileChooserUI.AcceptAllFileFilter |
Modifier and Type | Method and Description |
---|---|
FileFilter |
BasicFileChooserUI.getAcceptAllFileFilter(JFileChooser fc)
Returns the default accept all file filter
|
Modifier and Type | Field and Description |
---|---|
protected FileFilter[] |
MetalFileChooserUI.FilterComboBoxModel.filters |
Modifier and Type | Method and Description |
---|---|
FileFilter |
MultiFileChooserUI.getAcceptAllFileFilter(JFileChooser a)
Invokes the
getAcceptAllFileFilter method on each UI handled by this object. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.