public abstract class FileChooserUI extends ComponentUI
JFileChooser.| Constructor and Description |
|---|
FileChooserUI() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
ensureFileIsVisible(JFileChooser fc,
File f)
Ensure the file in question is visible.
|
abstract FileFilter |
getAcceptAllFileFilter(JFileChooser fc)
Returns an accept-all file filter.
|
abstract String |
getApproveButtonText(JFileChooser fc)
Returns approve button text.
|
JButton |
getDefaultButton(JFileChooser fc)
Returns default button for current
LookAndFeel. |
abstract String |
getDialogTitle(JFileChooser fc)
Returns the dialog title.
|
abstract FileView |
getFileView(JFileChooser fc)
Returns a file view.
|
abstract void |
rescanCurrentDirectory(JFileChooser fc)
Rescan the current directory.
|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, updatepublic 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 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, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait