Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mandarax.eca
Interface Action  view Action download Action.java

All Superinterfaces:
ECALog
All Known Implementing Classes:
AbstractAction

public interface Action
extends ECALog

Action interface. An action consists of:

  1. A target (an arbitrary object)
  2. A perform method representing a execution of the action.

Version:
0.1

Field Summary
 
Fields inherited from interface org.mandarax.eca.ECALog
LOG_ECA
 
Method Summary
 java.lang.Object getTarget()
          Get that target of the action.
 void perform(java.lang.Object[] parameters)
          Perform the action using the parameters.
 void setTarget(java.lang.Object obj)
          Set the action target.
 

Method Detail

setTarget

public void setTarget(java.lang.Object obj)
Set the action target.


getTarget

public java.lang.Object getTarget()
Get that target of the action.


perform

public void perform(java.lang.Object[] parameters)
             throws ActionException
Perform the action using the parameters.