jMobileCore toolkit

com.jmobilecore.ui
Class SplashScreen

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Canvas
          extended by com.jmobilecore.ui.core.PlatformCanvas
              extended by com.jmobilecore.ui.SplashScreen
All Implemented Interfaces:
java.lang.Runnable

public abstract class SplashScreen
extends PlatformCanvas
implements java.lang.Runnable

Author:
Greg Gridin

Field Summary
protected  javax.microedition.lcdui.Image splashImage
           
protected  long startTime
           
 
Fields inherited from class com.jmobilecore.ui.core.PlatformCanvas
DOUBLE_BUFFER, HEIGHT, KEY_CLEAR, KEY_DOWN, KEY_ENTER, KEY_FIRE, KEY_LEFT, KEY_PHONE_OFF, KEY_PHONE_ON, KEY_RIGHT, KEY_SOFT_LEFT, KEY_SOFT_RIGHT, KEY_UNDEFINED, KEY_UP, KEY_VOLUME_DOWN, KEY_VOLUME_UP, PLATFORM, PLATFORM_BARTEO, PLATFORM_LG, PLATFORM_MOTOROLA, PLATFORM_MOTOROLA_V, PLATFORM_NOKIA, PLATFORM_NOKIA_30, PLATFORM_SAMSUNG, PLATFORM_SIEMENS, PLATFORM_SONYERICSSON, PLATFORM_SUN_WTK, WIDTH
 
Fields inherited from class javax.microedition.lcdui.Canvas
DOWN, FIRE, GAME_A, GAME_B, GAME_C, GAME_D, KEY_NUM0, KEY_NUM1, KEY_NUM2, KEY_NUM3, KEY_NUM4, KEY_NUM5, KEY_NUM6, KEY_NUM7, KEY_NUM8, KEY_NUM9, KEY_POUND, KEY_STAR, LEFT, RIGHT, UP
 
Constructor Summary
SplashScreen(java.lang.String _logoName)
           
 
Method Summary
 void hide(long timeout)
           
protected  void paint(javax.microedition.lcdui.Graphics g)
          Paints the logo to the screen.
 
Methods inherited from class javax.microedition.lcdui.Canvas
getGameAction, getHeight, getKeyCode, getKeyName, getWidth, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, hideNotify, isDoubleBuffered, keyPressed, keyReleased, keyRepeated, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, serviceRepaints, showNotify
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, isShown, removeCommand, setCommandListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

splashImage

protected javax.microedition.lcdui.Image splashImage

startTime

protected long startTime
Constructor Detail

SplashScreen

public SplashScreen(java.lang.String _logoName)
Method Detail

hide

public void hide(long timeout)

paint

protected void paint(javax.microedition.lcdui.Graphics g)
Paints the logo to the screen.

Specified by:
paint in class javax.microedition.lcdui.Canvas
Parameters:
g - The Graphics object to render to.

jMobileCore toolkit