com.sun.perseus.demo
Class CreateEmptyImageDemo

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

public class CreateEmptyImageDemo
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_NAMESPACE_URI
           
(package private)  SVGImageCanvas svgCanvas
           
 
Constructor Summary
CreateEmptyImageDemo()
           
 
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_NAMESPACE_URI

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

svgCanvas

SVGImageCanvas svgCanvas
Constructor Detail

CreateEmptyImageDemo

public CreateEmptyImageDemo()
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