public class ActionWrapper extends org.softsmithy.lib.awt.event.ActionListenerWrapper implements Action
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 |
---|
ActionWrapper(Action action) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener propertyChangeListener) |
Object |
getValue(String string) |
boolean |
isEnabled() |
void |
putValue(String string,
Object object) |
void |
removePropertyChangeListener(PropertyChangeListener propertyChangeListener) |
void |
setEnabled(boolean isEnabled) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionPerformed
public ActionWrapper(Action action)
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)
addPropertyChangeListener
in interface Action
public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
removePropertyChangeListener
in interface Action
public void setEnabled(boolean isEnabled)
setEnabled
in interface Action
Copyright © 2012–2015 SoftSmithy. All rights reserved.