public class ProxyAction extends Object implements Action
| Modifier and Type | Field and Description |
|---|---|
protected PropertyChangeSupport |
psupport |
protected Action |
target |
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 |
|---|
ProxyAction(Action target) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
Object |
getValue(String key) |
boolean |
isEnabled() |
void |
putValue(String key,
Object value) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setEnabled(boolean b) |
protected final Action target
protected final PropertyChangeSupport psupport
public ProxyAction(Action target)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface Actionpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface Actionpublic void setEnabled(boolean b)
setEnabled in interface Actionpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerCopyright © 2018. All rights reserved.