|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Variable
An interface that specifies all methods essential to an Action(s)'s
variable. An implementation of Variable
has 6 major methods:
getService()
- returns the service associated to the variable.
The service describes how the element performs within the workflow. The
service contains methods related to data access (the "model").getRenderer()
defines the how to render the variable valuegetEditor()
returns an editor that the user will be able to use
to changes the variable value during the workflow definition.
Element.getParameters()
and Element.setParameters(Parameters)
-
respectively stores and loads the state of the variable.getDescription()
- a method that returns a dictionary derived
from the variable description, usually the information specified in the
element information property list.
In order to make the creation of variale easier, two abstract class
implementing the Variable
interface are provided for
developpers: See
StorageVariable
and RuntimeVariable
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 | |
---|---|
VariableDescription |
getDescription()
Returns the description of the element. |
javax.swing.table.TableCellEditor |
getEditor()
Returns the TableCellEditor used to edit the variable value. |
javax.swing.table.TableCellRenderer |
getRenderer()
Returns the TableCellRenderer used to render the variable
value. |
VariableService |
getService()
Returns the service associated to the element. |
Methods inherited from interface com.jbbres.lib.actions.elements.Element |
---|
getParameters, setParameters |
Method Detail |
---|
VariableDescription getDescription()
Element
getDescription
in interface Element
ElementDescription
VariableService getService()
Element
getService
in interface Element
ElementService
javax.swing.table.TableCellRenderer getRenderer()
TableCellRenderer
used to render the variable
value.
This method is not used in Action(s) 1.0.
javax.swing.table.TableCellEditor getEditor()
TableCellEditor
used to edit the variable value.
This method is not used in Action(s) 1.0.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |