C H A P T E R 2 2
Using the Transport Interface
Routing information view
In your transport object, store a reference to your routing information template in
To add your own information to the routing information view, you can supply a
, call the
method for each
additional line of text you want to add below the existing elements. Alternatively,
you can add child views to the routing information view.
If you do add additional lines or views to the routing information view that cause it
to increase in height, you must also set the
slot in the routing
information view or in your
method (or anywhere before the inherited
method is called). In this slot, specify the number of
pixels by which you are increasing the height of the view.
The header view may include editable fields. If the user changes something in an
editable field, you probably want to know about it so that you can save the new
information or perform other operations. The
message is provided
for this purpose. This message is sent to whatever object you designate when the
header view is closed.
Providing a Routing Slip Template
A transport uses a routing slip when sending an item in order to get all the informa-
tion necessary to transmit the item. Since the user interface for the routing slip is
provided by the transport, the application does not need to know anything about
what is required to send the item.
icon next to