|
||||||||||
| 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.VideoBackground
public class VideoBackground
Plays a video in an background.
Note that you can use this background only when you target device supports the MMAPI 1.1 or higher.
Copyright Enough Software 2007 - 2009
history
Nov 8, 2007 - rob creation
| Field Summary |
|---|
| Fields inherited from class de.enough.polish.ui.Background |
|---|
borderWidth |
| Constructor Summary | |
|---|---|
VideoBackground(int color,
String url,
String mimeType,
int loopCount,
int anchor,
int xOffset,
int yOffset)
|
|
| Method Summary | |
|---|---|
void |
hideNotify()
Informs the background that it is being hidden shortly. |
void |
paint(int x,
int y,
int width,
int height,
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, animate, setStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VideoBackground(int color,
String url,
String mimeType,
int loopCount,
int anchor,
int xOffset,
int yOffset)
color - url - mimeType - loopCount - anchor - xOffset - yOffset - | Method Detail |
|---|
public void paint(int x,
int y,
int width,
int height,
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 void releaseResources()
Background
releaseResources in class Backgroundpublic void hideNotify()
Background
hideNotify 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 | |||||||||