org.apache.batik.ext.awt.image.renderable
Class RedRable

java.lang.Object
  extended by org.apache.batik.ext.awt.image.renderable.AbstractRable
      extended by org.apache.batik.ext.awt.image.renderable.RedRable
All Implemented Interfaces:
RenderableImage, Filter

public class RedRable
extends AbstractRable

RasterRable This is used to wrap a Rendered Image back into the RenderableImage world.


Field Summary
 
Fields inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable
props, srcs, stamp
 
Fields inherited from interface java.awt.image.renderable.RenderableImage
HINTS_OBSERVED
 
Constructor Summary
RedRable(CachableRed src)
           
 
Method Summary
 RenderedImage createDefaultRendering()
           
 RenderedImage createRendering(RenderContext rc)
           
 Rectangle2D getBounds2D()
          Returns the bounds of the current image.
 Object getProperty(String name)
           
 String[] getPropertyNames()
           
 CachableRed getSource()
           
 
Methods inherited from class org.apache.batik.ext.awt.image.renderable.AbstractRable
createScaledRendering, getDependencyRegion, getDirtyRegion, getHeight, getMinX, getMinY, getSources, getTimeStamp, getWidth, init, init, init, init, isDynamic, touch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedRable

public RedRable(CachableRed src)
Method Detail

getSource

public CachableRed getSource()

getProperty

public Object getProperty(String name)
Specified by:
getProperty in interface RenderableImage
Overrides:
getProperty in class AbstractRable

getPropertyNames

public String[] getPropertyNames()
Specified by:
getPropertyNames in interface RenderableImage
Overrides:
getPropertyNames in class AbstractRable

getBounds2D

public Rectangle2D getBounds2D()
Description copied from interface: Filter
Returns the bounds of the current image. This should be 'in sync' with getMinX, getMinY, getWidth, getHeight

Specified by:
getBounds2D in interface Filter
Overrides:
getBounds2D in class AbstractRable

createDefaultRendering

public RenderedImage createDefaultRendering()
Specified by:
createDefaultRendering in interface RenderableImage
Overrides:
createDefaultRendering in class AbstractRable

createRendering

public RenderedImage createRendering(RenderContext rc)


Copyright © 2008 Apache Software Foundation. All Rights Reserved.