Apple Newton Utilities Guia do Utilizador Página 172

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 942
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 171
CHAPTER 4
NewtApp Applications
4-34 Summary of the NewtApp Framework
currentViewDef: //Set to current viewDef
currentStatView: //Set to current context of viewDef
StartFlush: // Starts timer that flushes entry
func()...,
EndFlush: // Called when flush timer fires
func()...,
EntryCool: // Is target read-only? True report
func(report)..., //displays write-protected message
JamFromEntry: // Finds children’s jamFromEntry and sends
func(otherEntry)..., // message if found, then retargets
Retarget: // Changes stationery’s display then sends
func()...,//message on to child views
DoRetarget: // Calls the “right” retarget
func()...,//
}
newtFalseEntryView 4
aFalseEntryView:= {// Use as container for slot views in
_proto: newtFalseEntryView, // non-NewtApp applications.
targetSlot: 'target, //Parent needs to have slots
dataCursorSlot: 'dataCursor, //with names
targetSlot: 'dataSoup, //that match each of
dataSoup: 'soupQuery // these symbols.
// newtFalseEntryView inherits all newtEntryView methods.
}
newtRollEntryView 4
aRollEntryView:= { // Entry view for paper roll-style apps
_proto: newtRollEntryView, //stationery required.
bottomlessHeight: kEntryViewHeight, //Optional
// Inherits slots and methods from newtEntryView.
}
newtEntryPageHeader 4
aPageHeader:= { // Header bar for card or page-style apps
_proto: newtEntryPageHeader,
// contains no additional slots or methods
}
Vista de página 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 941 942

Comentários a estes Manuais

Sem comentários