|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
net.grelf.grip.FileIOImageFilter
public class FileIOImageFilter
Support class for FileIO. Provides image file type selection for users of the file chooser in FileIO.
| Field Summary | |
|---|---|
static int |
ACCUM
|
static int |
ANY
|
static int |
BMP
|
static int |
GIF
|
static int |
JPG
|
static int |
PNG
|
static int |
RAW
|
static int |
TIF
|
| Constructor Summary | |
|---|---|
FileIOImageFilter()
Filter to select any image kind for which we have JAI plug-ins. |
|
FileIOImageFilter(int aKind)
Filter to select a specific image kind. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
Whether the filter can accept the given file. |
static java.lang.String[] |
getAllKnownExtensions()
|
java.lang.String |
getDescription()
Get a concise description of what the filter can accept. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ANY
public static final int BMP
public static final int GIF
public static final int JPG
public static final int PNG
public static final int TIF
public static final int RAW
public static final int ACCUM
| Constructor Detail |
|---|
public FileIOImageFilter()
public FileIOImageFilter(int aKind)
| 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.FileFilterpublic static java.lang.String[] getAllKnownExtensions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||