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.FileFilterpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilterCopyright ? 2009 Apache Software Foundation. All Rights Reserved.