|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mamarce.mhp.mf.xlet.MXLet com.mamarce.mhp.mf.examples.slideshow.SlideShowXlet
public class SlideShowXlet
SlideShowXlet is a simple com.mamarce.mhp.mf.examples.slideshow xlet that use CspFramework.
The xlet display mhp supported images (jpg, png, gif) stored in images folder. The application can be configured through a configuration file called condig.txt.
Field Summary | |
---|---|
static java.lang.String |
IMAGE_FOLDER
Path where images to display are taken. |
static java.lang.String |
ROOT
Root directory for this example. |
Constructor Summary | |
---|---|
SlideShowXlet()
|
Method Summary | |
---|---|
void |
destroyXlet(boolean unconditional)
It resize video layer and removes background image. |
void |
initXlet(javax.tv.xlet.XletContext xletContext)
Initialize background, read configuration file and create a container/controller. |
void |
startXlet()
Displays background and hides video. |
Methods inherited from class com.mamarce.mhp.mf.xlet.MXLet |
---|
addToScene, addToScene, getActiveListener, getOldListener, getXletContext, notifyDestroied, pauseXlet, setActiveListener, setExitContainerEnabled |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ROOT
public static final java.lang.String IMAGE_FOLDER
Constructor Detail |
---|
public SlideShowXlet()
Method Detail |
---|
public void destroyXlet(boolean unconditional) throws javax.tv.xlet.XletStateChangeException
destroyXlet
in interface javax.tv.xlet.Xlet
destroyXlet
in class MXLet
unconditional
- If unconditional is true when this method is called, requests
by the Xlet to not enter the destroyed state will be ignored.
javax.tv.xlet.XletStateChangeException
- is thrown if the Xlet wishes to continue to execute (Not
enter the Destroyed state). This exception is ignored if
unconditional is equal to true.MXLet.destroyXlet(boolean)
public void initXlet(javax.tv.xlet.XletContext xletContext) throws javax.tv.xlet.XletStateChangeException
initXlet
in interface javax.tv.xlet.Xlet
initXlet
in class MXLet
xletContext
- the XletContext of the Xlet.
javax.tv.xlet.XletStateChangeException
- If the Xlet cannot be initialized.MXLet.initXlet(javax.tv.xlet.XletContext)
public void startXlet() throws javax.tv.xlet.XletStateChangeException
startXlet
in interface javax.tv.xlet.Xlet
startXlet
in class MXLet
javax.tv.xlet.XletStateChangeException
- is thrown if the Xlet cannot start providing service.MXLet.startXlet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |