NASA World Wind

gov.nasa.worldwind.applications.sar
Class SaveTrackDialog

java.lang.Object
  extended by gov.nasa.worldwind.applications.sar.SaveTrackDialog

public class SaveTrackDialog
extends Object


Field Summary
static int APPROVE_OPTION
           
static int CANCEL_OPTION
           
static int ERROR_OPTION
           
 
Constructor Summary
SaveTrackDialog()
           
 
Method Summary
 File getCurrentDirectory()
           
 String getDialogTitle()
           
 int getFileFormat()
           
 File getSelectedFile()
           
 boolean isSaveAnnotations()
           
 void setCurrentDirectory(File dir)
           
 void setDialogTitle(SARTrack track)
           
 void setDialogTitle(String dialogTitle)
           
 void setFileFormat(int format)
           
 void setFileFormat(SARTrack track)
           
 void setSaveAnnotations(boolean saveAnnotations)
           
 void setSelectedFile(File file)
           
 void setSelectedFile(SARTrack track)
           
static int showOverwritePrompt(Component parent, String title, String message, File file)
           
static int showSaveChangesPrompt(Component parent, String title, String message, SARTrack track)
           
 int showSaveDialog(Component parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPROVE_OPTION

public static final int APPROVE_OPTION
See Also:
Constant Field Values

CANCEL_OPTION

public static final int CANCEL_OPTION
See Also:
Constant Field Values

ERROR_OPTION

public static final int ERROR_OPTION
See Also:
Constant Field Values
Constructor Detail

SaveTrackDialog

public SaveTrackDialog()
Method Detail

getCurrentDirectory

public File getCurrentDirectory()

getDialogTitle

public String getDialogTitle()

getFileFormat

public int getFileFormat()

getSelectedFile

public File getSelectedFile()

isSaveAnnotations

public boolean isSaveAnnotations()

setCurrentDirectory

public void setCurrentDirectory(File dir)

setDialogTitle

public void setDialogTitle(SARTrack track)

setDialogTitle

public void setDialogTitle(String dialogTitle)

setFileFormat

public void setFileFormat(int format)

setFileFormat

public void setFileFormat(SARTrack track)

setSaveAnnotations

public void setSaveAnnotations(boolean saveAnnotations)

setSelectedFile

public void setSelectedFile(File file)

setSelectedFile

public void setSelectedFile(SARTrack track)

showOverwritePrompt

public static int showOverwritePrompt(Component parent,
                                      String title,
                                      String message,
                                      File file)

showSaveChangesPrompt

public static int showSaveChangesPrompt(Component parent,
                                        String title,
                                        String message,
                                        SARTrack track)

showSaveDialog

public int showSaveDialog(Component parent)
                   throws HeadlessException
Throws:
HeadlessException

NASA World Wind