Files in the sample application

File name

Description

CustomComponentsDemo.java

  • contains the entry point for the sample application
  • contains the CustomComponentsDemo() constructor that creates and displays the CustomComponentsDemoScreen demo screen
  • contains the inner class CustomComponentsDemoScreen that creates, adds, and displays IconToolbarComponent, TableComponent, ValueComponent, and TextComponent objects and their associated labels

IconToolbarComponent.java

class which defines the toolbar component that displays clickable icons in the sample application

TableComponent.java

class that defines a table that is used by the sample application

TextComponent.java

class that defines the text that is displayed in the sample application

ValueComponent.java

class that defines the value that the BlackBerry® device user can change in the sample application

ChildReader.java

class that reads accessible child elements

ScreenReader.java

class that manages how an event is handled based on the context of the changed UI component

ScreenReaderHandler.java

handler that defines how each type of event is handled when the user changes or clicks a UI component

Next topic: System requirements
Previous topic: Featured interfaces

Was this information helpful? Send us your comments.