Documentation of 'visad.util.FormFileFilter' Java class
FormFileFilter
visad.util

Class FormFileFilter

  • All Implemented Interfaces:
    java.io.FileFilter, java.lang.Comparable


    public class FormFileFilter
    extends javax.swing.filechooser.FileFilter
    implements java.io.FileFilter, java.lang.Comparable
    A file filter based on a file form adapter's isThisType(String) method, for use with a JFileChooser.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FormFileFilter(FormFileInformer form, java.lang.String description)
      Constructs a new filter that accepts the given extension.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean accept(java.io.File f)
      Accepts files with the proper extensions.
      int compareTo(java.lang.Object o)
      Compares two FileFilter objects alphanumerically.
      java.lang.String getDescription()
      return the filter's description
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormFileFilter

        public FormFileFilter(FormFileInformer form,
                              java.lang.String description)
        Constructs a new filter that accepts the given extension.
    • Method Detail

      • accept

        public boolean accept(java.io.File f)
        Accepts files with the proper extensions.
        Specified by:
        accept in interface java.io.FileFilter
        Specified by:
        accept in class javax.swing.filechooser.FileFilter
      • getDescription

        public java.lang.String getDescription()
        return the filter's description
        Specified by:
        getDescription in class javax.swing.filechooser.FileFilter
      • compareTo

        public int compareTo(java.lang.Object o)
        Compares two FileFilter objects alphanumerically.
        Specified by:
        compareTo in interface java.lang.Comparable

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.