org.openbandy.ui
Class StartupScreen

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.Form
              extended by org.openbandy.ui.StartupScreen

public class StartupScreen
extends javax.microedition.lcdui.Form

The startup screen is a simple form that can display a logo image, a gauge to indicate the progress of the startup process along with a short text to inform the user about what is going on.

(c) Copyright Philipp Bolliger 2007, ALL RIGHTS RESERVED.

Version:
1.0
Author:
Philipp Bolliger (philipp@bolliger.name)

Constructor Summary
StartupScreen(javax.microedition.lcdui.Image logo, int numberOfStepsToBeCompletedDuringStartup)
          Constructor for the StartupScreen
 
Method Summary
 void showActionAtStartupGauge(java.lang.String actionText)
          Shows the actionText at the startup screen and advances the gauge.
 
Methods inherited from class javax.microedition.lcdui.Form
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartupScreen

public StartupScreen(javax.microedition.lcdui.Image logo,
                     int numberOfStepsToBeCompletedDuringStartup)
Constructor for the StartupScreen

Parameters:
logo - Image shown on the startup screen
numberOfStepsToBeCompletedDuringStartup - The number of steps that will be executed during startup
Method Detail

showActionAtStartupGauge

public void showActionAtStartupGauge(java.lang.String actionText)
Shows the actionText at the startup screen and advances the gauge.

Parameters:
actionText - Text to be shown to the user on the startup screen