net.comtor.j2me.midlet
Class MIDletTemplate

java.lang.Object
  extended byMIDlet
      extended bynet.comtor.j2me.midlet.MIDletTemplate

public abstract class MIDletTemplate
extends MIDlet

See Also:
Serialized Form

Constructor Summary
MIDletTemplate()
          Creates a new instance of MIDletTemplate Initialize GlobalGui and display variable
 
Method Summary
protected  void destroyApp(boolean param)
           
 javax.microedition.lcdui.Display getDisplay()
          Getter for property display.
protected  void pauseApp()
          Maneja el evento en el cual se pausa la aplicacion por una llamada o por solicitud del usuario
abstract  void realStart()
          This method is the real start of Applet You mut be call here the first Displayable i.e: getDisplay().setCurrent(new Form("TEST"));
 void setDisplay(javax.microedition.lcdui.Display display)
          Setter for property display.
protected  void startApp()
          This method is called when the Midlet starts or the Midlet returns from pause state this method restores last Displayable before pause
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MIDletTemplate

public MIDletTemplate()
Creates a new instance of MIDletTemplate Initialize GlobalGui and display variable

Method Detail

destroyApp

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

pauseApp

protected void pauseApp()
Maneja el evento en el cual se pausa la aplicacion por una llamada o por solicitud del usuario


startApp

protected void startApp()
                 throws javax.microedition.midlet.MIDletStateChangeException
This method is called when the Midlet starts or the Midlet returns from pause state this method restores last Displayable before pause

Throws:
javax.microedition.midlet.MIDletStateChangeException

getDisplay

public javax.microedition.lcdui.Display getDisplay()
Getter for property display.

Returns:
Value of property display.

setDisplay

public void setDisplay(javax.microedition.lcdui.Display display)
Setter for property display.

Parameters:
display - New value of property display.

realStart

public abstract void realStart()
This method is the real start of Applet You mut be call here the first Displayable i.e: getDisplay().setCurrent(new Form("TEST"));