Apple Newton Utilities Uživatelská příručka Strana 171

  • 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 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
Zobrazit stránku 170
1 2 ... 166 167 168 169 170 171 172 173 174 175 176 ... 941 942

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

Žádné komentáře