org.grinvin.list.actions
Class ExportGraphImage
FileSaveAction
org.grinvin.list.actions.ExportGraphImage
- ListSelectionListener
public class ExportGraphImage
extends FileSaveAction
implements ListSelectionListener
Exports a graph as an image
ExportGraphImage
public ExportGraphImage(Window parent,
GraphList graphList,
ListSelectionModel selectionModel)
saveFile
protected void saveFile(File file)
showFileExistsDialog
protected boolean showFileExistsDialog(File file)
Alert the user that a file with the chosen name already exists.
- true if the user allows the file to be overwritten.
valueChanged
public void valueChanged(ListSelectionEvent e)
void actionPerformed
public @Override void actionPerformed(ActionEvent e)