Sun Microsystems Computer Accessories manual Index

Page 75

Index

A

abstract command types assigning to a button, 35

abstract commands assigning to buttons, 33 menu operations, 37 table of, 33

abstract commands, types of, 33

ascii_x-n, 21

B

bitmap font definition, 20

button assignments, emulating, 34 button properties, setting, 10 byte code obfuscator, 55

C

character encodings, 42

code obfuscators, adding support for, 55 color properties, 40

setting, 16

setting background color, 16 colorCount property, 40 command menu, changing title of, 37

D

Default Emulator, customizing, 1

DefaultGrayPhone.properties settings, 46

device buttons, 29

assigning abstract command types, 35 assigning abstract commands, 33 assigning command keys, 35 assigning game actions, 32 assigning keys, 31

assigning menu operations, 34 assignment policies, 34 changing soft button labels, 37 command precedence, 33 defining, 29

keyboard handler types, 29 order of preference, 35 specifying alternate buttons, 35 specifying generated characters, 32 specifying secondary buttons, 36

device image files, 22 table of, 53

device images scaling, 23

specifying image type, 23 device property directory, 18 device property files, 1

adding, 2 creating, 2, 5 structure of, 17 syntax, 17 table of, 45

table of example files, 18 display coordinates, 26

F

font definition, 20 font properties

ascent, 21 descent, 21 height, 21 leading, 21 underlined, 22

font property, 19 font types

bitmap, 19 default, 19 system, 19

font.default property, 20

61

Image 75
Contents Basic Customization Guide Please Contents Examining Device Property Files Default Emulator Device Property Files Vi Wireless Toolkit Basic Customization Guide December Figures Viii Wireless Toolkit Basic Customization Guide December Tables Wireless Toolkit Basic Customization Guide December How This Book Is Organized Who Should Use This BookUsing Operating System Commands Typographic Conventions Shell PromptsRelated Documentation Sun Welcomes Your Comments Accessing Sun Documentation OnlineHow to Customize the Wireless Toolkit Customizing the Wireless ToolkitCustomization Steps Device Property Files and the Default EmulatorCustomizing the Wireless Toolkit Wireless Toolkit Basic Customization Guide December Make a Copy of an Existing Main Device Property File Creating Device Property FilesObtain and Enter Image Files Screen Location Obtain and Enter the Screen PropertiesDisplay Area Total Screen SizeSpecifying Screen Properties Display Area in Full Screen ModeBy measuring the image file, obtain the button properties Obtain and Enter the Button PropertiesHeight Width Obtain and Enter Soft Button Label Areas Soft button label display is defined by a line of the form Defining the Icon Location and States Obtain and Enter Icon PropertiesEnter the following measured values for the icons properties Enter Color Properties Run the Emulator for the New DeviceScreen Background RGB Color Examining Device Property Files Device Property Files Main Device Property File FontsFonts Used by the Midp APIs Default Font System FontsBitmap Fonts Ascii character Distance to character Device Image Font UnderliningScaling Image without Buttons PressedImage with Buttons Pressed Image with Buttons Highlighted and Backlight OnScreen Properties Screen Location Display Area in Full Screen Mode Total Screen SizeDisplay Area Screen Background Color Screen Pixel RatioScreen Border Color Touch ScreenScreen Buffering Device Buttons Keyboard HandlerDefining a Device Button Button.LEFT = 13, 197, 20 Assigning a PC Keyboard Key to a Button Specifying the Characters Generated by a Button Press Assigning a Game Action to a ButtonAbstract Command Types in Order of Precedence Assigning Abstract Commands to ButtonsEmulating Abstract Command Button Assignments Precedence of Assigning Commands to a Button Secondary Button Assignments Abstract Command Menu Defining the Icon Location and States Displayed IconsSoft Button Labels on the Emulated Device Display Soft Button Label DisplaySound Alerts ColorAlert Type Values Device Software CapabilitiesCharacter Encodings LocalesTransparent Images EnableAlphaChannel falseWireless Toolkit Basic Customization Guide December Property Files Default Emulator Device Property FilesDefaultGrayPhone.properties Appendix a Default Emulator Device Property Files Wireless Toolkit Basic Customization Guide December Appendix a Default Emulator Device Property Files Wireless Toolkit Basic Customization Guide December # alert.alerttype.sound soundfile Wireless Toolkit Basic Customization Guide December Icon Image Files Device Image FilesIcon Image Files Adding a ByteCode Obfuscator Support for ByteCode ObfuscatorsExample Appendix B Support for ByteCode Obfuscators Wireless Toolkit Basic Customization Guide December P E N D I X C Wireless Toolkit Basic Customization Guide December Index Keyboard.handler property Device property files, 1 WMA messages, customizing Wireless Toolkit Basic Customization Guide December