|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
An interface that specifies all methods essential to an Action(s)'s
action. An implementation of Action
has 5 major methods:
getService()
- returns the service associated to the action. The
service describes how the element performs within the workflow. The service
contains the executable methods that the action is designed to perform.getUI()
- returns the User Interface displayed in the workflow
definition panel in Action(s). This Swing or AWT
Component
allows the user to define the settings of the action.Element.getParameters()
and Element.setParameters(Parameters)
-
respectively stores and loads the state of the action.getDescription()
- a method that returns a dictionary derived
from the action description, usually the information specified in the action
information property list.
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/.
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 |
---|
ActionService getService()
Element
getService
in interface Element
ElementService
java.awt.Component getUI()
ActionDescription getDescription()
Element
getDescription
in interface Element
ElementDescription
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |