net.kbox
Class ActionForward

java.lang.Object
  extended by net.kbox.ActionForward

public class ActionForward
extends java.lang.Object

ActionForward is used to forward the result of a action to midlet.

Author:
blackbox

Field Summary
protected  javax.microedition.midlet.MIDlet midlet
           
 
Constructor Summary
protected ActionForward()
           
 
Method Summary
 void forward(javax.microedition.lcdui.Alert alert, javax.microedition.lcdui.Displayable dis)
          Forward a alert, and then turn to the display.
 void forward(javax.microedition.lcdui.Displayable dis)
          Forward the display component to midlet.
 javax.microedition.lcdui.Displayable getCurrentDisplay()
          Return current visible display.
 javax.microedition.midlet.MIDlet getForward()
          Return the midlet
 void setMidlet(javax.microedition.midlet.MIDlet midlet)
          Set the midlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

midlet

protected javax.microedition.midlet.MIDlet midlet
Constructor Detail

ActionForward

protected ActionForward()
Method Detail

forward

public void forward(javax.microedition.lcdui.Displayable dis)
Forward the display component to midlet.

Parameters:
dis -

forward

public void forward(javax.microedition.lcdui.Alert alert,
                    javax.microedition.lcdui.Displayable dis)
Forward a alert, and then turn to the display.

Parameters:
alert -
dis -

getCurrentDisplay

public javax.microedition.lcdui.Displayable getCurrentDisplay()
Return current visible display.


getForward

public javax.microedition.midlet.MIDlet getForward()
Return the midlet


setMidlet

public void setMidlet(javax.microedition.midlet.MIDlet midlet)
Set the midlet

Parameters:
midlet -