beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 252

background image

C H A P T E R 6

Pickers, Pop-up Views, and Overviews

6-52

Summary

protoYearPopup

6

protoYearPopup := {

_proto:

protoYearPopup,

New:

function

,

// creates pop-up view

NewYear:

function

,

// called when year changes

DoneYear:

function,

// called on close box tap

PickCancelledScript:

function

,

// user cancelled picker

...

}

protoTimePopup

6

protoTimePopup := {

_proto:

protoTimePopup,

New:

function

,

// creates pop-up view

NewTime:

function

,

// called when time changes

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}

protoAnalogTimePopup

6

protoAnalogTimePopup := {

_proto:

protoAnalogTimePopup,

New:

function

,

// creates pop-up view

NewTime:

function

,

// called when time changes

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}

protoTimeDeltaPopup

6

protoTimeDeltaPopup := {

_proto:

protoTimeDeltaPopup,

New:

function

,

// creates pop-up view

PickActionScript:

function

,

// returns selected item

PickCancelledScript:

function

,

// user cancelled picker

...

}