com.alee.laf.filechooser
Class WebFileChooserPanel.HiddenFilesFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by com.alee.utils.filefilter.AbstractFileFilter
          extended by com.alee.utils.filefilter.NonHiddenFilter
              extended by com.alee.laf.filechooser.WebFileChooserPanel.HiddenFilesFilter
All Implemented Interfaces:
Filter<java.io.File>, java.io.FileFilter
Enclosing class:
WebFileChooserPanel

protected class WebFileChooserPanel.HiddenFilesFilter
extends NonHiddenFilter

Custom hidden/non-hidden files filter.


Field Summary
 
Fields inherited from class com.alee.utils.filefilter.NonHiddenFilter
ICON
 
Constructor Summary
protected WebFileChooserPanel.HiddenFilesFilter()
           
 
Method Summary
 boolean accept(java.io.File file)
          Returns whether the given file is accepted by this filter or not.
 java.lang.String getDescription()
          Returns short file filter description.
 javax.swing.ImageIcon getIcon()
          Returns file filter icon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebFileChooserPanel.HiddenFilesFilter

protected WebFileChooserPanel.HiddenFilesFilter()
Method Detail

getIcon

public javax.swing.ImageIcon getIcon()
Returns file filter icon.

Overrides:
getIcon in class NonHiddenFilter
Returns:
file filter icon

getDescription

public java.lang.String getDescription()
Returns short file filter description.

Overrides:
getDescription in class NonHiddenFilter
Returns:
short file filter description

accept

public boolean accept(java.io.File file)
Returns whether the given file is accepted by this filter or not.

Specified by:
accept in interface Filter<java.io.File>
Specified by:
accept in interface java.io.FileFilter
Overrides:
accept in class NonHiddenFilter
Parameters:
file - file to process
Returns:
true if the given file is accepted by this filter, false otherwise