org.lyra.Interface
Class AlbumArtPanel.ImageFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.lyra.Interface.AlbumArtPanel.ImageFilter
- Enclosing class:
- AlbumArtPanel
public class AlbumArtPanel.ImageFilter
- extends javax.swing.filechooser.FileFilter
Creates a filter element that we can use to restrict the amount of
file choices a user will see. Since we have limited file support it
was opted to list those we wish to support.
- Author:
- Martin Foster
Field Summary |
private java.util.Set<java.lang.String> |
Extensions
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Extensions
private java.util.Set<java.lang.String> Extensions
AlbumArtPanel.ImageFilter
public AlbumArtPanel.ImageFilter()
accept
public boolean accept(java.io.File f)
- Specified by:
accept
in class javax.swing.filechooser.FileFilter
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in class javax.swing.filechooser.FileFilter