protected static class JSVGViewerFrame.ImageFileFilter
extends javax.swing.filechooser.FileFilter
| Modifier and Type | Field | Description |
|---|---|---|
protected java.lang.String |
extension |
The extension of the image filename.
|
| Constructor | Description |
|---|---|
ImageFileFilter(java.lang.String extension) |
| Modifier and Type | Method | 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.FileFilterCopyright ? 2018 Apache Software Foundation. All Rights Reserved.