com.iternum.swlink
Interface Action

All Known Implementing Classes:
AbstractAction

public interface Action

Action when link activates. This class describes an action that is executed by a link when the link is activated.

Author:
Karl F. Banke

Method Summary
 void close()
          Close this target action and remove its relationships.
 boolean isReentrant()
           
 void perform(java.lang.Object pSource, java.lang.Object pTarget, java.lang.Object pArgs)
           
 void setActionParam(java.util.Map pParam)
           
 void setReentrant(boolean pIsReentrant)
           
 

Method Detail

perform

public void perform(java.lang.Object pSource,
                    java.lang.Object pTarget,
                    java.lang.Object pArgs)
Parameters:
pSource - The object that is the source of the link
pTarget - The object that is the target of the link
pArgs - Any additional arguments on the link activation - this may be null

close

public void close()
Close this target action and remove its relationships.


isReentrant

public boolean isReentrant()
Returns:
Returns true if this action isReentrant.

setReentrant

public void setReentrant(boolean pIsReentrant)
Parameters:
pIsReentrant - The isReentrant to set.

setActionParam

public void setActionParam(java.util.Map pParam)
Parameters:
pParam - A java.util.Map containing parametrization data for this action