com.tensegrity.palowebviewer.modules.widgets.client.actions
Class ActionProxy
java.lang.Object
com.tensegrity.palowebviewer.modules.widgets.client.actions.AbstractAction
com.tensegrity.palowebviewer.modules.widgets.client.actions.ActionProxy
- All Implemented Interfaces:
- IAction
public class ActionProxy
- extends AbstractAction
A proxy for an action. The base action can be changed and
listeners of the proxy actions will be notified of the change.
It is used to add to some widget(or few of them) and afterwords define actual action
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionProxy
public ActionProxy()
setAction
public void setAction(IAction action)
getAction
public IAction getAction()
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface IAction
- Overrides:
isEnabled
in class AbstractAction
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface IAction
- Overrides:
setEnabled
in class AbstractAction
onActionPerformed
public void onActionPerformed(java.lang.Object arg)