gr.bluevibe.fire.test
Class ReadMe

java.lang.Object
  extended byjavax.microedition.midlet.MIDlet
      extended bygr.bluevibe.fire.test.ReadMe
All Implemented Interfaces:
CommandListener

public class ReadMe
extends javax.microedition.midlet.MIDlet
implements CommandListener

This Midlet is a demonstration and a walk-through on developing a GUI using the Fire Engine. Read the comments in the source for details. On the following walk through I assume you've gone throught the documentation and got a general idea of what each Fire class does. In order for the FireScreen singleton to initialize correctly it must have a theme file. So make sure you have the default theme provided with the source.

Author:
padeler

Constructor Summary
ReadMe()
          A midlet that will demostrate the capabilities of the Fire Components and how to use them.
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command cmd, Component c)
          All the actions in this demo use this CommandListener's commandAction.
 Panel createPanel()
          Demonstrates how to create a simple panel on Fire engine.
 Panel createPanel2()
          This method demonstrates the Ticker, and the DateTimeRow
 Panel createPanel3()
          This method demostrates how to dynamically add and remove components from a Panel.
protected  void destroyApp(boolean arg0)
           
protected  void pauseApp()
           
protected  void startApp()
           
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadMe

public ReadMe()
A midlet that will demostrate the capabilities of the Fire Components and how to use them.

Method Detail

startApp

protected void startApp()
                 throws javax.microedition.midlet.MIDletStateChangeException
Throws:
javax.microedition.midlet.MIDletStateChangeException

createPanel

public Panel createPanel()
Demonstrates how to create a simple panel on Fire engine. It shows the use of Row as a means to display images, text, create textfields, links (or buttons) etc. It also demonstrates the use of a ListBox, and the Busy mode of the FireScreen. Finally it shows how to create a popup menu.


createPanel2

public Panel createPanel2()
This method demonstrates the Ticker, and the DateTimeRow

Returns:
A panel

createPanel3

public Panel createPanel3()
This method demostrates how to dynamically add and remove components from a Panel.

Returns:

pauseApp

protected void pauseApp()

destroyApp

protected void destroyApp(boolean arg0)
                   throws javax.microedition.midlet.MIDletStateChangeException
Throws:
javax.microedition.midlet.MIDletStateChangeException

commandAction

public void commandAction(javax.microedition.lcdui.Command cmd,
                          Component c)
All the actions in this demo use this CommandListener's commandAction. Check the individual comments for each example.

Specified by:
commandAction in interface CommandListener
Parameters:
cmd - the command that was fired
c - the component that fired the command
See Also:
CommandListener.commandAction(javax.microedition.lcdui.Command, gr.bluevibe.fire.components.Component)