org.wcb.autohome.util
Class SaveFileDialog

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

public class SaveFileDialog
extends java.lang.Object

Copyright (C) 1999 Walter Bogaardt This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 Project: Alice X10 Home Automation $Log: SaveFileDialog.java,v $ Revision 1.2 2004/02/25 21:41:38 wbogaardt fixed formating to checkstyle standard Revision 1.1 2003/12/30 21:20:17 wbogaardt added new file saving dialog to actually save files in .x10 extension.


Constructor Summary
SaveFileDialog()
          Allows saving of file using the default X10File filter this means that the file will be saved with .x10 extension.
 
Method Summary
 java.lang.String getFilePath()
          gets the file path of the file and appends the .x10 extension
 boolean isFileSelected()
          Determins that a file name was entered or selected.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveFileDialog

public SaveFileDialog()
Allows saving of file using the default X10File filter this means that the file will be saved with .x10 extension.

Method Detail

getFilePath

public java.lang.String getFilePath()
gets the file path of the file and appends the .x10 extension

Returns:
file with .x10 extension

isFileSelected

public boolean isFileSelected()
Determins that a file name was entered or selected.

Returns:
true indicates file was selected.


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