public abstract class ToolAction extends BaseAction
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 |
---|
ToolAction(String name,
ImageIcon icon,
String tooltip,
KeyStroke accelerator,
ServiceGUI serviceGUI) |
ToolAction(String name,
ServiceGUI serviceGUI) |
ToolAction(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
public ToolAction(String name, ServiceGUI serviceGUI)
public ToolAction(String name, String tooltip, ServiceGUI serviceGUI)
name
- Entry to insert in the menutooltip
- Long description of the actionpublic ToolAction(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.