public abstract class LayoutAction<G extends Graph<?,?>> extends BaseAction
Modifier and Type | Field and Description |
---|---|
G |
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 |
---|
LayoutAction(G graph,
String name) |
LayoutAction(G graph,
String name,
ImageIcon icon,
String tooltip,
KeyStroke accelerator) |
LayoutAction(G graph,
String name,
String tooltip) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent arg) |
abstract void |
doLayout(ActionEvent arg) |
getIcon, getWeight, setWeight
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public LayoutAction(G graph, String name, String tooltip)
name
- Entry to insert in the menutooltip
- Long description of the actionpublic void actionPerformed(ActionEvent arg)
public abstract void doLayout(ActionEvent arg)
Copyright © 2005–2020. All rights reserved.