| java.lang.Object javax.microedition.m2g.ScalableImage javax.microedition.m2g.SVGImage com.sun.perseus.model.SVGImageImpl
DEFAULT_HEIGHT | final public static int DEFAULT_HEIGHT(Code) | | The default height for an empty SVG image
|
DEFAULT_IMAGE_READ_BUFFER_LENGTH | final static int DEFAULT_IMAGE_READ_BUFFER_LENGTH(Code) | | Size of the byte buffer used to read image input streams handed
by ExternalResourceHandler implementations.
|
DEFAULT_WIDTH | final public static int DEFAULT_WIDTH(Code) | | The default width for an empty SVG image
|
isBrokenImage | boolean isBrokenImage(Code) | | Received null resourceData in requestCompleted(). Used in
getImageAndWait() case.
|
waitURI | String waitURI(Code) | | URI requested by SVGImageLoader's getImageAndWait().
|
activate | public void activate()(Code) | | |
dispatchMouseEvent | public void dispatchMouseEvent(String type, int x, int y) throws NullPointerException, IllegalArgumentException, DOMException(Code) | | This method is used to dispatch a mouse event of the specified
type to the document. The mouse position is given as screen
coordinates x, y . The only mouse event type supported is
"click". Note that when a "click" event is dispatched, a "DOMActivate" is
automatically dispatched by the underlying implementation. If a different
type is specified, a DOMException with error code NOT_SUPPORTED_ERR is
thrown. In the case, where x, y values are outside the viewport area or
no target is available for the x, y coordinates, the event is not
dispatched.
Parameters: type - the type of mouse event. Parameters: x - the x location of the mouse/pointer in viewport coordinatesystem. Parameters: y - the y location of the mouse/pointer in viewport coordinatesystem. throws: DOMException - with error code NOT_SUPPORTED_ERR: if the event type is not supported. throws: NullPointerException - if type is null. throws: IllegalArgumentException - if the x or y values are negative. |
getDocument | public Document getDocument()(Code) | | Returns the associated Document .
the associated Document . |
getViewportHeight | public int getViewportHeight()(Code) | | |
getViewportWidth | public int getViewportWidth()(Code) | | |
incrementTime | public void incrementTime(float seconds)(Code) | | |
setViewportHeight | public void setViewportHeight(int height)(Code) | | |
setViewportWidth | public void setViewportWidth(int width)(Code) | | An area where the ScalableImage is rendered is called viewport.
If a part of the viewport lays outside of the target clipping
rectangle it is clipped. The viewport coordinates are given
relative to the target rendering surface.
|
|
|