javax.microedition.m2g
Class SVGImage

java.lang.Object
  extended by javax.microedition.m2g.ScalableImage
      extended by javax.microedition.m2g.SVGImage

public class SVGImage
extends ScalableImage


Method Summary
 void activate()
           
static SVGImage createEmptyImage(ExternalResourceHandler handler)
           
static ScalableImage createImage(InputStream stream, ExternalResourceHandler handler)
           
static ScalableImage createImage(String URL, ExternalResourceHandler handler)
           
 void dispatchMouseEvent(String type, int x, int y)
           
 void focusOn(SVGElement element)
           
 Document getDocument()
           
 int getViewportHeight()
           
 int getViewportWidth()
           
 void incrementTime(float seconds)
           
 void requestCompleted(String URI, InputStream resourceData)
           
 void setViewportHeight(int height)
           
 void setViewportWidth(int width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDocument

public Document getDocument()

createEmptyImage

public static SVGImage createEmptyImage(ExternalResourceHandler handler)

dispatchMouseEvent

public void dispatchMouseEvent(String type,
                               int x,
                               int y)
                        throws DOMException
Throws:
DOMException

activate

public void activate()

focusOn

public void focusOn(SVGElement element)
             throws DOMException
Throws:
DOMException

incrementTime

public void incrementTime(float seconds)

createImage

public static ScalableImage createImage(InputStream stream,
                                        ExternalResourceHandler handler)
                                 throws IOException
Throws:
IOException

createImage

public static ScalableImage createImage(String URL,
                                        ExternalResourceHandler handler)
                                 throws IOException
Throws:
IOException

setViewportWidth

public void setViewportWidth(int width)
Specified by:
setViewportWidth in class ScalableImage

setViewportHeight

public void setViewportHeight(int height)
Specified by:
setViewportHeight in class ScalableImage

getViewportWidth

public int getViewportWidth()
Specified by:
getViewportWidth in class ScalableImage

getViewportHeight

public int getViewportHeight()
Specified by:
getViewportHeight in class ScalableImage

requestCompleted

public void requestCompleted(String URI,
                             InputStream resourceData)
                      throws IOException
Specified by:
requestCompleted in class ScalableImage
Throws:
IOException


Copyright © 2010 JSRs for Android team. All Rights Reserved.