abbot.script
Class ScriptFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by abbot.script.ScriptFilter

public class ScriptFilter
extends FileFilter


Constructor Summary
ScriptFilter()
           
 
Method Summary
 boolean accept(File file)
          Indicate whether the given file should appear in the browser.
 String getDescription()
          Indicate the combo box entry used to describe files of this type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptFilter

public ScriptFilter()
Method Detail

accept

public boolean accept(File file)
Indicate whether the given file should appear in the browser.

Specified by:
accept in class FileFilter

getDescription

public String getDescription()
Indicate the combo box entry used to describe files of this type.

Specified by:
getDescription in class FileFilter


Copyright © 2002-2008 Timothy Wall. All Rights Reserved.
Abbot is hosted on

SourceForge