BasicFileChooserUI
, MultiFileChooserUI
public abstract class FileChooserUI extends ComponentUI
JFileChooser
.Modifier | Constructor | Description |
---|---|---|
protected |
Constructor for subclasses to call. |
Modifier and Type | Method | Description |
---|---|---|
abstract void |
ensureFileIsVisible |
Ensure the file in question is visible. |
abstract FileFilter |
getAcceptAllFileFilter |
Returns an accept-all file filter. |
abstract String |
getApproveButtonText |
Returns approve button text. |
JButton |
getDefaultButton |
Returns default button for current LookAndFeel . |
abstract String |
getDialogTitle |
Returns the dialog title. |
abstract FileView |
getFileView |
Returns a file view. |
abstract void |
rescanCurrentDirectory |
Rescan the current directory. |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected FileChooserUI()
public abstract FileFilter getAcceptAllFileFilter(JFileChooser fc)
fc
- the file chooserpublic abstract FileView getFileView(JFileChooser fc)
fc
- the file chooserpublic abstract String getApproveButtonText(JFileChooser fc)
fc
- the file chooserpublic abstract String getDialogTitle(JFileChooser fc)
fc
- the file chooserpublic abstract void rescanCurrentDirectory(JFileChooser fc)
fc
- the file chooserpublic abstract void ensureFileIsVisible(JFileChooser fc, File f)
fc
- the file chooserf
- the filepublic JButton getDefaultButton(JFileChooser fc)
LookAndFeel
. JFileChooser
will use this button as default button for dialog windows.fc
- the JFileChooser
whose default button is requested
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/FileChooserUI.html