org.apache.batik.apps.svgbrowser
protected static class JSVGViewerFrame.ImageFileFilter extends javax.swing.filechooser.FileFilter
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
extension
The extension of the image filename.
|
Constructor and Description |
---|
JSVGViewerFrame.ImageFileFilter(java.lang.String extension) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Returns true if f is a file with the correct extension,
false otherwise.
|
java.lang.String |
getDescription()
Returns the file description
|
public JSVGViewerFrame.ImageFileFilter(java.lang.String extension)
public boolean accept(java.io.File f)
accept
in class javax.swing.filechooser.FileFilter
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
Copyright ? 2008 Apache Software Foundation. All Rights Reserved.