planetj.dataengine.display
Class RowAction

java.lang.Object
  |
  +--planetj.dataengine.display.AbstractAction
        |
        +--planetj.dataengine.display.RowAction
All Implemented Interfaces:
IRowAction

public abstract class RowAction
extends AbstractAction
implements IRowAction

A RowAction is an action that is to be performed on a given Row.


Field Summary
 
Fields inherited from class planetj.dataengine.display.AbstractAction
DEFAULT_TYPE
 
Fields inherited from interface planetj.dataengine.display.IRowAction
TYPE
 
Constructor Summary
RowAction()
           
 
Method Summary
 String getType()
          All subclasses are of the RowAction's type
 Object handleAction(Object o)
          Ensure given object to perform action on is a Row.
abstract  Object handleRowAction(Row row)
          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
 

Constructor Detail

RowAction

public RowAction()
Method Detail

getType

public String getType()
All subclasses are of the RowAction's type

Overrides:
getType in class AbstractAction

handleAction

public Object handleAction(Object o)
Ensure given object to perform action on is a Row.

Specified by:
handleAction in class AbstractAction
Parameters:
o - Object to perform the action on

handleRowAction

public abstract Object handleRowAction(Row row)
Subclasses need to provide logic to handle the action they wish to perform.

Parameters:
row - Row to perform action on