|
Generated by JDiff |
||||||||
PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES |
This file contains all the changes in documentation in the packagejava.awt.image.renderable
as colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.
Creates a rendering given a RenderContext and a ParameterBlock containing the operation's sources and parameters. The output is a RenderedImage that takes the RenderContext into account to determine its dimensions and placement on the image plane. This method houses the "intelligence" that allows a rendering-independent operation to adapt to a specific RenderContext. @param renderContext The RenderContext specifying the renderingClass ContextualRenderedImageFactory, String[] getPropertyNames().@param paramBlock a ParameterBlock containing the operation's sources and parameters @return aRenderedImage
from the sources and parameters in the specified ParameterBlock and according to the rendering instructions in the specified RenderContext.
Returns a list of names recognized by getProperty. @return the list of property names.Class ContextualRenderedImageFactory, boolean isDynamic()
Returns true if successive renderings (that is calls to create(RenderContext ParameterBlock)) with the same arguments may produce different results. This method may be used to determine whether an existing rendering may be cached and reused. It is always safe to return true. @returnClass ContextualRenderedImageFactory, RenderContext mapRenderContext(int, RenderContext, ParameterBlock, RenderableImage)true
if successive renderings with the same arguments might produce different results;false
otherwise.
Maps the operation's output RenderContext into a RenderContext for each of the operation's sources. This is useful for operations that can be expressed in whole or in part simply as alterations in the RenderContext such as an affine mapping or operations that wish to obtain lower quality renderings of their sources in order to save processing effort or transmission bandwith. Some operations such as blur can also use this mechanism to avoid obtaining sources of higher quality than necessary. @param i the index of the source image. @param renderContext the RenderContext being applied to the operation. @param paramBlock a ParameterBlock containing the operation's sources and parameters. @param image the RenderableImage being rendered. @return a RenderContext
for the source at the specified index of the parameters Vector contained in the specified ParameterBlock.
Constructs aClass ParameterBlock, constructor ParameterBlock(Vector, Vector)ParameterBlock
with a given Vector of sources. @param sources aVector
of source images
Constructs aClass ParameterBlock, ParameterBlock add(Object)ParameterBlock
with a given Vector of sources and Vector of parameters. @param sources aVector
of source images @param parameters aVector
of parameters to be used in the rendering operation
Adds an object to the list of parameters. @param obj theClass ParameterBlock, ParameterBlock add(byte)Object
to add to theparameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Byte to the list of parameters. @param b the byte to add to theClass ParameterBlock, ParameterBlock add(char)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Character to the list of parameters. @param c the char to add to theClass ParameterBlock, ParameterBlock add(double)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Double to the list of parameters. @param d the double to add to theClass ParameterBlock, ParameterBlock add(float)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Float to the list of parameters. @param f the float to add to theClass ParameterBlock, ParameterBlock add(int)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Integer to the list of parameters. @param i the int to add to theClass ParameterBlock, ParameterBlock add(long)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Long to the list of parameters. @param l the long to add to theClass ParameterBlock, ParameterBlock add(short)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds a Short to the list of parameters. @param s the short to add to theClass ParameterBlock, ParameterBlock addSource(Object)parameters
Vector
@return a newParameterBlock
containing the specified parameter.
Adds an image to end of the list of sources. The image is stored as an object in order to allow new node types in the future. @param source an image object to be stored in the source list. @return a newClass ParameterBlock, int getNumParameters()ParameterBlock
containing the specifiedsource
.
Returns the number of parameters (not including source images). @return the number of parameters in theClass ParameterBlock, int getNumSources()parameters
Vector
.
Returns the number of source images. @return the number of source images in theClass ParameterBlock, Object getObjectParameter(int)sources
Vector
.
Gets a parameter as an object. @param index the index of the parameter to get @return anClass ParameterBlock, Class[] getParamClasses()Object
representing the the parameter at the specified index into theparameters
Vector
.
Returns an array of Class objects describing the types of the parameters. @return an array of Class
objects.
Class ParameterBlock, Vector getParameters()Returns the entire Vector of parameters. @return theClass ParameterBlock, RenderableImage getRenderableSource(int)parameters
Vector
. @see #setParameters(Vector)
Class ParameterBlock, RenderedImage getRenderedSource(int)AReturnsconvenience method to returna source as a RenderableImage. This method is a convenience method. An exception will be thrown if the sources is not a RenderableImage. @param index the index of the source to be returned @return aRenderableImage
that represents the source image that is at the specified index in thesources
Vector
.
Class ParameterBlock, Object getSource(int)AReturnsconvenience method to returna source as aRenderedImage
. This method is a convenience method. An exception will be thrown if thesourcessource is not a RenderedImage. @param index the index of the source to be returned @return aRenderedImage
that represents the source image that is at the specified index in thesources
Vector
.
Returns a source as a general Object. The caller must cast it into an appropriate type. @param index the index of the source to be returned. @return anClass ParameterBlock, Vector getSources()Object
that represents the source located at the specified index in thesources
Vector
. @see #setSource(Object int)
Returns the entire Vector of sources. @return theClass ParameterBlock, ParameterBlock set(Object, int)sources
Vector
. @see #setSources(Vector)
Replaces an Object in the list of parameters. If the index lies beyond the current source list the list is extended with nulls as needed. @param obj the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(byte, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with a Byte. If the index lies beyond the current source list the list is extended with nulls as needed. @param b the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(char, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with a Character. If the index lies beyond the current source list the list is extended with nulls as needed. @param c the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(double, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with a Double. If the index lies beyond the current source list the list is extended with nulls as needed. @param d the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(float, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with a Float. If the index lies beyond the current source list the list is extended with nulls as needed. @param f the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(int, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with an Integer. If the index lies beyond the current source list the list is extended with nulls as needed. @param i the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(long, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with a Long. If the index lies beyond the current source list the list is extended with nulls as needed. @param l the parameter that replaces the parameter at the specified index in theClass ParameterBlock, ParameterBlock set(short, int)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Replaces an Object in the list of parameters with a Short. If the index lies beyond the current source list the list is extended with nulls as needed. @param s the parameter that replaces the parameter at the specified index in theClass ParameterBlock, void setParameters(Vector)parameters
Vector
@param index the index of the parameter to be replaced with the specified parameter @return a newParameterBlock
containing the specified parameter.
Sets the entire Vector of parameters to a given Vector. @param parameters the specified Vector
of parameters @see #getParameters
Class ParameterBlock, ParameterBlock setSource(Object, int)Replaces an entry in the list of source with a new source. If the index lies beyond the current source list the list is extended with nulls as needed. @param source the specified source image @param index the index into theClass ParameterBlock, void setSources(Vector)sources
Vector
at which to insert the specifiedsource
@return a newParameterBlock
that contains the specifiedsource
at the specifiedindex
. @see #getSource(int)
Sets the entire Vector of sources to a given Vector. @param sources the Vector
of source images @see #getSources
Gets the ares of interest currently contained in the RenderContext. @return a reference to the area of interest of the RenderContext or null if none is specified. @see #setAreaOfInterest(Shape)Class RenderContext, RenderingHints getRenderingHints()
Gets the rendering hints of thisClass RenderContext, AffineTransform getTransform()RenderContext
. @return aRenderingHints
object that represents the rendering hints of thisRenderContext
. @see #setRenderingHints(RenderingHints)
Gets the current user-to-device AffineTransform. @return a reference to the current AffineTransform. @see #setTransform(AffineTransform)Class RenderContext, void setAreaOfInterest(Shape)
Sets the current area of interest. The old area is discarded. @param newAoi The new area of interest. @see #getAreaOfInterestClass RenderContext, void setRenderingHints(RenderingHints)
Sets the rendering hints of thisClass RenderContext, void setTransform(AffineTransform)RenderContext
. @param hints aRenderingHints
object that represents the rendering hints to assign to thisRenderContext
. @see #getRenderingHints
Sets the current user-to-device AffineTransform contained in the RenderContext to a given transform. @param newTransform the new AffineTransform. @see #getTransform
Gets the minimum X coordinate of the rendering-independent image data. @return the minimum X coordinate of the rendering-independent image data.Class RenderableImage, float getMinY()
Gets the minimum Y coordinate of the rendering-independent image data. @return the minimum Y coordinate of the rendering-independent image data.Class RenderableImage, String[] getPropertyNames()
Returns a list of names recognized by getProperty. @return a list of property names.Class RenderableImage, boolean isDynamic()
Returns true if successive renderings (that is calls to createRendering() or createScaledRendering()) with the same arguments may produce different results. This method may be used to determine whether an existing rendering may be cached and reused. It is always safe to return true. @returntrue
if successive renderings with the same arguments might produce different results;false
otherwise.
Returns a reference to the current parameter block. @return theClass RenderableImageOp, String[] getPropertyNames()ParameterBlock
of thisRenderableImageOp
. @see #setParameterBlock(ParameterBlock)
Return a list of names recognized by getProperty. @return a list of property names.Class RenderableImageOp, boolean isDynamic()
Returns true if successive renderings (that is calls to createRendering() or createScaledRendering()) with the same arguments may produce different results. This method may be used to determine whether an existing rendering may be cached and reused. The CRIF's isDynamic method will be called. @returnClass RenderableImageOp, ParameterBlock setParameterBlock(ParameterBlock)true
if successive renderings with the same arguments might produce different results;false
otherwise.
Change the current ParameterBlock of the operation allowing editing of image rendering chains. The effects of such a change will be visible when a new rendering is created from this RenderableImageOp or any dependent RenderableImageOp. @param paramBlock the new ParameterBlock. @return the old ParameterBlock. @see #getParameterBlock