org.lyra.Interface
Class AlbumArtPanel.ImageFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by 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
           
 
Constructor Summary
AlbumArtPanel.ImageFilter()
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Extensions

private java.util.Set<java.lang.String> Extensions
Constructor Detail

AlbumArtPanel.ImageFilter

public AlbumArtPanel.ImageFilter()
Method Detail

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