javax.swing.plaf.basic
Class BasicFileChooserUI.AcceptAllFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by javax.swing.plaf.basic.BasicFileChooserUI.AcceptAllFileFilter
Enclosing class:
BasicFileChooserUI

protected class BasicFileChooserUI.AcceptAllFileFilter
extends FileFilter

A file filter that accepts all files.


Constructor Summary
BasicFileChooserUI.AcceptAllFileFilter()
          Creates a new instance.
 
Method Summary
 boolean accept(File f)
          Returns true always, as all files are accepted by this filter.
 String getDescription()
          Returns a description for this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicFileChooserUI.AcceptAllFileFilter

public BasicFileChooserUI.AcceptAllFileFilter()
Creates a new instance.

Method Detail

accept

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

Specified by:
accept in class FileFilter
Parameters:
f - the file.
Returns:
Always true.

getDescription

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

Specified by:
getDescription in class FileFilter
Returns:
A description for the file filter.