Java Class Connector Configuration (Magic xpi 4.5)
From the Java Class Connector dialog box, double-click or right-click on the Java Class Connector utility to open the Java Class Connector Configuration dialog box.
The dialog box contains the following properties:
|
|
Class Name
|
Enter the class name or click to the right of the field to open the Select a Class screen to select a Java class. Click here to learn how Magic xpi looks for Java classes. To display a newly configured Java class in the Select a Class window, click Refresh.
|
Constructor
|
Select the name of the Java Constructor or method from the drop-down list or click to the right of the field to select a constructor from a list. The available constructors or methods depend on the class selected.
|
Constructor Parameters
|
This is a list of available parameters for the constructor and class that is selected. The information is entered automatically according to the class and constructor selected.
|
Object Reference
|
Click to the right of the field to open the Variables List. From the list, select the variable where the reference to the called constructor or method is returned.
Note:
|
Java references cannot be stored in a global variable.
|
|
Once you have done this, click Method to open the Method Details dialog box:
|
|
Method Details
|
Name
|
This field shows the class names of the methods that were previously defined.
|
Condition
|
This field shows the condition for each of the selected methods.
|
Method Parameter Details
|
Method Arguments
|
This table shows the arguments for the methods selected in the Method Details section.
|
Method Return Details
|
Type
|
This is a read-only field that describes the method type.
|
Return Value
|
Click to the right of the field to open the Variables List. From the list, select the variable where the call to the method is returned.
|
Click OK to complete the configuration.