public abstract class GenericGraphAction extends BaseAction
Modifier and Type | Field and Description |
---|---|
protected Graph<?,?> |
graph |
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
GenericGraphAction(Graph<?,?> graph,
String name,
ImageIcon icon,
String tooltip,
KeyStroke accelerator,
ServiceGUI serviceGUI) |
GenericGraphAction(Graph<?,?> graph,
String name,
ServiceGUI serviceGUI) |
GenericGraphAction(Graph<?,?> graph,
String name,
String tooltip,
ServiceGUI serviceGUI) |
getIcon, getWeight, setWeight
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
protected final Graph<?,?> graph
public GenericGraphAction(Graph<?,?> graph, String name, ServiceGUI serviceGUI)
public GenericGraphAction(Graph<?,?> graph, String name, String tooltip, ServiceGUI serviceGUI)
name
- Entry to insert in the menutooltip
- Long description of the actionpublic GenericGraphAction(Graph<?,?> graph, String name, ImageIcon icon, String tooltip, KeyStroke accelerator, ServiceGUI serviceGUI)
name
- Entry to insert in the menuicon
- icon image for menu and toolbartooltip
- Long description of the actionaccelerator
- the keyboard bytecutCopyright © 2005–2020. All rights reserved.