
CHAPTER 4
NewtApp Applications
4-38 Summary of the NewtApp Framework
newtROTextPhoneView 4
readOnlyTextPhoneView:= {// Displays phone numbers
_proto: newtROTextPhoneView,
path: 'pathExpr,// Data stored/retrieved from here
TextScript: // Returns a text representation of data
func()..., //
JamFromEntry: // Retargets to jamPathExpr if not nil
func(jamPathExpr)..., //
}
newtTextPhoneView 4
EditableTextPhoneView:= {// Displays editable phone numbers
_proto: newtTextPhoneView,
path: 'pathExpr,// Data stored/retrieved from here
TextScript: // Returns a text representation of data
func()..., //
JamFromEntry: // Retargets to jamPathExpr if not nil
func(jamPathExpr)..., //
}
newtAreaCodeLine 4
protonewtAreaCodeLine : = {
_proto: protonewtAreaCodeLine,
flavor: newtPhoneFilter
access: 'query
label: string //text to display in the highlight window
path: 'pathExpr,// Data stored/retrieved from here
}
newtAreaCodePhoneLine 4
protonewtAreaCodeLine : = {
_proto: protonewtAreaCodeLine,
flavor: newtPhoneFilter
access: 'query
label: string //text to display in the highlight window
path: 'pathExpr,// Data stored/retrieved from here
}
Komentarze do niniejszej Instrukcji