|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.filechooser.FileFilter
JLogView_.utils.LGImageFilter
public class LGImageFilter
LGImageFilter is a FileFilter extension, that filters files only according to a particular image format.
Constructor Summary | |
---|---|
LGImageFilter(java.lang.String format)
This is the constructor, given the format it will filters file according to it. |
Method Summary | |
---|---|
boolean |
accept(java.io.File f)
This methods overriden from FileFilter tells how to accept a file given the details of the file. |
java.lang.String |
getDescription()
This method overriden from FileFilter return a String giving the description of what filtering is being done by this FileFilter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LGImageFilter(java.lang.String format)
format
- a String representing the image format.FileFilter
Method Detail |
---|
public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
f
- the File object having all the file details.File
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |