|
||||||||||
| 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.FadeInBackground
public class FadeInBackground
Fades in the background from fully transparent to the target color, which might also be translucent.
This background is only available when the target device supports MIDP 2.0
Copyright (c) Enough Software 2005 - 2008
history
22-Aug-2005 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ui.Background |
|---|
borderWidth |
| Constructor Summary | |
|---|---|
FadeInBackground(int targetArgbColor,
boolean restartOnTime,
boolean restartOnShowNotify)
Creates a new fade-in background |
|
| Method Summary | |
|---|---|
boolean |
animate()
Animates this background. |
void |
paint(int x,
int y,
int width,
int height,
javax.microedition.lcdui.Graphics g)
Paints 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, hideNotify, releaseResources |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FadeInBackground(int targetArgbColor,
boolean restartOnTime,
boolean restartOnShowNotify)
targetArgbColor - the target colorrestartOnTime - true when the animation should restart after 5 seconds in showNotifyrestartOnShowNotify - true when the animation should be restarted every time showNotify is called| 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 showNotify()
Background
showNotify in class Background
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||