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