Entering Parameters and Property Values
The third step in the Connection wizard is to specify the parameters for calling
the target method or the values for the target property.
You will see this step only if you selected Method Call or Set Property in the
previous step.
If you selected Method Call in the previous step, the third step of the Connection
wizard displays the list of method parameters as tabs, where each tab represents
a single parameter. The name of each parameter indicates the parameter's type.
If you selected Set Property in the previous step, the tab indicates the type
of the property being set.
On each tab, select the source from which the value (of the specified type) is
acquired:
-
Value.
Enter the property value or method parameter into the text field. This option is
available only if the value is a primitive type (int, float,
and so on) or a String.
-
Bean.
Acquire the value from a bean on the form.
This option is available only if there are beans of the specified type
to choose from (for example, type Component or Object).
-
Property.
Acquire the value from a property of a component on the form. Click the ellipsis
(...) button to display a dialog box from which you select the component and its
property. Only properties of the correct type are listed.
-
Method Call.
Acquire the value from a method call of a component on the form. Click the ellipsis
(...) button to display a dialog box from which you select the component and its
method. Only methods that return the correct type and that do not take any parameters
are listed.
-
User Code.
Write your own code to acquire the property or method parameter value.
The source code generated for each of the parameters is displayed in the Generated
Parameters Preview field.
Legal Notices