javax.swing.plaf.basic

Class BasicFileChooserUI.AcceptAllFileFilter

protected class BasicFileChooserUI.AcceptAllFileFilter extends FileFilter

A file filter that accepts all files.
Constructor Summary
AcceptAllFileFilter()
Creates a new instance.
Method Summary
booleanaccept(File f)
Returns true always, as all files are accepted by this filter.
StringgetDescription()
Returns a description for this filter.

Constructor Detail

AcceptAllFileFilter

public AcceptAllFileFilter()
Creates a new instance.

Method Detail

accept

public boolean accept(File f)
Returns true always, as all files are accepted by this filter.

Parameters: f the file.

Returns: Always true.

getDescription

public String getDescription()
Returns a description for this filter.

Returns: A description for the file filter.