background image
C H A P T E R 4
NewtApp Applications
4-44
Summary of the NewtApp Framework
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtNRLabelTimeInputLine
4
pickerLabelTimeInputLine
:= {
// Input through TimePopup picker
_proto: newtNRLabelTimeInputLine,
label: "",// Text for input line label
access: 'pickOnly,// Could be 'readOnly
flavor: newtTimeFilter,// Don't change
path: 'pathExpr,// Data stored/retrieved from here
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtLabelPhoneInputLine
4
aLabelPhoneInputLine
:= {
// Labelled phone input line
_proto: newtLabelPhoneInputLine,
label: "",// Text for input line label
usePopup: true,// When true with labelCommands array
// picker is enabled
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtPhoneFilter,// Don't change
memory: nil,
// most recent picker choices
path: 'pathExpr,// Data stored/retrieved from here
ChangePopup: // change picker items before they display
func(
item, entry
)..., //
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtSmartNameView
4
smartNameLine
:= {
// protoPeoplePicker Input
_proto: newtSmartNameView, // from Names soup
label: "",// Text for input line label
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtSmartNameFilter,// Don't change
path: 'pathExpr,// Data stored/retrieved from here
UpdateText: // Used with Undo to update text to new text
func(
newText
)...,
}
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна