com.tensegrity.palowebviewer.modules.widgets.client.actions
Class AbstractAction

java.lang.Object
  extended by com.tensegrity.palowebviewer.modules.widgets.client.actions.AbstractAction
All Implemented Interfaces:
IAction
Direct Known Subclasses:
ActionProxy, XActionAdapter

public abstract class AbstractAction
extends java.lang.Object
implements IAction

Base implementation of methods that evry action must have.


Constructor Summary
AbstractAction()
           
 
Method Summary
 void addPropertyListener(IPropertyListener propertyListener)
           
 boolean isEnabled()
           
protected  void notifyPropertyChangeListeners()
           
 void removePropertyListener(IPropertyListener propertyListener)
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.tensegrity.palowebviewer.modules.widgets.client.actions.IAction
onActionPerformed
 

Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface IAction

addPropertyListener

public void addPropertyListener(IPropertyListener propertyListener)
Specified by:
addPropertyListener in interface IAction

removePropertyListener

public void removePropertyListener(IPropertyListener propertyListener)
Specified by:
removePropertyListener in interface IAction

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface IAction

notifyPropertyChangeListeners

protected void notifyPropertyChangeListeners()