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 |
|---|
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 boolean accept(java.io.File f)
f is a file with the correct extension,
false otherwise.accept in class javax.swing.filechooser.FileFilterpublic java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter