TABLE 5 Example of Device Property Files

Property File

Description

 

 

{j2mewtk.dir}\wtklib\devices\Share\reception.gif {j2mewtk.dir}\wtklib\devices\Share\right.gif {j2mewtk.dir}\wtklib\devices\Share\secure.gif {j2mewtk.dir}\wtklib\devices\Share\sym.gif {j2mewtk.dir}\wtklib\devices\Share\trusted.png {j2mewtk.dir}\wtklib\devices\Share\unsecure.gif {j2mewtk.dir}\wtklib\devices\Share\up.gif

Icon used on device screen Icon used on device screen Icon used on device screen Icon used on device screen Icon used on device screen Icon used on device screen Icon used on device screen

DefaultGrayPhone.properties

default_image=..\Share\ph1_neut.png

pressed_buttons_image=..\Share\ph1_press.png highlighted_image=..\Share\ph1_highlight.png

## screen properties ##

#Screen location, relative to the top-left corner of the

#telephone's image

###############

screen.x=30

screen.y=131

#Screen size in pixels

###############

screen.width=180

screen.height=208

#The region of the screen available to graphics commands

#This section is optional. It defines the drawable region

#of the screen to be a subregion of the whole screen area.

###############

screenPaintableRegion.x=0

screenPaintableRegion.y=11

screenPaintableRegion.width=180

screenPaintableRegion.height=178

#pixel size ratio (shape of each pixel).

#example: 1x1=square pixel, 1x2=rectangular pixel

###############

46 Wireless Toolkit Basic Customization Guide • December 2003

Page 60
Image 60
Sun Microsystems Computer Accessories manual DefaultGrayPhone.properties