com.quinncurtis.chart3djava
Class ImageFileChooser

java.lang.Object
  extended by com.quinncurtis.chart3djava.ImageFileChooser

public class ImageFileChooser
extends java.lang.Object

A utility class used in the dialogs that select image files.


Nested Class Summary
 class ImageFileChooser.ImageFilter
          File filter class for image files
 class ImageFileChooser.Utils
          Utility class for ImageFileChooser
 
Constructor Summary
ImageFileChooser(java.awt.Component component)
          Image file chooser constructor
 
Method Summary
 java.lang.String getSelectedFilename()
          Returns the selected filename.
 boolean process(java.lang.String filename)
          Invoke the dialog.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageFileChooser

public ImageFileChooser(java.awt.Component component)
Image file chooser constructor

Parameters:
component - component
Method Detail

getSelectedFilename

public java.lang.String getSelectedFilename()
Returns the selected filename.

Returns:
Returns the selected filename.

process

public boolean process(java.lang.String filename)
Invoke the dialog.

Parameters:
filename - filename
Returns:
Returns true if the file selected.