|
||||||||||
| 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.FileIOChartFilter
public class FileIOChartFilter
Support class for FileIO. Provides star chart data file type selection for users of the file chooser in FileIO.
| Field Summary | |
|---|---|
static int |
ANY
|
static int |
CHART
|
| Constructor Summary | |
|---|---|
FileIOChartFilter()
Filter to select any file kind. |
|
FileIOChartFilter(int aKind)
Filter to select a specific file kind. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
Whether the filter can accept the given file. |
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 CHART
| Constructor Detail |
|---|
public FileIOChartFilter()
public FileIOChartFilter(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.FileFilter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||