Apple Newton Utilities Podręcznik Użytkownika Strona 171

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 942
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 170
CHAPTER 4
NewtApp Applications
Summary of the NewtApp Framework 4-33
forceNewEntry: true, //Creates blank entry for layout
menuRightButtons:[], //Replaces slot in status bar
menuLeftButtons:[], //Replaces slot in status bar
nothingCheckable: nil, //True suppresses checkboxes
Abstract: //Returns shapes for items in overviews
func(targetEntry, bbox)..., //Override to extract text
GetTargetInfo: //Returns frame with target information
func(targetType)...,
HitItem: //Called when overview item is tapped.
func(index, x, y)...,
// All newtLayout methods are inherited.
}
newtRollOverLayout 4
myOverLayout:= { // Overview for roll-type application
_proto: newtRollOverLayout //Same as newtOverLayout
centerTarget: nil, // True centers entry in overview
masterSoupSlot: 'mainSoup, // Required.
// Symbol referring to soup from allSoups slot
name: "", // Required but not used.
menuRightButtons:[], //Replaces slot in status bar
menuLeftButtons:[], //Replaces slot in status bar
forceNewEntry: true, //Creates blank entry for layout
nothingCheckable: nil, //True suppresses checkboxes
Abstract: //Returns shapes for items in overviews
func(targetEntry, bbox)..., //Override to extract text
GetTargetInfo: //Returns frame with target information
func(targetType)...,
HitItem: //Called when overview item is tapped.
func(index, x, y)...,
// All newtLayout methods are inherited.
}
newtEntryView 4
anEntryView:= { // Invisible container for slot views
_proto: newtEntryView
entryChanged: //Set to true for flushing
entryDirtied: //Set to true if flush occurred
target: //Set to entry for display
currentDataDef: //Set to current dataDef
Przeglądanie stron 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 941 942

Komentarze do niniejszej Instrukcji

Brak uwag