![]() |
![]() |
![]() |
Use the Event-to-Method Connection - Properties window to change either end point of an event-to-method connection.
Fields
Push buttons
To update the source and target connection features and close the window, select OK.
To delete the connection, select Delete.
To specify constant parameter values for the target method, select Set parameters.
The Pass event data check box indicates whether connection code will pass data, which is sent in the event notification, to the target as input. The specific nature of the data varies by type of event.
This setting affects the visual cues that VisualAge uses to indicate incomplete connections. Since event data is the first parameter value passed, if the target method or code requires only one parameter and Pass event data is checked, the connection appears complete. If the target method or code requires more than one parameter, the connection continues to appear incomplete.
If this box is not checked and inputs are required, VisualAge does not attempt to pass event data to the target, and the connection appears incomplete.
If an event has more than one data parameter and is not specified in another order, the data is passed to the target's parameter in order.
The Event field shows the current source event for the connection. To update the connection, select a new source from the Event list. Then select OK.
The Method field shows the current target method for the connection. To update the connection, select a new target from the Method list. Then select OK.
Features that are designated as expert do not appear by default in the feature list. When you select the Show expert features check box, VisualAge displays all features, including those designated as expert.
When you select the Set parameters push button, the Constant Parameter Value Properties window opens. Use this window to specify parameter values for the connection.
Event-to-Method Connections
Connections
Parameter Connections
Connecting Beans
Manipulating Connections
Specifying Expert Features
Specifying Values for Parameters by Default
Connection Windows
Property-to-Property Connection Window
Constant Parameter Value Properties Window
Event-to-Code Connection Window