util
Class SimpleTextEditor.SimpleFilter

java.lang.Object
  |
  +--javax.swing.filechooser.FileFilter
        |
        +--util.SimpleTextEditor.SimpleFilter
Enclosing class:
SimpleTextEditor

protected class SimpleTextEditor.SimpleFilter
extends javax.swing.filechooser.FileFilter


Field Summary
(package private)  java.lang.String des
           
(package private)  java.lang.String type
           
 
Constructor Summary
SimpleTextEditor.SimpleFilter(java.lang.String type, java.lang.String des)
           
 
Method Summary
 boolean accept(java.io.File f)
           
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

java.lang.String type

des

java.lang.String des
Constructor Detail

SimpleTextEditor.SimpleFilter

public SimpleTextEditor.SimpleFilter(java.lang.String type,
                                     java.lang.String des)
Method Detail

accept

public boolean accept(java.io.File f)
Specified by:
accept in class javax.swing.filechooser.FileFilter

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in class javax.swing.filechooser.FileFilter