com.incrediblesoft.redjey.backgrounds
Class SimpleBackground

java.lang.Object
  extended by com.incrediblesoft.redjey.backgrounds.Background
      extended by com.incrediblesoft.redjey.backgrounds.SimpleBackground

public class SimpleBackground
extends Background


Field Summary
 
Fields inherited from class com.incrediblesoft.redjey.backgrounds.Background
borderHeight, borderWidth
 
Constructor Summary
SimpleBackground(java.util.Hashtable styleDesc)
           
SimpleBackground(int color)
           
SimpleBackground(int color, int arcWidth, int arcHeight)
           
 
Method Summary
 Background clone()
           
 void paint(javax.microedition.lcdui.Graphics g, int x, int y, int width, int height)
          Paints this background.
 
Methods inherited from class com.incrediblesoft.redjey.backgrounds.Background
tick
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBackground

public SimpleBackground(int color)

SimpleBackground

public SimpleBackground(int color,
                        int arcWidth,
                        int arcHeight)

SimpleBackground

public SimpleBackground(java.util.Hashtable styleDesc)
Method Detail

paint

public void paint(javax.microedition.lcdui.Graphics g,
                  int x,
                  int y,
                  int width,
                  int height)
Description copied from class: Background
Paints this background.

Specified by:
paint in class Background
Parameters:
g - the Graphics on which the background should be painted.
x - the horizontal start point
y - the vertical start point
width - the width of the background
height - the height of the background

clone

public Background clone()
Specified by:
clone in class Background