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.FileFilter
A FileFilter used when exporting the SVG document as an image.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
extension
The 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 boolean
accept(java.io.File f)
Returns true iff
is a file with the correct extension, false otherwise.java.lang.String
getDescription()
Returns the file description
-
-
-
Method Detail
-
accept
public boolean accept(java.io.File f)
Returns true iff
is a file with the correct extension, false otherwise.- Specified by:
accept
in classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()
Returns the file description- Specified by:
getDescription
in classjavax.swing.filechooser.FileFilter
-
-