Apple Newton Utilities Uživatelská příručka Strana 240

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 239
CHAPTER 6
Pickers, Pop-up Views, and Overviews
6-40 Specifying the List of Items for a Popup
Note
Picker items can include 1.x bitmaps but not 2.0 shapes.
When a cell is highlighted in a two-dimensional picker item, only the part of the
cell inside the cell frame lines is inverted. You can vary the highlighting effect by
changing the values of the
cellFrame and outerFrame slots, which control
how much unhighlighted space to leave for the cell frame lines. An example of how
these values affect cell highlighting is shown in Figure 6-48.
Figure 6-48 Cell highlighting example for protoPicker
cellFrame
Optional. The width of the separator line between cells, used
for highlighting purposes. If you don’t specify this slot, the
default is 1 pixel.
outerFrame
Optional. The width of the border line around the cells, used
for highlighting purposes. If you don’t specify this slot, the
default is 2 pixels.
mask
Optional. A binary object representing the bits for a bitmap
mask. This mask is used to restrict highlighting, or for special
hit-testing. The mask must be exactly the same size as the
bitmap. Cells in the grid are highlighted only if the position
tapped is “black” in the mask.
Table 6-3 Item frame for two-dimensional grid (continued)
Slot Name Description
cellFrame=1
outerFrame=2
cellFrame=3
outerFrame=3
cellFrame=0
outerFrame=0
Zobrazit stránku 239
1 2 ... 235 236 237 238 239 240 241 242 243 244 245 ... 941 942

Komentáře k této Příručce

Žádné komentáře