pt.moredata.dataentry.action
Class DummyAction

java.lang.Object
  extended bypt.moredata.dataentry.action.DummyAction
All Implemented Interfaces:
Action

public class DummyAction
extends java.lang.Object
implements Action

Dummy Action class that does nothing. Company MoreData

Version:
$Revision: 1.1 $
Author:
pcarmo

Constructor Summary
DummyAction()
           
 
Method Summary
 ResponseMessage actionPerformed(ActionEvent event)
          Invoked when an action occurs.
 boolean isEnabled()
          Returns the enabled state of the Action.
 void setEnabled(boolean b)
          Sets the enabled state of the Action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyAction

public DummyAction()
Method Detail

actionPerformed

public ResponseMessage actionPerformed(ActionEvent event)
Invoked when an action occurs.

Specified by:
actionPerformed in interface Action
Parameters:
event - Description of the Parameter
Returns:
Description of the Return Value

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.

Specified by:
isEnabled in interface Action
Returns:
true if this Action is enabled

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.

Specified by:
setEnabled in interface Action
Parameters:
b - true to enable this Action, false to disable it