Apple Newton Utilities Guía de usuario Pagina 254

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 942
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
...
}
Vista de pagina 253
1 2 ... 249 250 251 252 253 254 255 256 257 258 259 ... 941 942

Comentarios a estos manuales

Sin comentarios