|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectij.io.SaveDialog
public class SaveDialog
This class displays a dialog window from which the user can save a file.
| Constructor Summary | |
|---|---|
SaveDialog(String title,
String defaultName,
String extension)
Displays a file save dialog with 'title' as the title, 'defaultName' as the initial file name, and 'extension' (e.g. |
|
SaveDialog(String title,
String defaultDir,
String defaultName,
String extension)
Displays a file save dialog, using the specified default directory and file name and extension. |
|
| Method Summary | |
|---|---|
String |
getDirectory()
Returns the selected directory. |
String |
getFileName()
Returns the selected file name. |
static String |
setExtension(String name,
String extension)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SaveDialog(String title,
String defaultName,
String extension)
public SaveDialog(String title,
String defaultDir,
String defaultName,
String extension)
| Method Detail |
|---|
public static String setExtension(String name,
String extension)
public String getDirectory()
public String getFileName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||