|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.filechooser.FileFilter easik.ui.menu.TexFileFilter
public class TexFileFilter
Filter for file browsing dialogs to ensure that only .xml files are accepted.
Constructor Summary | |
---|---|
TexFileFilter()
|
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Overloaded method, checks the file to see if it ends with .tex and returns true. |
java.lang.String |
getDescription()
The description of this filter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TexFileFilter()
Method Detail |
---|
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
file
- The file being considered
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 |