DCT Lightfoot v3 API specification

javax.microedition.midlet
Class MIDlet

java.lang.Object
  |
  +--javax.microedition.midlet.MIDlet

public abstract class MIDlet
extends Object

This implements a midlet


Constructor Summary
protected MIDlet()
           
 
Method Summary
protected abstract  void destroyApp(boolean unconditional)
          Destroy the application
 java.lang.String getAppProperty(java.lang.String key)
          Get an application property
 void notifyDestroyed()
          Notify any management software that the midlet has been destroyed
 void notifyPaused()
          Notify any management software that the midlet has paused
protected abstract  void pauseApp()
          Pause the application
 void resumeRequest()
          Tell the management software that this midlet wants to resume
protected abstract  void startApp()
          Start the application
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIDlet

protected MIDlet()
Method Detail

startApp

protected abstract void startApp()
                          throws MIDletStateChangeException
Start the application

Throws:
MIDLetStateChangeException - if the midlet cannot start
MIDletStateChangeException

pauseApp

protected abstract void pauseApp()
Pause the application


destroyApp

protected abstract void destroyApp(boolean unconditional)
                            throws MIDletStateChangeException
Destroy the application

Parameters:
unconditional - if true means it has to stop
Throws:
MIDletStateChangeException - if the midlet cannot start

notifyDestroyed

public final void notifyDestroyed()
Notify any management software that the midlet has been destroyed


notifyPaused

public final void notifyPaused()
Notify any management software that the midlet has paused


getAppProperty

public final java.lang.String getAppProperty(java.lang.String key)
Get an application property

Parameters:
key - The property
Returns:
the value

resumeRequest

public final void resumeRequest()
Tell the management software that this midlet wants to resume


DCT Lightfoot v3 API specification

DCT Lightfoot v3 API specification