Apple Newton Utilities User's Guide Page 351

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 350
CHAPTER 9
Recognition
About the Recognition System 9-9
Figure 9-2 Recognition-related view ags
View Flags 9
The system supplies a number of constants, called view flags, which are used to set
bits in a view’s
viewFlags slot programmatically. In general, each of these ags
activates a combination of recognizers and dictionaries suited to recognizing a
particular kind of input. Thus, a view’s view ags specify the kinds of data it is
likely to recognize successfully. For a summary of the view ags that affect
recognition, see “Constants” (page 9-31).
There are two ways to set view ags from NewtonScript: you can place view ag
constants in your view template’s
viewFlags slot or you can supply a recognition
conguration (
recConfig) frame for the view. Occasionally, the use of both
techniques is appropriate, but in most cases you’ll use only one or the other.
Recognition Conguration Frames 9
Recognition configuration frames (recConfig frames) provide an alternate
programmatic interface to the recognition system. They can be used to provide any
behavior that view ags provide, and can also be used to provide specialized
recognition behaviors that view ags cannot. For example, view ags generally set
vTimeField
vDateField
vPhoneField
Reserved for system use
vShapesAllowed
5 010152024
1111111111111111
0000000000000000
vAnythingAllowed
vSingleUnit
vCustomDictionaries
vCharsAllowed
vNumbersAllowed
vLettersAllowed
vPunctuationAllowed
vClickable
vStrokesAllowed
vGesturesAllowed
vAddressField
vNameField
vCapsRequired
vNothingAllowed
Page view 350
1 2 ... 346 347 348 349 350 351 352 353 354 355 356 ... 941 942

Comments to this Manuals

No comments