public class ActionDecorator extends Object 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 |
---|
ActionDecorator(Action pDelegate) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent pEvt) |
void |
addPropertyChangeListener(PropertyChangeListener pListener) |
Object |
getValue(String pKey) |
boolean |
isEnabled() |
void |
putValue(String pKey,
Object pVal) |
void |
removePropertyChangeListener(PropertyChangeListener pListener) |
void |
setEnabled(boolean pEnabled) |
public ActionDecorator(Action pDelegate)
public void actionPerformed(ActionEvent pEvt)
actionPerformed
in interface ActionListener
public void setEnabled(boolean pEnabled)
setEnabled
in interface Action
public void addPropertyChangeListener(PropertyChangeListener pListener)
addPropertyChangeListener
in interface Action
public void removePropertyChangeListener(PropertyChangeListener pListener)
removePropertyChangeListener
in interface Action
Copyright © 2023. All rights reserved.