net.comtor.j2me.gui
Class GraphicMessage

java.lang.Object
  extended byCanvas
      extended bynet.comtor.j2me.gui.GenericCanvas
          extended bynet.comtor.j2me.gui.CanvasClean
              extended bynet.comtor.j2me.gui.GraphicMessage

public class GraphicMessage
extends CanvasClean

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
GraphicMessage(java.lang.String message)
          Creates a new instance of GraphicMessage
GraphicMessage(java.lang.String message, GlobalGui gg)
           
 
Method Summary
 javax.microedition.lcdui.Font getFont()
          Getter for property font.
 java.lang.String getMessage()
          Getter for property message.
 int getTextWidth()
          Getter for property width.
protected  void paint(javax.microedition.lcdui.Graphics g)
           
 void setFont(javax.microedition.lcdui.Font font)
          Setter for property font.
 void setMessage(java.lang.String message)
          Setter for property message.
 void setTextWidth(int width)
          Setter for property width.
 
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

GraphicMessage

public GraphicMessage(java.lang.String message)
Creates a new instance of GraphicMessage


GraphicMessage

public GraphicMessage(java.lang.String message,
                      GlobalGui gg)
Method Detail

paint

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

getMessage

public java.lang.String getMessage()
Getter for property message.

Returns:
Value of property message.

setMessage

public void setMessage(java.lang.String message)
Setter for property message.

Parameters:
message - New value of property message.

getFont

public javax.microedition.lcdui.Font getFont()
Getter for property font.

Returns:
Value of property font.

setFont

public void setFont(javax.microedition.lcdui.Font font)
Setter for property font.

Parameters:
font - New value of property font.

getTextWidth

public int getTextWidth()
Getter for property width.

Returns:
Value of property width.

setTextWidth

public void setTextWidth(int width)
Setter for property width.

Parameters:
width - New value of property width.