C H A P T E R 4
NewtApp Applications
Summary of the NewtApp Framework
4-43
_proto: newtLabelSimpleDateInputLine,
label: "",// Text for input line label
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtSimpleDateFilter,//
path: 'pathExpr,// Data stored/retrieved from here
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtNRLabelDateInputLine
4
pickerLabelDateInputLine
:= {
// Input through DatePopup picker
_proto: newtNRLabelDateInputLine,
label: "",// Text for input line label
access: 'pickOnly,// Could be 'readOnly
flavor: newtDateFilter,//
path: 'pathExpr,// Data stored/retrieved from here
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtROLabelTimeInputLine
4
displayLabelTimeLine
:= {
// Labelled time display line
_proto: newtROLabelTimeInputLine,
label: "",// Text for input line label
flavor: newtTimeFilter,// Don't change
path: 'pathExpr,// Data stored/retrieved from here
}
newtLabelTimeInputLine
4
aLabelTimeInputLine
:= {
// Labelled time input line
_proto: newtLabelTimeInputLine,
label: "",// Text for input line label
labelCommands: ["", "",],// Picker options
curLabelCommand:
integer
,// Integer for current command
usePopup: true,// When true with labelCommands array
// picker is enabled
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtTimeFilter,// 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
)..., //