Help Topics     Concepts     Package     Class


User-defined Function Properties and Use

Properties

The User-defined function panel provides these options:

Name
Enter the name which you will use to refer to this function. Once a name is entered, the list of beans available will be enabled.
Bean
Displays a list of beans contained in this agent, and the agent itself. Select a bean to determine its methods.
Method
Displays a list of public methods for the bean selected.

Use

The User-defined function panel specify methods to call to obtain and process external data. These functions can be used as sensors and effectors.

Adding a User-defined Function

To add a new function, enter a unique name. Once a unique name is entered, select the bean containing the method you wish to call. Select the desired public method. Press Add.

Copying a User-defined Function

To copy an existing function, select the source in the list at the bottom of the panel. Change the name to a unique name. Select the desired method. Press Add.

Changing a User-defined Function

To change an existing function, select it from the list. Change the bean and/or method as desired. Press Change.

Removing a User-defined Function

To remove a function, select it from the list, and press Remove.