Overview
About Connections
About Connections
When you make a connection in the Connection Editor, you define the
interaction between components. For example, if you want a data value to
change when an event occurs, you would make an event-to-property
connection. The following table summarizes the types of connections that
the Connection Editor provides.
Table 1. Connection
Type Summary

The source and target of a connection
A connection is directional; it has a source and a target. The
component on which the connection begins is the source; the
component on which it ends is the target. Often, it does not matter which component you choose as the source or
target, but there are connections where direction is important.
- In an event connection, the event is always the source.
- For property-to-property connections, you can't set write only
property as source and read only property as target.
- When you make property-to-property connections, the order in
which you choose the source and target is important. The source and
target property values may be different when the bean is first
initialized. If they are, TrueRAD Suite resolves the
difference by changing the value of the target to match that of the
source. Thereafter, if both properties have are writable, the
connection updates either property if the other changes.
Property-to-property connections
A property-to-property connection links two property values
together. This causes the value of one property to change when the value
of the other changes, except as noted in the table below. A connection
of this type appears as a bidirectional dark blue line with dots at
either end in the Connection Editor.
For indexed properties, connection has special properties for sets
value of indexes.
To achieve the behavior that you anticipate, you must know something
about the properties you are connecting. The following table shows the
results of connecting properties of different types.
<<
Back Next >>
|