Method Summary |
|
public void | addPropertyChangeListener(PropertyChangeListener listener) Add a PropertyChangeListener to the listener list. |
public void | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) Add a PropertyChangeListener for a specific property. |
final public RenderedImage | createDefaultRendering() Gets a RenderedImage instance of this image with a default
width and height in pixels. |
final public RenderedImage | createRendering(RenderContext renderContext) Gets a RenderedImage instance of this image from a
RenderContext. |
final public RenderedImage | createScaledRendering(int w, int h, RenderingHints hints) Gets a RenderedImage instance of this image with width w, and
height h in pixels. |
final public float | getHeight() Gets the height in user coordinate space. |
final public float | getMinX() Gets the minimum X coordinate of the rendering-independent image. |
final public float | getMinY() Gets the minimum Y coordinate of the rendering-independent image. |
final public Object | getProperty(String name) Gets a property from the property set of this image.
If the property name is not recognized, java.awt.Image.UndefinedProperty
will be returned.
Parameters: name - the name of the property to get, as a String. throws: IllegalArgumentException - if name isnull . |
public Class | getPropertyClass(String name) Returns the class expected to be returned by a request for
the property with the specified name. |
final public String[] | getPropertyNames() Returns a list of the properties recognized by this image. |
public String[] | getPropertyNames(String prefix) Returns an array of String s recognized as names by
this property source that begin with the supplied prefix. |
final public Vector | getSources() |
final public float | getWidth() Gets the width in user coordinate space. |
final public RenderableImage | getWrappedImage() Returns the reference to the external RenderableImage
originally supplied to the constructor. |
final public boolean | isDynamic() Returns true if successive renderings (that is, calls to
createRendering() or createScaledRendering()) with the same arguments
may produce different results. |
public void | removeProperty(String name) Removes the named property from the RenderableImageAdapter . |
public void | removePropertyChangeListener(PropertyChangeListener listener) Remove a PropertyChangeListener from the listener list. |
public void | removePropertyChangeListener(String propertyName, PropertyChangeListener listener) Remove a PropertyChangeListener for a specific property. |
public void | setProperty(String name, Object value) Sets a property on a RenderableImageAdapter . |
public static RenderableImageAdapter | wrapRenderableImage(RenderableImage im) Adapts a RenderableImage into a RenderableImageAdapter.
If the image is already an instance of RenderableImageAdapter,
it is returned unchanged.
Parameters: im - a RenderableImage. |