public class SaveTrackDialog extends Object
Modifier and Type | Field and Description |
---|---|
static int |
APPROVE_OPTION |
static int |
CANCEL_OPTION |
static int |
ERROR_OPTION |
Constructor and Description |
---|
SaveTrackDialog() |
Modifier and Type | Method and Description |
---|---|
File |
getCurrentDirectory() |
String |
getDialogTitle() |
int |
getFileFormat() |
File |
getSelectedFile() |
SaveTrackFilter |
getSelectedSaveFilter() |
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) |
public static final int APPROVE_OPTION
public static final int CANCEL_OPTION
public static final int ERROR_OPTION
public File getCurrentDirectory()
public String getDialogTitle()
public int getFileFormat()
public File getSelectedFile()
public SaveTrackFilter getSelectedSaveFilter()
public boolean isSaveAnnotations()
public void setCurrentDirectory(File dir)
public void setDialogTitle(SARTrack track)
public void setDialogTitle(String dialogTitle)
public void setFileFormat(int format)
public void setFileFormat(SARTrack track)
public void setSaveAnnotations(boolean saveAnnotations)
public void setSelectedFile(File file)
public void setSelectedFile(SARTrack track)
public static int showOverwritePrompt(Component parent, String title, String message, File file)
public static int showSaveChangesPrompt(Component parent, String title, String message, SARTrack track)
public int showSaveDialog(Component parent) throws HeadlessException
HeadlessException