public class DeferRable extends java.lang.Object implements Filter
Constructor and Description |
---|
DeferRable()
Constructor takes nothing
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.RenderedImage |
createDefaultRendering()
Forward the call (blocking until source is set if need be).
|
java.awt.image.RenderedImage |
createRendering(java.awt.image.renderable.RenderContext rc)
Forward the call (blocking until source is set if need be).
|
java.awt.image.RenderedImage |
createScaledRendering(int w,
int h,
java.awt.RenderingHints hints)
Forward the call (blocking until source is set if need be).
|
java.awt.geom.Rectangle2D |
getBounds2D()
Implement the baseclass method to call getSource() so
it will block until we have a real source.
|
java.awt.Shape |
getDependencyRegion(int srcIndex,
java.awt.geom.Rectangle2D outputRgn)
Forward the call (blocking until source is set if need be).
|
java.awt.Shape |
getDirtyRegion(int srcIndex,
java.awt.geom.Rectangle2D inputRgn)
Forward the call (blocking until source is set if need be).
|
float |
getHeight() |
float |
getMinX() |
float |
getMinY() |
java.lang.Object |
getProperty(java.lang.String name)
Forward the call (blocking until source is set if need be).
|
java.lang.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.
|
java.util.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(java.awt.geom.Rectangle2D bounds) |
void |
setProperties(java.util.Map props) |
void |
setSource(Filter src)
Key method that sets the src.
|
public Filter getSource()
public void setSource(Filter src)
public void setBounds(java.awt.geom.Rectangle2D bounds)
public void setProperties(java.util.Map props)
public long getTimeStamp()
Filter
getTimeStamp
in interface Filter
public java.util.Vector getSources()
getSources
in interface java.awt.image.renderable.RenderableImage
public boolean isDynamic()
isDynamic
in interface java.awt.image.renderable.RenderableImage
public java.awt.geom.Rectangle2D getBounds2D()
getBounds2D
in interface Filter
public float getMinX()
getMinX
in interface java.awt.image.renderable.RenderableImage
public float getMinY()
getMinY
in interface java.awt.image.renderable.RenderableImage
public float getWidth()
getWidth
in interface java.awt.image.renderable.RenderableImage
public float getHeight()
getHeight
in interface java.awt.image.renderable.RenderableImage
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface java.awt.image.renderable.RenderableImage
public java.lang.String[] getPropertyNames()
getPropertyNames
in interface java.awt.image.renderable.RenderableImage
public java.awt.image.RenderedImage createDefaultRendering()
createDefaultRendering
in interface java.awt.image.renderable.RenderableImage
public java.awt.image.RenderedImage createScaledRendering(int w, int h, java.awt.RenderingHints hints)
createScaledRendering
in interface java.awt.image.renderable.RenderableImage
public java.awt.image.RenderedImage createRendering(java.awt.image.renderable.RenderContext rc)
createRendering
in interface java.awt.image.renderable.RenderableImage
public java.awt.Shape getDependencyRegion(int srcIndex, java.awt.geom.Rectangle2D outputRgn)
getDependencyRegion
in interface Filter
srcIndex
- 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 java.awt.Shape getDirtyRegion(int srcIndex, java.awt.geom.Rectangle2D inputRgn)
getDirtyRegion
in interface Filter
srcIndex
- 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 © 2022 Apache Software Foundation. All Rights Reserved.