public abstract class FileChooserUI extends ComponentUI
JFileChooser.JFileChooser| Constructor and Description |
|---|
FileChooserUI()
Constructs a new
FileChooserUI. |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ensureFileIsVisible(javax.swing.JFileChooser chooser,
java.io.File file)
Ensures that a specified file is visible in the
JFileChooser |
abstract javax.swing.filechooser.FileFilter |
getAcceptAllFileFilter(javax.swing.JFileChooser chooser)
Returns a
FileFilter that accepts every file. |
abstract java.lang.String |
getApproveButtonText(javax.swing.JFileChooser chooser)
Determines which text is appropriate for the approve button
according to the design guidelines of the implemented
look and feel.
|
abstract java.lang.String |
getDialogTitle(javax.swing.JFileChooser chooser)
Determines which text is appropriate for the title bar of a
JFileChooser according to the design guidelines of
the implemented look and feel. |
abstract javax.swing.filechooser.FileView |
getFileView(javax.swing.JFileChooser chooser)
Returns a view to a file, which is able to retrieve its name,
icon, and other properties that are relevant for presenting
the file to the user.
|
abstract void |
rescanCurrentDirectory(javax.swing.JFileChooser chooser)
Refreshes the currently displayed directory.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, updatepublic FileChooserUI()
FileChooserUI.public abstract javax.swing.filechooser.FileFilter getAcceptAllFileFilter(javax.swing.JFileChooser chooser)
FileFilter that accepts every file. While
the filtering itself is not specific to any look and feel, the
text returned by FileFilter.getDescription() need
not be the same across all look and feels.chooser - the JFileChooser for which
a FileFilter is requested.JFileChooser.getAcceptAllFileFilter(),
FileFilter.getDescription()public abstract javax.swing.filechooser.FileView getFileView(javax.swing.JFileChooser chooser)
chooser - the JFileChooser for which
a FileFilter is requested.public abstract java.lang.String getApproveButtonText(javax.swing.JFileChooser chooser)
chooser - the JFileChooser whose
button text is requested.JFileChooser.getApproveButtonText()public abstract java.lang.String getDialogTitle(javax.swing.JFileChooser chooser)
JFileChooser according to the design guidelines of
the implemented look and feel.chooser - the JFileChooser whose
dialog title is requested.JFileChooser.getDialogTitle()public abstract void rescanCurrentDirectory(javax.swing.JFileChooser chooser)
chooser - the JFileChooser whose
dialog title needs re-scanning.public abstract void ensureFileIsVisible(javax.swing.JFileChooser chooser, java.io.File file)
JFileChooserchooser - the JFileChooser that
should display the file file.file - the file that needs to be made visible.