Package jaxx.runtime.swing.editor
Class FileEditorHandler.ExtentionFileFiler
java.lang.Object
javax.swing.filechooser.FileFilter
jaxx.runtime.swing.editor.FileEditorHandler.ExtentionFileFiler
- Enclosing class:
- FileEditorHandler
public static class FileEditorHandler.ExtentionFileFiler
extends javax.swing.filechooser.FileFilter
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringdesciptionprotected java.lang.Stringext -
Constructor Summary
Constructors Constructor Description ExtentionFileFiler(java.lang.String ext, java.lang.String desciption) -
Method Summary
Modifier and Type Method Description booleanaccept(java.io.File file)java.lang.StringgetDescription()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ext
protected java.lang.String ext -
desciption
protected java.lang.String desciption
-
-
Constructor Details
-
ExtentionFileFiler
public ExtentionFileFiler(java.lang.String ext, java.lang.String desciption)
-
-
Method Details
-
accept
public boolean accept(java.io.File file)- Specified by:
acceptin classjavax.swing.filechooser.FileFilter
-
getDescription
public java.lang.String getDescription()- Specified by:
getDescriptionin classjavax.swing.filechooser.FileFilter
-