de.enough.polish.ui.backgrounds
Class TranslucentSimpleBackground
java.lang.Object
de.enough.polish.ui.Background
de.enough.polish.ui.backgrounds.TranslucentSimpleBackground
- All Implemented Interfaces:
- Serializable
public class TranslucentSimpleBackground
- extends Background
Paints a simple translucent background.
Copyright Enough Software 2004 - 2008
history
19-Nov-2004 - rob creation
- Author:
- Robert Virkus, j2mepolish@enough.de
|
Method Summary |
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints this background. |
void |
releaseResources()
Releases all (memory intensive) resources such as images or RGB arrays of this background. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslucentSimpleBackground
public TranslucentSimpleBackground(int argbColor)
- Creates a new TranslucentBackground
- Parameters:
argbColor - the AARRGGBB color with an alpha-channel between 0 and 255.
paint
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
- Description copied from class:
Background
- Paints this background.
- Specified by:
paint in class 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.
releaseResources
public void releaseResources()
- Releases all (memory intensive) resources such as images or RGB arrays of this background.
- Overrides:
releaseResources in class Background