info.aduna.linkmap.action
Class SaveGraphAction
java.lang.Object
javax.swing.AbstractAction
info.aduna.linkmap.action.LinkMapAction
info.aduna.linkmap.action.SaveGraphAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class SaveGraphAction
- extends LinkMapAction
SaveGraphAction is a LinkMapAction that offers the user the ability to save
the Graph currently displayed in the LinkMap. This includes any information
obtained by post-processing the graph, such as calculating weights and
filtering Vertices and Edges.
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
|
Method Summary |
void |
actionPerformed(ActionEvent e)
Creates the JFileChooser if it not already exist and makes it visible. |
void |
save(File file)
Loads the MapModel indicated by the specified File and deals with any
Exceptions that may occur. |
SaveGraphAction
public SaveGraphAction(LinkMap map,
Component parent)
actionPerformed
public void actionPerformed(ActionEvent e)
- Creates the JFileChooser if it not already exist and makes it visible.
save
public void save(File file)
- Loads the MapModel indicated by the specified File and deals with any
Exceptions that may occur.
Copyright © 1997-2008 Aduna. All Rights Reserved.