Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) Bedienungsanleitung Seite 254

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 942
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 253
CHAPTER 6
Pickers, Pop-up Views, and Overviews
6-54 Summary
Overview Protos 6
protoOverview 6
aProtoOverview := {
_proto: protoOverview,
viewBounds : boundsFrame,
viewFlags : constant,
viewFont : fontSpec,
lineHeight: integer, // height of items in pixels
selectIndent: integer, // specifies left margin
nothingCheckable: Boolean, // true for no checkboxes
SelectItem: function, // to record selected items
SetupAbstracts: function, // set up entry
Abstract: function, // return shape given entry
HitItem: function, // called when item is tapped
IsSelected: function // Return true if the item is
// selected
cursor: cursor, // cursor for the items
CheckState: function, // determines if selectable
Scroller: function, // implement scrolling here
SelectItem: function, // records selected items
viewSetupChildrenScript:
function, // Calls SetupAbstracts
...
}
protoSoupOverview 6
aProtoSoupOverview := {
_proto: protoSoupOverview,
autoDeselect: Boolean, // whether to deselect when
// the pen leaves an item
cursor: cursor, // cursor for the entries
Scroller: function, // implement scrolling here
SelectItem: function, // records selected items
Abstract: function, // return shape given entry
IsSelected: function, // returns true if selected
ForEachSelected: function, // called for each selected
// item
...
}
Seitenansicht 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 941 942

Kommentare zu diesen Handbüchern

Keine Kommentare