org.netbeans.microedition.svg
Class SVGAnimatorWrapper

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Canvas
          extended by org.netbeans.microedition.svg.SVGPlayer
              extended by org.netbeans.microedition.svg.SVGAnimatorWrapper
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener
Direct Known Subclasses:
SVGMenu, SVGSplashScreen, SVGWaitScreen

Deprecated. This class has been deprected with 6.0 version of NetBeans. Please use SVGPlayer instead of it.

public class SVGAnimatorWrapper
extends SVGPlayer

This is wrapper class, which exposes some of the setters avilable from SVGAnimator owned canvas to this wrapper, so it can be used as a component in VisualDesigner. It also adds many utility methods which can be used to easily manipulate the underlying document of the animated SVG image.

In this version this class simply extends SVGPlayer and does not define any methods/fields. It is kept here only for backward compatibility reasons


Field Summary
 
Fields inherited from class org.netbeans.microedition.svg.SVGPlayer
BOTTOM, BOTTOM_LEFT, BOTTOM_RIGHT, CENTER, LEFT, PAUSED, PLAYING, RIGHT, STOPPED, TOP, TOP_LEFT, TOP_RIGHT
 
Fields inherited from class javax.microedition.lcdui.Canvas
DOWN, FIRE, GAME_A, GAME_B, GAME_C, GAME_D, KEY_NUM0, KEY_NUM1, KEY_NUM2, KEY_NUM3, KEY_NUM4, KEY_NUM5, KEY_NUM6, KEY_NUM7, KEY_NUM8, KEY_NUM9, KEY_POUND, KEY_STAR, UP
 
Constructor Summary
SVGAnimatorWrapper(javax.microedition.m2g.SVGImage svgImage, javax.microedition.lcdui.Display display)
          Deprecated. This class has been deprected with 6.0 version of NetBeans. Please use SVGPlayer instead of it.
 
Method Summary
 
Methods inherited from class org.netbeans.microedition.svg.SVGPlayer
addCommand, commandAction, computeAnchorTranslate, getAnimator, getAnimatorState, getCommandListener, getDisplay, getDocument, getSafeSVGEventListener, getScreenBBox, getSVGAnimationElementById, getSvgCanvas, getSVGElementById, getSVGEventListener, getSVGImage, getSVGLocatableElementById, getTicker, getTimeIncrement, getTitle, invokeAndWait, invokeAndWaitSafely, invokeLater, invokeLaterSafely, isResetAnimationWhenStopped, paint, pause, play, removeCommand, reset, rotate, rotate, rotateAbout, rotateAbout, rotateAboutSafely, rotateSafely, scale, scale, scaleAbout, scaleAbout, scaleAboutSafely, scaleSafely, screenTranslate, screenTranslate, screenTranslateSafely, setCommandListener, setFloatTrait, setFloatTraitSafely, setFullScreenMode, setResetAnimationWhenStopped, setRGBTrait, setRGBTrait, setRGBTraitSafely, setRGBTraitSafely, setSafeSVGEventListener, setStartAnimationImmediately, setSVGEventListener, setTicker, setTimeIncrement, setTitle, setTrait, setTraitSafely, startAnimation, startAnimation, startAnimationSafely, stop, stopAnimation, stopAnimation, stopAnimationSafely, translate, translate, translateSafely
 
Methods inherited from class javax.microedition.lcdui.Canvas
getGameAction, getKeyCode, getKeyName, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, hideNotify, isDoubleBuffered, keyPressed, keyReleased, keyRepeated, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, serviceRepaints, showNotify, sizeChanged
 
Methods inherited from class javax.microedition.lcdui.Displayable
getHeight, getWidth, isShown
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGAnimatorWrapper

public SVGAnimatorWrapper(javax.microedition.m2g.SVGImage svgImage,
                          javax.microedition.lcdui.Display display)
                   throws java.lang.IllegalArgumentException
Deprecated. This class has been deprected with 6.0 version of NetBeans. Please use SVGPlayer instead of it.

Creates a new instance of SvgAnimatorHelper. It requires SVGImage to be animated and display.

Please note, supplied SVGImage shouldn't be reused in other SVGAnimator.

Throws:
java.lang.IllegalArgumentException