pt.moredata.dataentry.action
Interface Action

All Known Implementing Classes:
AbstractAction, DummyAction, TestAction

public interface Action

Version:
$Revision: 1.3 $
Author:
pcarmo

Method Summary
 ResponseMessage actionPerformed(ActionEvent event)
          Description of the Method
 boolean isEnabled()
          Returns the enabled state of the Action.
 void setEnabled(boolean b)
          Sets the enabled state of the Action.
 

Method Detail

setEnabled

public void setEnabled(boolean b)
Sets the enabled state of the Action. When enabled, any component associated with this object is active and able to fire this object's actionPerformed method. If the value has changed, a PropertyChangeEvent is sent to listeners.

Parameters:
b - true to enable this Action, false to disable it

isEnabled

public boolean isEnabled()
Returns the enabled state of the Action. When enabled, any component associated with this object is active and able to fire this object's actionPerformed method.

Returns:
true if this Action is enabled

actionPerformed

public ResponseMessage actionPerformed(ActionEvent event)
Description of the Method

Parameters:
event - Description of the Parameter
Returns:
Description of the Return Value