Apple Newton Utilities Guide de l'utilisateur Page 814

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 813
CHAPTER 22
Transport Interface
22-26 Using the Transport Interface
Figure 22-2 Routing information view
In your transport object, store a reference to your routing information template in
the
transportInfoForm slot.
To add your own information to the routing information view, you can supply a
BuildText method. From BuildText, call the AddText 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
addedHeight slot in the routing
information view or in your
BuildText method (or anywhere before the inherited
ViewSetupFormScript 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 elds. If the user changes something in an
editable eld, you probably want to know about it so that you can save the new
information or perform other operations. The
InfoChanged 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 22
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.
Tap
transport
icon next to
Routing
information
view is
Vue de la page 813
1 2 ... 809 810 811 812 813 814 815 816 817 818 819 ... 941 942

Commentaires sur ces manuels

Pas de commentaire