- 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 forJFileChooser
.
-
-
Constructor Summary
Constructors Constructor and Description FileChooserUI()
-
Method Summary
Methods Modifier and Type Method and Description abstract void
ensureFileIsVisible(JFileChooser fc, File f)
abstract FileFilter
getAcceptAllFileFilter(JFileChooser fc)
abstract String
getApproveButtonText(JFileChooser fc)
JButton
getDefaultButton(JFileChooser fc)
Returns default button for currentLookAndFeel
.abstract String
getDialogTitle(JFileChooser fc)
abstract FileView
getFileView(JFileChooser fc)
abstract void
rescanCurrentDirectory(JFileChooser fc)
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
-
-
-
Method Detail
-
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 currentLookAndFeel
.JFileChooser
will use this button as default button for dialog windows.- Since:
- 1.7
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/plaf/FileChooserUI.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.