Motorola C550, C450, C370 technical manual Lcdui, Description

Page 36

7 LCDUI

LCDUI API

The following table lists the specific interfaces supported by Motorola implementation:

Interface

Choice

Description

Choice defines an API for user interface components implementing selection from a predefined number of choices.

CommandListener

This interface is used by applications which need to receive high-level events from implementation

ItemCommandListener

A listener type for receiving notification of commands that have been invoked on Item286 objects

ItemStateListener

This interface is used by applications which need to receive events that indicate changes in the internal state of the interactive items within a Form231 screen.

 

 

 

The following table lists the specific classes supported by Motorola implementation:

 

 

 

 

 

 

 

Classes

 

Description

 

 

 

 

 

 

 

Alert

 

An alert is a screen that shows data to the user and waits for a certain

 

 

 

 

period of time before proceeding to the next Displayable.

 

 

 

 

 

 

 

AlertType

 

The AlertType provides an indication of the nature of alerts.

 

 

 

 

 

 

 

Canvas

 

The Canvas class is a base class for writing applications that need to

 

 

 

 

handle low-level events and to issue graphics calls for drawing to the

 

 

 

 

display.

 

 

 

 

 

 

 

ChoiceGroup

 

A ChoiceGroup is a group of selectable elements intended to be placed

 

 

 

 

within a Form.

 

 

 

 

 

 

 

Command

 

The Command class is a construct that encapsulates the semantic

 

 

 

 

information of an action

Image 36
Contents Technical Manual Table of Contents Lcdui JAD Attributes Introduction PurposeAudience DisclaimerReferences Revision History Definitions, Abbreviations, AcronymsDate Name Reason Acronym DescriptionDocument Overview Introduction J2ME Introduction Java 2 Platform, Micro Edition J2MEMotorola J2ME Platform Resources AvailableDescription Display NetworkingFile & RMS Java VMDeveloping and Packaging J2ME Applications Guide to Development in J2MEIntroduction to Development Page OTA Procedure InstallationDownloading Applications Program and Data space notes Java Application Installer/De-Installer Jaid Starting ApplicationsExiting Applications Error Checks Launching Web Session for Http DownloadDownloading MIDlets XML Screen Renderings BombMan is back, now on your Taichi series of handsets Taichi handset New Games Application Management MIDlet LifecycleMIDlet Suite Installation MIDlet Suite De-installation MIDlet Suite Updating DestroyAppMethod Caller PurposeStartApp or the pauseApp Using startApp Java System MIDlet Control of MIDlet State TransitionsPage Network API Network ConnectionsClass Descriptions IOException when it detects a time-out condition URL FormatTCP Sockets UDP SocketsImplementation Notes Network API Lcdui DescriptionLcdui Gaming API and Sound Functional DescriptionClass Hierarchy Using BackgroundMusic BackgroundMusic ClassBackgroundMusic Methods Gaming API containing a sound APIGameScreen Class GameScreen FieldsGameScreen Methods Public int getKeyStatesInformation, disabling key events can improve performance Using GameScreen GameScreenImageUtil Class ImageUtil FieldsImageUtil Methods Using ImageUtil RgbDataPalleteImage Class PalleteImage ConstructorPalleteImage Methods Using PalleteImage Public void setTransparentIndexint index throwsUsing Static and Animated Tiles PlayField ClassUsing Sprites Defining View WindowsPlayField Constructor 2N+1 2N + PlayField Methods Public void addSpriteSprite s throwsPage Public boolean collidesWithAnyTileSprite s throws Using PlayField PlayFieldUsing SoundEffect SoundEffect ClassSprite Class SoundEffect MethodsAnimation Frames Sprite DrawingSprite Constructor Sprite Methods Page Public final void drawGraphics g throws Using Sprite FileFormatNotSupportedExceptionSprites Java Gaming Sound API Max Midi Extension SupportFileFormatNotSupportedException Constructors Java Gaming Sound APIVibe and Backlight Vibe and Backlight APIOverview Creating a MessageSending a Message PermissionsJAD Attributes JAD AttributesMandatory attributes for manifest files MIDlet-Name Record Management System Class DescriptionCode Examples RecordStoreTips CaveatsPhonebook Access Phonebook Access APIPhonebook Access API Permissions Sample of code to create object of PhoneBookRecord classSimmemory Sample of code for calling of ‘getMaxEmailLength ’ method Sample of code for calling of ‘isPrimaryint speedNo’ method Sample of code for calling of ‘getNumberCategories’ method Sample of code for calling of ‘setCategoryView’ method Sample of code for calling of ‘getUsedRecords’ method Int index = ReceivedRecord.getRecord1 ITAP Intelligent Keypad Text Entry APIAppendix a Key Mapping Key Mapping for the C370, C450, and C550Center Select END Appendix B Memory Management Calculation Available MemoryOnline FAQ Appendix CAppendix D Spec Sheets C370, C450, and C550 Spec SheetsMotorola Developer Information Tools DocumentationReferences Purchase Motorola Developer Information Tools Motorola, Inc
Related manuals
Manual 110 pages 1.04 Kb