| org.netbeans.microedition.svg.SVGPlayer org.netbeans.microedition.svg.SVGAnimatorWrapper org.netbeans.microedition.svg.SVGSplashScreen
SVGSplashScreen | public class SVGSplashScreen extends SVGAnimatorWrapper (Code) | | This component represents a splash screen, which is usually being displayed
when the application starts. It waits for a specified amount of time (by default
5000 milliseconds) and then calls specified command listener commandAction method
with DISMISS_COMMAND as command parameter. It displays an animation of SVG image.
author: breh |
Field Summary | |
final public static Command | DISMISS_COMMAND | final public static int | FOREVER Timeout value which wait forever. |
Constructor Summary | |
public | SVGSplashScreen(SVGImage svgImage, Display display) Creates a new instance of SVGSplashScreen
Please note, supplied SVGImage shouldn't be reused in other SVGAnimator. |
DISMISS_COMMAND | final public static Command DISMISS_COMMAND(Code) | | Command fired when the screen is about to be dismissed
|
FOREVER | final public static int FOREVER(Code) | | Timeout value which wait forever. Value is "0".
|
SVGSplashScreen | public SVGSplashScreen(SVGImage svgImage, Display display) throws IllegalArgumentException(Code) | | Creates a new instance of SVGSplashScreen
Please note, supplied SVGImage shouldn't be reused in other SVGAnimator.
|
getTimeout | public int getTimeout()(Code) | | Gets current timeout of the splash screen
timeout value |
isAllowTimeoutInterrupt | public boolean isAllowTimeoutInterrupt()(Code) | | Can be the splashscreen interrupted (dismissed) by the user pressing a key?
true if user can interrupt it, false otherwise |
setAllowTimeoutInterrupt | public void setAllowTimeoutInterrupt(boolean allow)(Code) | | Set to true, when the timeout with a specified timeout interval can
be interrupted by pressing a key.
Parameters: allow - true if the user can interrupt the screen, false if the user need to waituntil timeout. |
setTimeout | public void setTimeout(int timeout)(Code) | | Sets the timeout of the splash screen - i.e. the time in milliseconds for
how long the splash screen is going to be shown on the display.
If the supplied timeout is 0, then the splashscreen waits forever (it needs to
be dismissed by pressing a key)
Parameters: timeout - in milliseconds |
Methods inherited from org.netbeans.microedition.svg.SVGPlayer | public void addCommand(Command cmd)(Code)(Java Doc) public void commandAction(Command command, Displayable displayable)(Code)(Java Doc) protected float[] computeAnchorTranslate(SVGRect bbox, int anchor)(Code)(Java Doc) protected SVGAnimator getAnimator()(Code)(Java Doc) public synchronized int getAnimatorState()(Code)(Java Doc) final protected CommandListener getCommandListener()(Code)(Java Doc) protected Display getDisplay()(Code)(Java Doc) public SVGAnimationElement getSVGAnimationElementById(String id) throws IllegalArgumentException(Code)(Java Doc) public SVGElement getSVGElementById(String id) throws IllegalArgumentException(Code)(Java Doc) public SVGEventListener getSVGEventListener()(Code)(Java Doc) final public SVGImage getSVGImage()(Code)(Java Doc) public SVGLocatableElement getSVGLocatableElementById(String id) throws IllegalArgumentException(Code)(Java Doc) public SVGEventListener getSafeSVGEventListener()(Code)(Java Doc) public SVGRect getScreenBBox(String id)(Code)(Java Doc) public Canvas getSvgCanvas()(Code)(Java Doc) public Ticker getTicker()(Code)(Java Doc) public float getTimeIncrement()(Code)(Java Doc) public String getTitle()(Code)(Java Doc) public void invokeAndWait(Runnable runnable) throws InterruptedException(Code)(Java Doc) public synchronized void invokeAndWaitSafely(Runnable runnable)(Code)(Java Doc) public void invokeLater(Runnable runnable)(Code)(Java Doc) public synchronized void invokeLaterSafely(Runnable runnable)(Code)(Java Doc) public boolean isResetAnimationWhenStopped()(Code)(Java Doc) protected void paint(Graphics graphics)(Code)(Java Doc) public synchronized void pause()(Code)(Java Doc) public synchronized void play()(Code)(Java Doc) public void removeCommand(Command cmd)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void rotate(String id, float angle)(Code)(Java Doc) public void rotate(SVGElement svgElement, float angle)(Code)(Java Doc) public void rotateAbout(String id, float angle, int anchor)(Code)(Java Doc) public void rotateAbout(SVGLocatableElement svgLocatableElement, float angle, int anchor)(Code)(Java Doc) public void rotateAboutSafely(String id, float angle, int anchor)(Code)(Java Doc) public void rotateSafely(String id, float angle)(Code)(Java Doc) public void scale(String id, float sx, float sy)(Code)(Java Doc) public void scale(SVGElement svgElement, float sx, float sy)(Code)(Java Doc) public void scaleAbout(String id, float sx, float sy, int anchor)(Code)(Java Doc) public void scaleAbout(SVGLocatableElement svgLocatableElement, float sx, float sy, int anchor)(Code)(Java Doc) public void scaleAboutSafely(String id, float sx, float sy, int anchor)(Code)(Java Doc) public void scaleSafely(String id, float sx, float sy)(Code)(Java Doc) public void screenTranslate(String id, float tx, float ty)(Code)(Java Doc) public void screenTranslate(SVGLocatableElement svgLocatableElement, float tx, float ty)(Code)(Java Doc) public void screenTranslateSafely(String id, float tx, float ty)(Code)(Java Doc) public void setCommandListener(CommandListener commandListener)(Code)(Java Doc) public void setFloatTrait(String id, String traitName, float traitValue)(Code)(Java Doc) public void setFloatTraitSafely(String id, String traitName, float traitValue)(Code)(Java Doc) public void setFullScreenMode(boolean mode)(Code)(Java Doc) public void setRGBTrait(String id, String traitName, int rgb)(Code)(Java Doc) public void setRGBTrait(String id, String traitName, int r, int g, int b)(Code)(Java Doc) public void setRGBTraitSafely(String id, String traitName, int rgb)(Code)(Java Doc) public void setRGBTraitSafely(String id, String traitName, int r, int g, int b)(Code)(Java Doc) public void setResetAnimationWhenStopped(boolean reset)(Code)(Java Doc) public void setSVGEventListener(SVGEventListener svgEventListener)(Code)(Java Doc) public void setSafeSVGEventListener(SVGEventListener safeSvgEventListener)(Code)(Java Doc) public void setStartAnimationImmediately(boolean startAnimation)(Code)(Java Doc) public void setTicker(Ticker ticker)(Code)(Java Doc) public void setTimeIncrement(float timeIncrement)(Code)(Java Doc) public void setTitle(String s)(Code)(Java Doc) public void setTrait(String id, String traitName, String traitValue)(Code)(Java Doc) public void setTraitSafely(String id, String traitName, String traitValue)(Code)(Java Doc) public void startAnimation(String elementId)(Code)(Java Doc) public void startAnimation(String elementId, float delay)(Code)(Java Doc) public void startAnimationSafely(String elementId)(Code)(Java Doc) public synchronized void stop()(Code)(Java Doc) public void stopAnimation(String elementId)(Code)(Java Doc) public void stopAnimation(String elementId, float delay)(Code)(Java Doc) public void stopAnimationSafely(String elementId)(Code)(Java Doc) public void translate(String id, float tx, float ty)(Code)(Java Doc) public void translate(SVGElement svgElement, float tx, float ty)(Code)(Java Doc) public void translateSafely(String id, float tx, float ty)(Code)(Java Doc)
|
|
|