javax.microedition.m2g
Class SVGImage
java.lang.Object
javax.microedition.m2g.ScalableImage
javax.microedition.m2g.SVGImage
public class SVGImage
- extends ScalableImage
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.