VjGUI
Class SuffixFilter

java.lang.Object
javax.swing.filechooser.FileFilter
VjGUI.SuffixFilter
- public class SuffixFilter
- extends javax.swing.filechooser.FileFilter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
java.lang.String name
suffixes
java.util.Vector suffixes
SuffixFilter
SuffixFilter(java.lang.String _name,
java.lang.String _suffix)
addSuffix
void addSuffix(java.lang.String _suffix)
accept
public boolean accept(java.io.File f)
- Description copied from class:
javax.swing.filechooser.FileFilter
- Returns
true if the specified file matches the filter, and
false otherwise.
getDescription
public java.lang.String getDescription()
- Description copied from class:
javax.swing.filechooser.FileFilter
- Returns a description of the files that will be selected by the filter
(for example, "Java source files"). This description will usually be
displayed on the javax.swing.JFileChooser component, often in a combo box that
is used to select the appropriate filter (in cases where more than one
filter is available).