info.aduna.linkmap.action
Class LinkMapAction
java.lang.Object
javax.swing.AbstractAction
info.aduna.linkmap.action.LinkMapAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- ExportAction, OpenGraphAction, PreferencesAction, SaveGraphAction, ToggleShowingDirectionsAction, ToggleShowingNamesAction, ToggleShowingObjectWeightsAction, ToggleShowingTypesAction, ZoomInAction, ZoomNormalAction, ZoomOutAction, ZoomToFitAction
public abstract class LinkMapAction
- extends AbstractAction
LinkMapAction serves as a basis for Actions on a LinkMap. It provides three
variables, a constructor and corresponding get methods that are likely to be
needed by all Actions operating on a 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 |
LinkMapAction
public LinkMapAction(LinkMap map,
Component parent,
String name,
Icon icon)
- Create a new LinkMapAction for the specified LinkMap.
- Parameters:
map - The LinkMap on which the Action is applied.parent - The parent Component that can be used as parent for, e.g.,
JFileChoosers.name - The name of this LinkMapAction. This may be null.icon - The icon of this LinkMapAction. This may be null.
getMap
public LinkMap getMap()
getParent
public Component getParent()
Copyright © 1997-2008 Aduna. All Rights Reserved.