com.incrediblesoft.redjey.backgrounds
Class Background
java.lang.Object
com.incrediblesoft.redjey.backgrounds.Background
- Direct Known Subclasses:
- SimpleBackground
public abstract class Background
- extends java.lang.Object
Constructor Summary |
Background()
Creates a new Background. |
Background(java.util.Hashtable styleDesc)
|
Method Summary |
abstract Background |
clone()
|
abstract void |
paint(javax.microedition.lcdui.Graphics g,
int x,
int y,
int width,
int height)
Paints this background. |
void |
tick(int dt)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
borderWidth
public int borderWidth
- Defines the width and height of this Background.
borderHeight
public int borderHeight
Background
public Background()
- Creates a new Background.
Background
public Background(java.util.Hashtable styleDesc)
tick
public void tick(int dt)
paint
public abstract void paint(javax.microedition.lcdui.Graphics g,
int x,
int y,
int width,
int height)
- Paints this background.
- Parameters:
x
- the horizontal start pointy
- the vertical start pointwidth
- the width of the backgroundheight
- the height of the backgroundg
- the Graphics on which the background should be painted.
clone
public abstract Background clone()
- Overrides:
clone
in class java.lang.Object