|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mamarce.mhp.mf.components.MBackground
public final class MBackground
Title : MBackground.java . Copyright: Copyright (c) 2005 Company: www.mamarce.come.come.com
Method Summary | |
---|---|
void |
displayBgImage()
Dysplay The image previously set. |
static MBackground |
getInstance(javax.tv.xlet.XletContext xletContext)
Gets an instace of MBackground . |
void |
hideVideo()
Hides Video Layer. |
void |
notifyRelease(org.davic.resources.ResourceProxy proxy)
|
void |
release()
Destroys this component. |
void |
release(org.davic.resources.ResourceProxy proxy)
|
boolean |
requestRelease(org.davic.resources.ResourceProxy proxy,
java.lang.Object object)
|
void |
setBgImage(java.lang.String image)
Sets the background image. |
void |
setSize(java.awt.Rectangle destination)
Set the size of the VideoLayer. |
void |
setSize(java.awt.Rectangle source,
java.awt.Rectangle destination)
Set the size of the VideoLayer. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MBackground getInstance(javax.tv.xlet.XletContext xletContext)
MBackground
.
xletContext
- context for the application.
MBackground
.public void setBgImage(java.lang.String image)
image
- image path.public void displayBgImage()
public void setSize(java.awt.Rectangle source, java.awt.Rectangle destination)
setSize()
is necessary because the background image will
not be visible behind the video.
source
- The rectangle representing the portion of the source video to
display, in the coordinate system of the screen.destination
- The rectangle representing where the video is to be displayed,
in the coordinate system of the screen.public void setSize(java.awt.Rectangle destination)
setSize()
is necessary because the background image will
not be visible behind the video.
destination
- The rectangle representing where the video is to be displayed,
in the coordinate system of the screen.public void hideVideo()
public void release()
public boolean requestRelease(org.davic.resources.ResourceProxy proxy, java.lang.Object object)
requestRelease
in interface org.davic.resources.ResourceClient
public void release(org.davic.resources.ResourceProxy proxy)
release
in interface org.davic.resources.ResourceClient
public void notifyRelease(org.davic.resources.ResourceProxy proxy)
notifyRelease
in interface org.davic.resources.ResourceClient
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |