Apple Newton Utilities Guide de l'utilisateur Page 784

  • 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 783
CHAPTER 21
Routing Interface
21-36 Using Routing
access addressing or other information in the entry besides the actual data being
routed, look at the frame in the
fields slot. However, use of the fields slot is
for special cases only and is generally discouraged. This is because it works only in
the In/Out Box, and so ties your stationery to it. If you need to use the
fields slot
in your stationery, you should always check for the existence of this slot before
using it, and you must be able to handle the case where it is missing.
Also, view denitions to be used by the In/Out Box can have a
rollScrolling
slot. This slot contains a Boolean value. If you set this slot to
true, the view is
treated as a paper roll-based view that species its height. In this case, the In/Out
Box handles scrolling within the view for you, when the user taps the built-in scroll
arrows. If the
rollScrolling slot is set to nil, scrolling functionality must be
provided by the view denition itself, typically with scroll arrows inside the view.
If the
rollScrolling slot is set to true, the target item must have a height
slot that species the height of the item in pixels.
Note that the
newtEditView proto sets the rollScrolling slot to true, and
is useful for creating a paper roll-based view denition.
Advanced Alias Handling 21
For sending data, an application may register a routing format that stores
a sent object as an alias in the In Box. In fact, you can set a slot,
storeAlias, in
the routing format that allows this to happen. When such an object is to be sent by
the transport, the Routing interface automatically resolves the alias into the actual
object that is sent.
However, in some circumstances, you might want to provide your own custom
alias handling. For example, you might want to store an object in the In Box as a
complex frame consisting of some directly stored data and some slots that contain
aliases. In this case, you would override the routing format method
MakeBodyAlias to construct your own object.
When the system needs to access the item, such as when it is viewed in the In/Out
Box, it sends the message
ResolveBody to the format. You must override this
method and use it to resolve the alias you constructed in the
MakeBodyAlias
method.
Note that if the send operation fails, the Out Box continues to store the original
unresolved entry.
Vue de la page 783
1 2 ... 779 780 781 782 783 784 785 786 787 788 789 ... 941 942

Commentaires sur ces manuels

Pas de commentaire

Melissa 635-073 manuali

Manuali dei proprietari e guide per l'utente per Asciugacapelli Melissa 635-073.
We fornisce 1 manuali pdf Melissa 635-073 per scaricare gratuitamente in base al tipo di documento: Manuale Utente


Melissa 635-073 Manuale Utente (1 pagine)


Marchio: Melissa | Categoria: Hairdryers | Dimensione: 0.89 MB |

 




Più prodotti e manuali per Asciugacapelli Melissa

Modelli Tipo di Documento
235-002 Manuale Utente      Melissa 235-002 User Manual, 17 pagine
635-068 Manuale Utente   Melissa 635-068 User Manual, 1 pagine
635-075 Manuale Utente   Melissa 635-075 User Manual, 1 pagine
635-103 Manuale Utente   Melissa 635-103 User Manual, 1 pagine
235-014 Manuale Utente   Melissa 235-014 User Manual, 1 pagine
635-102 Manuale Utente      Melissa 635-102 User Manual, 18 pagine
235-019 Manuale Utente        Melissa 235-019 User Manual, 52 pagine
635-066 Manuale Utente      Melissa 635-066 User Manual, 18 pagine
635-101 Manuale Utente   Melissa 635-101 User Manual, 1 pagine
635-096 Manuale Utente   Melissa 635-096 User Manual, 1 pagine
635-067 Manuale Utente      Melissa 635-067 User Manual [en] [ru] [de] [es] [fr] [it] [cs] [pl] , 18 pagine
Exido 235-028 Manuale Utente   Melissa Exido 235-028 User Manual, 1 pagine
Aircurler 635-099 Manuale Utente   Melissa Aircurler 635-099 User Manual, 1 pagine
235-009 Manuale Utente     Melissa 235-009 User Manual, 24 pagine
235-016 Manuale Utente   Melissa 235-016 User Manual, 1 pagine
635-092 Manuale Utente     Melissa 635-092 User Manual, 25 pagine
235-004 Manuale Utente      Melissa 235-004 User Manual, 17 pagine
235-015 Manuale Utente      Melissa 235-015 User Manual, 17 pagine
635-095 Manuale Utente   Melissa 635-095 User Manual, 1 pagine