org.wcb.autohome.util
Class OpenFileDialog

java.lang.Object
  extended byorg.wcb.autohome.util.OpenFileDialog

public class OpenFileDialog
extends java.lang.Object

This is a simple file open dialog, which uses a filter to only show .x10 file extensions.


Constructor Summary
OpenFileDialog()
          Constructor to create and show a open file dialog with only .x10 files showing as default.
 
Method Summary
 java.lang.String getFilePath()
          Gets the file path directory from the open file dialog
 boolean isFileSelected()
          If a file was selected this returns a true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenFileDialog

public OpenFileDialog()
Constructor to create and show a open file dialog with only .x10 files showing as default.

Method Detail

getFilePath

public java.lang.String getFilePath()
Gets the file path directory from the open file dialog

Returns:
String of the filepath.

isFileSelected

public boolean isFileSelected()
If a file was selected this returns a true.

Returns:
true file was selected else a false


Copyright © 1999-2004 Walter Bogaardt. All Rights Reserved.