Package org.apache.batik.apps.svgbrowser
Class JSVGViewerFrame.ImageFileFilter
- java.lang.Object
-
- javax.swing.filechooser.FileFilter
-
- org.apache.batik.apps.svgbrowser.JSVGViewerFrame.ImageFileFilter
-
- Enclosing class:
- JSVGViewerFrame
protected static class JSVGViewerFrame.ImageFileFilter extends javax.swing.filechooser.FileFilterA FileFilter used when exporting the SVG document as an image.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringextensionThe extension of the image filename.
-
Constructor Summary
Constructors Constructor Description ImageFileFilter(java.lang.String extension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.io.File f)Returns true iffis a file with the correct extension, false otherwise.java.lang.StringgetDescription()Returns the file description
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File f)
Returns true iffis a file with the correct extension, false otherwise.- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()
Returns the file description- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-
-