|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
com.c5corp.c5viewUi.DemFileFilter
public class DemFileFilter
This class extends the abstract class javax.swing.filechooser.FileFilter it is used to filter .dem and .DEM extensions in the JFileChooser It also implements the same logic as a java.io.FileFilter.
FileFilter| Constructor Summary | |
|---|---|
DemFileFilter()
Constructor |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
implements java.io.FileFilter.accept(File f) to specify the file filter |
boolean |
FileFilteraccept(java.io.File f)
Overrides javax.swing.filechooser.FileFilter.accept(File f) to specify the file filter for the JFileChooser |
java.lang.String |
getDescription()
description of the file types |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DemFileFilter()
| Method Detail |
|---|
public boolean FileFilteraccept(java.io.File f)
f - the File
public boolean accept(java.io.File f)
accept in interface java.io.FileFilteraccept 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 | ||||||||