Class FileChooserUI

Direct Known Subclasses:
BasicFileChooserUI, MultiFileChooserUI

public abstract class FileChooserUI
extends ComponentUI

Pluggable look and feel interface for JFileChooser.

Constructors

Constructor and Description
FileChooserUI()

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 current LookAndFeel.

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

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

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, 2020, 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/javase/8/docs/api/javax/swing/plaf/FileChooserUI.html