|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.filechooser.FileFilter | +--javaprec.javaprec.ChooserFileFilter
SourceFileFilter - is a FileFilter that filters out all files except *.java files
Title: Runtime Java Class Editor - editor Package
Package Description: Edit & Select methods from all currently executing objects in enclosing programme
Copyright: James D Bloom Copyright (c) 2003
Field Summary | |
private java.lang.String |
extension
|
private java.lang.String |
fullDescription
|
Constructor Summary | |
javaprec.ChooserFileFilter()
Creates a file filter that accepts the given file type. |
|
javaprec.ChooserFileFilter(java.lang.String extension,
java.lang.String fullDescription)
Creates a file filter that accepts the given file type. |
Method Summary | |
boolean |
accept(java.io.File file)
Returns true if the file is a java source file, false if it shouldn't |
java.lang.String |
getDescription()
Returns the human readable description of this filter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String fullDescription
private java.lang.String extension
Constructor Detail |
public javaprec.ChooserFileFilter()
public javaprec.ChooserFileFilter(java.lang.String extension, java.lang.String fullDescription)
Method Detail |
public boolean accept(java.io.File file)
accept
in class javax.swing.filechooser.FileFilter
file
- input File
public java.lang.String getDescription()
getDescription
in class javax.swing.filechooser.FileFilter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |