Apple Newton Utilities Guide de l'utilisateur Page 262

  • 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 261
CHAPTER 7
Controls and Other Protos
7-2 Scroller Protos
four new date and time protos: protoDigitalClock, protoSetClock,
protoNewSetClock, and protoAMPMCluster
two special view protos: protoDragger and protoDragNGo
Scroller Protos 7
Scrollers allow the user to move vertically or horizontally through a display that is
bigger than the view. The Newton System Software provides a number of scrollers
to allow users to scroll their views.
All scroller protos are implemented in the same way; that is, they use the same
methods and slots. These scrollers are not linked or related to the scroll arrows on
the built-in button bar. For individual descriptions of the scroller protos, see
“Scroller Protos” (page 7-2) in Newton Programmers Reference. This section
describes how to implement scrollers in your applications.
The scroller protos do not perform the actual scrolling of data in a view; they
simply display and maintain the arrows as the user taps them. To scroll data in a
view, you can use the following protos in your applications:
The protoHorizontal2DScroller is centered at the bottom of a view and
provides both horizontal and vertical scroll arrows. For more information about
the slots and methods for this scroller, see “protoHorizontal2DScroller”
(page 6-2) in Newton Programmers Reference. Figure 7-1 shows an example
of a
protoHorizontal2DScroller view.
Figure 7-1 A protoHorizontal2DScroller view
The protoLeftRightScroller is centered at the bottom of a view and
provides horizontal scroll arrows. For more information about the slots and
methods for this scroller, see “protoLeftRightScroller” (page 6-5) in Newton
Programmers Reference. Figure 7-2 shows an example of a
protoLeftRightScroller view.
Figure 7-2 A protoLeftRightScroller view
Vue de la page 261
1 2 ... 257 258 259 260 261 262 263 264 265 266 267 ... 941 942

Commentaires sur ces manuels

Pas de commentaire