
CHAPTER 8
Text and Ink Input and Display
8-4 About Text
The views and protos that you use for text are listed in Table 8-1.
About Keyboard Text Input 8
Your application can provide keyboards and keypads for user text input by creating
an object from one of the keyboard view classes or protos:
■ The clKeyboardView 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 Description
edit view Use the clEditView class for basic text input and display.
Objects of this class can display and/or accept text and
graphic data. The
clEditView automatically creates child
clParagraphView views for text input and display and
clPolygonView views for graphic input and display. You
can also include
clPictureView views in your
clEditViews.
For more information about this class, see “General Input
Views” (page 8-6).
paragraph views Use the
clParagraphView class to display text or to accept
text input.
For more information about this class, see “Paragraph Views”
(page 8-10).
lightweight
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).
Commentaires sur ces manuels