Xj3D 2.0 VRML/X3D Code API

org.xj3d.ui.awt.widgets
Class VRMLFileFilter

java.lang.Object
  extended by javax.swing.filechooser.FileFilter
      extended by org.xj3d.ui.awt.widgets.VRMLFileFilter

public class VRMLFileFilter
extends javax.swing.filechooser.FileFilter

File filter for restricting files to VRML types.

Version:
$Revision: 1.2 $
Author:
Alan Hudson

Constructor Summary
VRMLFileFilter()
          Create a new file filter for just VRML types.
 
Method Summary
 boolean accept(java.io.File f)
          Should we accept this file
 java.lang.String getDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VRMLFileFilter

public VRMLFileFilter()
Create a new file filter for just VRML types.

Method Detail

accept

public boolean accept(java.io.File f)
Should we accept this file

Specified by:
accept in class javax.swing.filechooser.FileFilter
Parameters:
f - The file to test
Returns:
true if acceptable

getDescription

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

Xj3D 2.0 VRML/X3D Code API

Copyright © 2001 - 2006 Web3D Consortium