FileChooserUI
Class FileChooserUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.FileChooserUI
- Direct Known Subclasses:
- BasicFileChooserUI, MultiFileChooserUI
public abstract class FileChooserUI extends ComponentUI
Pluggable look and feel interface for JFileChooser
.
Constructors
FileChooserUI
public FileChooserUI()
Methods
getAcceptAllFileFilter
public abstract FileFilter getAcceptAllFileFilter(JFileChooser fc)
getFileView
public abstract FileView getFileView(JFileChooser fc)
getApproveButtonText
public abstract String getApproveButtonText(JFileChooser fc)
getDialogTitle
public abstract String getDialogTitle(JFileChooser fc)
rescanCurrentDirectory
public abstract void rescanCurrentDirectory(JFileChooser fc)
ensureFileIsVisible
public abstract void ensureFileIsVisible(JFileChooser fc, File f)
getDefaultButton
public JButton getDefaultButton(JFileChooser fc)
Returns default button for current LookAndFeel
. JFileChooser
will use this button as default button for dialog windows.
- Since:
- 1.7
© 1993–2017, 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.