background image
C H A P T E R 6
Pickers, Pop-up Views, and Overviews
Summary
6-51
protoDatePicker
6
aProtoDatePicker := {
_proto:
protoDatePicker,
selectedDates:
array
,
// selected date
DateChanged:
function
,
// called when date is selected
Refresh:
function
,
// update view with new dates
...
}
protoDateNTimePopup
6
protoDateNTimePopup := {
_proto:
protoDateNTimePopup,
New:
function
,
// creates pop-up view
NewTime:
function
,
// called when time changes
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled picker
...
}
protoDateIntervalPopup
6
protoDateIntervalPopup := {
_proto:
protoDateIntervalPopup,
New:
function
,
// creates pop-up view
NewTime:
function
,
// called when time changes
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled picker
...
}
protoMultiDatePopup
6
protoMultiDatePopup := {
_proto:
protoMultiDatePopup,
New:
function
,
// creates pop-up view
PickActionScript:
function
,
// returns selected item
PickCancelledScript:
function
,
// user cancelled picker
...
}
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна