|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
GridView.ImageFilter
class ImageFilter
Filter class for image files (for screenshots). Currently accepts JPG, PNG, GIF and BMP file extensions.
| Constructor Summary | |
|---|---|
ImageFilter()
Class constructor. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
Accept JPG, PNG, GIF and BMP file types. |
java.lang.String |
getDescription()
Get a description of this filter (shows in File Type box). |
| 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.FileFilterf - Selected 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 | ||||||||