background image
C H A P T E R 8
Text and Ink Input and Display
About Text
The views and protos that you use for text are listed in Table 8-1.
About Keyboard Text Input
Your application can provide keyboards and keypads for user text input by creating
an object from one of the keyboard view classes or protos:
class provides a keyboard-like array of buttons that the
user can tap with the pen to perform an action. This class is described in
"Keyboard Views" (page 8-26).
Table 8-1
Views and protos for text input and display
View or Proto
edit view
Use the
class for basic text input and display.
Objects of this class can display and/or accept text and
graphic data. The
automatically creates child
views for text input and display and
views for graphic input and display. You
can also include
views in your
For more information about this class, see "General Input
Views" (page 8-6).
paragraph views
Use the
class to display text or to accept
text input.
For more information about this class, see "Paragraph Views"
(page 8-10).
paragraph views
If your paragraph view template meets certain criteria, the
Newton system automatically creates a lightweight paragraph
view for you. Lightweight paragraph views are read-only
and use only one font, although they can contain ink. These
views require significantly less memory than do standard
paragraph views.
For more information about lightweight paragraph views, see
"Lightweight Paragraph Views" (page 8-11).
input line protos
You can use one of the input line protos to allow the user to
enter a single line of text, as described in "Using Input Line
Protos" (page 8-12).
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна