|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
com.cosylab.gui.components.customizer.ImageFilter
public abstract class ImageFilter
ImageFilter is a file filter for common image files.
This filter can be used by a JFileChooser and will filter out
all but png, jpg and jpeg files.
| Constructor Summary | |
|---|---|
ImageFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
This is the one of the methods that is declared in the abstract class |
java.lang.String |
getDescription()
Again, this is declared in the abstract class The description of this filter |
protected java.lang.String |
getExtension(java.io.File f)
Method to get the extension of the file, in lowercase |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageFilter()
| Method Detail |
|---|
public boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterprotected java.lang.String getExtension(java.io.File f)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||