Package ptolemy.vergil.modal.fmv
Class FmvAutomatonGraphFrame.SMVFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- ptolemy.vergil.modal.fmv.FmvAutomatonGraphFrame.SMVFileFilter
-
- Enclosing class:
- FmvAutomatonGraphFrame
protected static class FmvAutomatonGraphFrame.SMVFileFilter extends javax.swing.filechooser.FileFilterA file filter that accepts files that end with ".smv".
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSMVFileFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File file)Return true if the file name ends with ".smv".java.lang.StringgetDescription()Return the description of this file filter.
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File file)
Return true if the file name ends with ".smv".- Specified by:
acceptin classjavax.swing.filechooser.FileFilter- Parameters:
file- The file to be checked.- Returns:
- true if the file is a directory or the file name, when converted to lower case, ends with ".smv".
-
getDescription
public java.lang.String getDescription()
Return the description of this file filter.- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter- Returns:
- The description of this file filter.
-
-