|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter com.alee.utils.filefilter.AbstractFileFilter com.alee.utils.filefilter.ImageFilesFilter
public class ImageFilesFilter
Custom file filter that accepts only image files.
Field Summary | |
---|---|
static javax.swing.ImageIcon |
ICON
Filter icon. |
Constructor Summary | |
---|---|
ImageFilesFilter()
|
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 |
Field Detail |
---|
public static final javax.swing.ImageIcon ICON
Constructor Detail |
---|
public ImageFilesFilter()
Method Detail |
---|
public javax.swing.ImageIcon getIcon()
getIcon
in class AbstractFileFilter
public java.lang.String getDescription()
getDescription
in class AbstractFileFilter
public boolean accept(java.io.File file)
accept
in interface Filter<java.io.File>
accept
in interface java.io.FileFilter
accept
in class AbstractFileFilter
file
- file to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |