|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.filechooser.FileFilter
org.xj3d.ui.awt.widgets.SelectableFileFilter
public class SelectableFileFilter
File filter for restricting files to any arbitrary types set.
| Constructor Summary | |
|---|---|
SelectableFileFilter(java.lang.String[] extensions,
java.lang.String description)
Create a new selectable filter for a collection of extensions, and a given description. |
|
| Method Summary | |
|---|---|
boolean |
accept(java.io.File f)
Should we accept this file |
java.lang.String |
getDescription()
The description of this filter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SelectableFileFilter(java.lang.String[] extensions,
java.lang.String description)
extensions - A non-null array of extensions to process fordescription - An arbitrary description string| Method Detail |
|---|
public boolean accept(java.io.File f)
accept in class javax.swing.filechooser.FileFilterf - The file to test
public java.lang.String getDescription()
getDescription in class javax.swing.filechooser.FileFilter
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||