background image
C H A P T E R 6
Pickers, Pop-up Views, and Overviews
6-10
Text Pickers
the slots and methods for this picker, see "protoWorldPicker" (page 5-34) in
Newton Programmer's Reference. Figure 6-11 shows an example of a
protoWorldPicker
.
Figure 6-11
A
protoWorldPicker
example
Text Pickers
6
Text picker protos allow the user to specify various kinds of information by
picking text representations. Each of these protos displays a label picker with
a string that shows the currently selected data value. For example,
protoDurationTextPicker
, which lets the user set a duration, might have a
label of "When" followed by a duration in the form "8:26
A
.
M
. ­ 10:36
P
.
M
."
When the user taps a text picker, the picker displays a pop-up view in which the
user can enter new information. The Newton system software provides the
following text picker protos:
The
protoTextPicker
is a label picker with a text representation of an entry.
When the user taps the picker, a customized picker is displayed. For information
about the slots and methods for this picker, see "protoTextPicker" (page 5-35) in
Newton Programmer's Reference. Figure 6-12 shows an example of a
protoTextPicker
.
Figure 6-12
A
protoTextPicker
example
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна