Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) Uživatelský manuál Strana 280

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 279
CHAPTER 7
Controls and Other Protos
7-20 Summary
Summary 7
Scroller Protos 7
protoLeftRightScroller 7
aProtoLeftRightScroller := {
_proto: protoLeftRightScroller,
scrollView: viewTemplate,
scrollRect: boundsFrame, // extent of scrollable area
dataRect: boundsFrame, // extent of data in the view
viewRect: boundsFrame, // extent of visible area
xPos: integer, // initial x-coord in scrollRect
yPos: integer, // initial y-coord in scrollRect
scrollAmounts: array, // line, page, dbl-click values
pageThreshhold:integer, // lines before page scrolling
ViewScroll2DScript: function, // called when arrows tapped
ViewScrollDoneScript:function, // called when scroll done
SetArrow: function, // set scroll direction
GetArrow: function, // returns scroll direction
...
}
protoUpDownScroller 7
aProtoUpDownScroller := {
_proto: protoUpDownScroller,
scrollView: viewTemplate,
scrollRect: boundsFrame,// extent of scrollable area
dataRect: boundsFrame,// extent of data in the view
viewRect: boundsFrame,// extent of visible area
xPos: integer, // initial x-coord in scrollRect
yPos: integer, // initial y-coord in scrollRect
scrollAmounts: array, // line, page, dbl-click values
pageThreshhold:integer, // lines before page scrolling
ViewScroll2DScript: function, // called when arrows tapped
ViewScrollDoneScript:function, // called when scroll done
SetArrow: function, // set scroll direction
GetArrow: function, // returns scroll direction
...
}
Zobrazit stránku 279
1 2 ... 275 276 277 278 279 280 281 282 283 284 285 ... 941 942

Komentáře k této Příručce

Žádné komentáře