com.jbbres.lib.actions.elements
Interface Variable

All Superinterfaces:
Element
All Known Implementing Classes:
AbstractVariable, RuntimeVariable, SimpleVariable, StorageVariable

public interface Variable
extends Element

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

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/.

Since:
1.0.0
Version:
1.0.0
Author:
Jean-Baptiste Bres
See Also:
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

getDescription

VariableDescription 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

getService

VariableService 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

getRenderer

javax.swing.table.TableCellRenderer getRenderer()
Returns the TableCellRenderer used to render the variable value.

This method is not used in Action(s) 1.0.

Returns:
the renderer

getEditor

javax.swing.table.TableCellEditor getEditor()
Returns the TableCellEditor used to edit the variable value.

This method is not used in Action(s) 1.0.

Returns:
the editor


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.