javax.microedition.m2g
Class ScalableImage

java.lang.Object
  extended by javax.microedition.m2g.ScalableImage
Direct Known Subclasses:
SVGImage

public abstract class ScalableImage
extends Object


Method Summary
static ScalableImage createImage(InputStream stream, ExternalResourceHandler handler)
           
static ScalableImage createImage(String URL, ExternalResourceHandler handler)
           
abstract  int getViewportHeight()
           
abstract  int getViewportWidth()
           
abstract  void requestCompleted(String URI, InputStream resourceData)
           
abstract  void setViewportHeight(int height)
           
abstract  void setViewportWidth(int width)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 abstract void setViewportWidth(int width)

setViewportHeight

public abstract void setViewportHeight(int height)

getViewportWidth

public abstract int getViewportWidth()

getViewportHeight

public abstract int getViewportHeight()

requestCompleted

public abstract void requestCompleted(String URI,
                                      InputStream resourceData)
                               throws IOException
Throws:
IOException


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