public abstract class NamedAction extends AbstractAction
changeSupport, enabledACCELERATOR_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 |
|---|
NamedAction(String key) |
NamedAction(String key,
Class cls) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
action(ActionEvent e) |
void |
actionPerformed(ActionEvent e) |
protected static String |
getStr(String key,
Class cls) |
protected void |
init(String key,
Class cls) |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic NamedAction(String key)
protected static String getStr(String key, Class cls) throws MissingResourceException
MissingResourceExceptionpublic void actionPerformed(ActionEvent e)
protected abstract void action(ActionEvent e) throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutExceptionCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.