planetj.dataengine.display
Class AbstractAction

java.lang.Object
  |
  +--planetj.dataengine.display.AbstractAction
Direct Known Subclasses:
ReflectAction, RowAction

public abstract class AbstractAction
extends Object

An Action contains logic to carry out some action on an Object.

Author:
PlanetJ Corporation

Field Summary
static String DEFAULT_TYPE
          Type of action subclasses are.
 
Constructor Summary
AbstractAction()
           
 
Method Summary
 String getType()
          Subclasses may override if necessary.
abstract  Object handleAction(Object o)
          Subclasses need to provide logic to handle the action they wish to perform.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TYPE

public static final String DEFAULT_TYPE
Type of action subclasses are.

See Also:
Constant Field Values
Constructor Detail

AbstractAction

public AbstractAction()
Method Detail

getType

public String getType()
Subclasses may override if necessary. Doing so will allow subclasses to have their own distinct property group descriptors.


handleAction

public abstract Object handleAction(Object o)
                             throws Throwable
Subclasses need to provide logic to handle the action they wish to perform.

Parameters:
o - Object to perform the action on
Throwable