8.9.2 Viewing the Interaction
The AdventNet Bean Builder's 'Interaction View' is invoked by clicking on the Interaction tab in the right hand side panel. The Bean Builder supports connections between one or more beans. The connection is established by right clicking the bean components in the "Screen" view and choosing the Interaction wizard and then selecting the required connection from the sub popup menu. Once the connections are completed in the screen, the Interaction View of the "components" can be seen in the "Interaction" view.
The lower left-side tree of the builder consists of two folders, one with the name "components" and the other with the name "connections".
The "Components" folder lists the components used in the screen.
The "Connections" folder lists the set of connections involved between the components in the screen.
When the selection tab is in the "Interaction" view and if the user clicks on any of the components in the Component's tree, then that component and the connections involved with that component are shown. A component can have multiple connections with different other components. In the below picture, the connection of the component "JButton1" with other component "JTextField1" is shown.
Some special features are:
The connections between "components" can be deleted, by selecting the connecting line in "Interaction view" as shown in the above image.
When the selection tab is in "Screen" view and if the user clicks on any of the connection in the Connection tree, then the components involved in the connections are highlighted in the screen. The "Component" which opens the connection is the source, which is highlighted with maroon colored border line. The "Component" which receives the connection is the target, which is highlighted in olive green colored border line. The components participating in the connection is highlighted in navy blue colored border line.