public class DeferRable extends Object implements Filter
HINTS_OBSERVED| Constructor and Description |
|---|
DeferRable()
Constructor takes nothing
|
| Modifier and Type | Method and Description |
|---|---|
RenderedImage |
createDefaultRendering()
Forward the call (blocking until source is set if need be).
|
RenderedImage |
createRendering(RenderContext rc)
Forward the call (blocking until source is set if need be).
|
RenderedImage |
createScaledRendering(int w,
int h,
RenderingHints hints)
Forward the call (blocking until source is set if need be).
|
Rectangle2D |
getBounds2D()
Implement the baseclass method to call getSource() so
it will block until we have a real source.
|
Shape |
getDependencyRegion(int srcIndex,
Rectangle2D outputRgn)
Forward the call (blocking until source is set if need be).
|
Shape |
getDirtyRegion(int srcIndex,
Rectangle2D inputRgn)
Forward the call (blocking until source is set if need be).
|
float |
getHeight() |
float |
getMinX() |
float |
getMinY() |
Object |
getProperty(String name)
Forward the call (blocking until source is set if need be).
|
String[] |
getPropertyNames()
Forward the call (blocking until source is set if need be).
|
Filter |
getSource()
Key method that blocks if the src has not yet been provided.
|
Vector |
getSources() |
long |
getTimeStamp()
Returns the current modification timestamp on this Renderable
node.
|
float |
getWidth() |
boolean |
isDynamic()
Forward the call (blocking until source is set if need be).
|
void |
setBounds(Rectangle2D bounds) |
void |
setProperties(Map props) |
void |
setSource(Filter src)
Key method that sets the src.
|
public Filter getSource()
public void setSource(Filter src)
public void setBounds(Rectangle2D bounds)
public void setProperties(Map props)
public long getTimeStamp()
FiltergetTimeStamp in interface Filterpublic Vector getSources()
getSources in interface RenderableImagepublic boolean isDynamic()
isDynamic in interface RenderableImagepublic Rectangle2D getBounds2D()
getBounds2D in interface Filterpublic float getMinX()
getMinX in interface RenderableImagepublic float getMinY()
getMinY in interface RenderableImagepublic float getWidth()
getWidth in interface RenderableImagepublic float getHeight()
getHeight in interface RenderableImagepublic Object getProperty(String name)
getProperty in interface RenderableImagepublic String[] getPropertyNames()
getPropertyNames in interface RenderableImagepublic RenderedImage createDefaultRendering()
createDefaultRendering in interface RenderableImagepublic RenderedImage createScaledRendering(int w, int h, RenderingHints hints)
createScaledRendering in interface RenderableImagepublic RenderedImage createRendering(RenderContext rc)
createRendering in interface RenderableImagepublic Shape getDependencyRegion(int srcIndex, Rectangle2D outputRgn)
getDependencyRegion in interface FiltersrcIndex - The source to do the dependency calculation for.outputRgn - The region of output you are interested in
generating dependencies for. The is given in the user coordiate
system for this node.public Shape getDirtyRegion(int srcIndex, Rectangle2D inputRgn)
getDirtyRegion in interface FiltersrcIndex - The input that inputRgn reflects changes in.inputRgn - the region of input that has changed, used to
calculate the returned shape. This is given in the user
coordinate system of the source indicated by srcIndex.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.