net.comtor.j2me.gui
Class ErrorMessage

java.lang.Object
  extended byCanvas
      extended bynet.comtor.j2me.gui.GenericCanvas
          extended bynet.comtor.j2me.gui.CanvasClean
              extended bynet.comtor.j2me.gui.GraphicsMessageCanvas
                  extended bynet.comtor.j2me.gui.ErrorMessage
All Implemented Interfaces:
java.lang.Runnable

public class ErrorMessage
extends GraphicsMessageCanvas
implements java.lang.Runnable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.comtor.j2me.gui.GenericCanvas
ARROW_LEFT, ARROW_RIGTH, fontMonoBoldSmall, fontMonoPlainSmall, KEY_MENU, KEY_PTT, SOFT_LEFT, SOFT_RIGTH
 
Constructor Summary
ErrorMessage(java.lang.String title, java.lang.String message)
           
ErrorMessage(java.lang.String logoPath, java.lang.String title, java.lang.String message, AlertType alertType, long time)
          Creates a new instance of ErrorMessage
 
Method Summary
 javax.microedition.lcdui.Displayable getLastDisplay()
          Getter for property lastDisplay.
protected  void keyPressed(int k)
           
protected  void paint(javax.microedition.lcdui.Graphics g)
           
 void run()
           
 void setLastDisplay(javax.microedition.lcdui.Displayable lastDisplay)
          Setter for property lastDisplay.
 
Methods inherited from class net.comtor.j2me.gui.GraphicsMessageCanvas
getMessage, getTitle, setMessage, setTitle
 
Methods inherited from class net.comtor.j2me.gui.GenericCanvas
commandAction, initCanvas, paint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorMessage

public ErrorMessage(java.lang.String logoPath,
                    java.lang.String title,
                    java.lang.String message,
                    AlertType alertType,
                    long time)
Creates a new instance of ErrorMessage


ErrorMessage

public ErrorMessage(java.lang.String title,
                    java.lang.String message)
Method Detail

paint

protected void paint(javax.microedition.lcdui.Graphics g)
Overrides:
paint in class GraphicsMessageCanvas

keyPressed

protected void keyPressed(int k)

run

public void run()
Specified by:
run in interface java.lang.Runnable

getLastDisplay

public javax.microedition.lcdui.Displayable getLastDisplay()
Getter for property lastDisplay.

Returns:
Value of property lastDisplay.

setLastDisplay

public void setLastDisplay(javax.microedition.lcdui.Displayable lastDisplay)
Setter for property lastDisplay.

Parameters:
lastDisplay - New value of property lastDisplay.