com.jbbres.lib.actions.elements
Interface Action

All Superinterfaces:
Element
All Known Implementing Classes:
AbstractAction, SimpleAction, VariableAction

public interface Action
extends Element

An interface that specifies all methods essential to an Action(s)'s action. An implementation of Action has 5 major methods:

In order to make the creation of actions easier, two abstract class implementing the Action interface are provided for developpers: See AbstractAction and SimpleAction for more information.

For more information on how to create your own elements, consult the Action(s) Developer Guide or visit http://app.jbbres.com/actions/developers/.

Since:
1.0.0
Version:
1.0.0
Author:
Jean-Baptiste Bres
See Also:
Element

Method Summary
 ActionDescription getDescription()
          Returns the description of the element.
 ActionService getService()
          Returns the service associated to the element.
 java.awt.Component getUI()
          returns the User Interface displayed in the workflow definition panel in Action(s), and that user can use to define the settings of the action.
 
Methods inherited from interface com.jbbres.lib.actions.elements.Element
getParameters, setParameters
 

Method Detail

getService

ActionService getService()
Description copied from interface: Element
Returns the service associated to the element. The service describes how the element performs within the workflow. For example, if the element is an action, the service will contain the executable methods that the action is designed to perform. If the element is a variable, the service will contain methods related to data access.

Specified by:
getService in interface Element
Returns:
the service associated to the element.
See Also:
ElementService

getUI

java.awt.Component getUI()
returns the User Interface displayed in the workflow definition panel in Action(s), and that user can use to define the settings of the action.

Returns:
the User Interface displayed in the workflow definition panel

getDescription

ActionDescription getDescription()
Description copied from interface: Element
Returns the description of the element. The description is a dictionary derived from the element description, usually the information specified in the element information property list.

Specified by:
getDescription in interface Element
Returns:
the description of the element.
See Also:
ElementDescription


To file bugs or suggest feature enhancements, visit the app.jbbres.com Bug Reporter website.

Additional documentation available online at http://app.jbbres.com/actions/developers.

Copyright � 2009-2011 app.jbbres.com. All Rights Reserved.