info.aduna.linkmap.action
Class OpenGraphAction
java.lang.Object
javax.swing.AbstractAction
info.aduna.linkmap.action.LinkMapAction
info.aduna.linkmap.action.OpenGraphAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class OpenGraphAction
- extends LinkMapAction
OpenGraphAction is a LinkMapAction that offers the user the ability to open a
Graph XML file that will be displayed in the LinkMap.
- 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 |
open(File file)
Loads the Graph contained in the specified File and deals with any
Exceptions that may occur. |
OpenGraphAction
public OpenGraphAction(LinkMap map,
Component parent)
actionPerformed
public void actionPerformed(ActionEvent e)
- Creates the JFileChooser if it not already exist and makes it visible.
open
public void open(File file)
- Loads the Graph contained in the specified File and deals with any
Exceptions that may occur.
Copyright © 1997-2008 Aduna. All Rights Reserved.