tvbrowser.core.plugin
Class ActionProxy
java.lang.Object
tvbrowser.core.plugin.ActionProxy
- All Implemented Interfaces:
- ActionListener, EventListener, Action
public class ActionProxy
- extends Object
- implements Action
A ActionProxy handles Erros throwns by Plugins and enables the User to
deactivate those Plugins
- Author:
- bodum
| Fields inherited from interface javax.swing.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionProxy
public ActionProxy(PluginProxy pluginProxy,
Action action)
- Create the Proxy
- Parameters:
pluginProxy - PluginProxy to useaction - Action that gets a better Error-Handling
getValue
public Object getValue(String key)
- Specified by:
getValue in interface Action
putValue
public void putValue(String key,
Object value)
- Specified by:
putValue in interface Action
setEnabled
public void setEnabled(boolean b)
- Specified by:
setEnabled in interface Action
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled in interface Action
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface Action
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface Action
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed in interface ActionListener
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)