|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.svg.component.LoadingScreen
public class LoadingScreen
Nested Class Summary | |
---|---|
static interface |
LoadingScreen.Listener
Interface that a class waiting for the SVGImage resource to be loaded should implement. |
(package private) class |
LoadingScreen.SVGImageLoadingTask
|
(package private) class |
LoadingScreen.UpdateProgress
|
Field Summary | |
---|---|
protected SVGProgressBar |
loadProgressBar
Horizontal Progress Bar. |
Constructor Summary | |
---|---|
LoadingScreen(javax.microedition.m2g.SVGAnimator svgAnimator,
javax.microedition.m2g.SVGImage svgImage,
java.lang.String svgImagePath,
int svgImageSize,
LoadingScreen.Listener listener)
Creates a new instance of SVGImageLoadingScreen |
Method Summary | |
---|---|
void |
streamProgress(float p)
Called when more bytes have been read from the input stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SVGProgressBar loadProgressBar
Constructor Detail |
---|
public LoadingScreen(javax.microedition.m2g.SVGAnimator svgAnimator, javax.microedition.m2g.SVGImage svgImage, java.lang.String svgImagePath, int svgImageSize, LoadingScreen.Listener listener)
svgAnimator
- the associated SVGAnimator instancesvgImage
- the associated SVGImage instancesvgImagePath
- the path of the SVG image file to loadsvgImageSize
- the expected size for the SVGImage to load.Method Detail |
---|
public void streamProgress(float p)
streamProgress
in interface ProgressiveInputStream.Listener
p
- the current penetration in the input stream, in the [0, 1] interval.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |