public class ActionProxy 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 |
---|
ActionProxy(PluginProxy pluginProxy,
Action action)
Create the Proxy
|
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) |
public ActionProxy(PluginProxy pluginProxy, Action action)
pluginProxy
- PluginProxy to useaction
- Action that gets a better Error-Handlingpublic void setEnabled(boolean b)
setEnabled
in interface Action
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface Action
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface Action
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)