com.sun.perseus.demo
Class RenderSVGImageDemo

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by com.sun.perseus.demo.RenderSVGImageDemo
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class RenderSVGImageDemo
extends javax.microedition.midlet.MIDlet
implements javax.microedition.lcdui.CommandListener

Simple demo which creates an empty SVGImage, populates it with a graphical content and then displays that content.


Field Summary
static java.lang.String SVG_IMAGE
           
(package private)  SVGImageCanvas svgCanvas
           
 
Constructor Summary
RenderSVGImageDemo()
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable d)
           
 void destroyApp(boolean unconditional)
           
 void pauseApp()
           
 void startApp()
           
 
Methods inherited from class javax.microedition.midlet.MIDlet
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SVG_IMAGE

public static final java.lang.String SVG_IMAGE
See Also:
Constant Field Values

svgCanvas

SVGImageCanvas svgCanvas
Constructor Detail

RenderSVGImageDemo

public RenderSVGImageDemo()
Method Detail

startApp

public void startApp()
Specified by:
startApp in class javax.microedition.midlet.MIDlet

pauseApp

public void pauseApp()
Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

public void destroyApp(boolean unconditional)
Specified by:
destroyApp in class javax.microedition.midlet.MIDlet

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable d)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener