|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ui.Background
de.enough.polish.ui.backgrounds.MaskBackground
public class MaskBackground
Copyright Enough Software 2007 - 2008
history
Nov 21, 2007 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ui.Background |
|---|
borderWidth |
| Constructor Summary | |
|---|---|
MaskBackground(Background mask,
int maskColor,
Background background,
int opacity)
Creates a new combiend background. |
|
| Method Summary | |
|---|---|
boolean |
animate()
Animates this background. |
void |
hideNotify()
Informs the background that it is being hidden shortly. |
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. |
void |
showNotify()
Informs the background that it is being shown shortly or that it is now applied to a new visible item. |
| Methods inherited from class de.enough.polish.ui.Background |
|---|
addRelativeToBackgroundRegion, animate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MaskBackground(Background mask,
int maskColor,
Background background,
int opacity)
mask - the background used for masking the actual backgroundmaskColor - the color of the maskbackground - the background painted in the backgroundopacity - the overall maximum opacity between 0 (invisible) to 255 (fully opaque)| Method Detail |
|---|
public void paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Background
paint in class Backgroundx - 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.public boolean animate()
Background
animate in class BackgroundBackground.animate(Screen, Item, long, ClippingRegion)public void hideNotify()
Background
hideNotify in class Backgroundpublic void releaseResources()
Background
releaseResources in class Backgroundpublic void showNotify()
Background
showNotify in class Background
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||