| javax.media.jai.OpImage com.sun.media.jai.imageioimpl.ImageReadOpImage
ImageReadOpImage | final class ImageReadOpImage extends OpImage (Code) | | Implementation of the OpImage of the "ImageRead" operation.
|
Method Summary | |
public Raster | computeTile(int tileX, int tileY) Computes a tile. | public boolean | computesUniqueTiles() Returns false as ImageReaders might return Rasters
via computeTile() tile that are internally cached. | public void | dispose() Closes an ImageInputStream passed in, if any. | public Object | getProperty(String name) Gets a property from the property set of this image. | public Rectangle | mapDestRect(Rectangle destRect, int sourceIndex) Throws an IllegalArgumentException since the image has no image
sources. | public Rectangle | mapSourceRect(Rectangle sourceRect, int sourceIndex) Throws an IllegalArgumentException since the image has no image
sources. |
computeTile | public Raster computeTile(int tileX, int tileY)(Code) | | Computes a tile.
Parameters: tileX - The X index of the tile. Parameters: tileY - The Y index of the tile. |
computesUniqueTiles | public boolean computesUniqueTiles()(Code) | | Returns false as ImageReaders might return Rasters
via computeTile() tile that are internally cached.
|
dispose | public void dispose()(Code) | | Closes an ImageInputStream passed in, if any.
|
getProperty | public Object getProperty(String name)(Code) | | Gets a property from the property set of this image. If the
property name is not recognized,
java.awt.Image.UndefinedProperty will be returned.
This implementation first attempts to retrieve the property
using the equivalent superclass method. If the returned value
is not a valid property value, the requested property name is
that of the image thumbnails property, the stream metadata
property, or the image metadata property, and there has been no
prior attempt to read the corresponding property value, then its
reads the value and set the property. This implementation therefore
defers reading of the image thumbnails, stream metadata, and image
metadata values until the correpsonding property is actually
requested.
Parameters: name - the name of the property to get, as a String . A reference to the property Object , or the valuejava.awt.Image.UndefinedProperty . exception: IllegalArgumentException - if propertyName is null . |
mapDestRect | public Rectangle mapDestRect(Rectangle destRect, int sourceIndex)(Code) | | Throws an IllegalArgumentException since the image has no image
sources.
Parameters: destRect - ignored. Parameters: sourceIndex - ignored. throws: IllegalArgumentException - since the image has no sources. |
mapSourceRect | public Rectangle mapSourceRect(Rectangle sourceRect, int sourceIndex)(Code) | | Throws an IllegalArgumentException since the image has no image
sources.
Parameters: sourceRect - ignored. Parameters: sourceIndex - ignored. throws: IllegalArgumentException - since the image has no sources. |
Methods inherited from javax.media.jai.OpImage | protected void addTileToCache(int tileX, int tileY, Raster tile)(Code)(Java Doc) public void cancelTiles(TileRequest request, Point[] tileIndices)(Code)(Java Doc) protected void computeRect(Raster[] sources, WritableRaster dest, Rectangle destRect)(Code)(Java Doc) protected void computeRect(PlanarImage[] sources, WritableRaster dest, Rectangle destRect)(Code)(Java Doc) public Raster computeTile(int tileX, int tileY)(Code)(Java Doc) public boolean computesUniqueTiles()(Code)(Java Doc) final protected WritableRaster createTile(int tileX, int tileY)(Code)(Java Doc) public synchronized void dispose()(Code)(Java Doc) public static int getExpandedNumBands(SampleModel sampleModel, ColorModel colorModel)(Code)(Java Doc) protected synchronized RasterFormatTag[] getFormatTags()(Code)(Java Doc) public int getOperationComputeType()(Code)(Java Doc) public Raster getTile(int tileX, int tileY)(Code)(Java Doc) public TileCache getTileCache()(Code)(Java Doc) public Object getTileCacheMetric()(Code)(Java Doc) public Point[] getTileDependencies(int tileX, int tileY, int sourceIndex)(Code)(Java Doc) protected Raster getTileFromCache(int tileX, int tileY)(Code)(Java Doc) public TileRecycler getTileRecycler()(Code)(Java Doc) public Raster[] getTiles(Point[] tileIndices)(Code)(Java Doc) public boolean hasExtender(int sourceIndex)(Code)(Java Doc) public Point2D mapDestPoint(Point2D destPt, int sourceIndex)(Code)(Java Doc) abstract public Rectangle mapDestRect(Rectangle destRect, int sourceIndex)(Code)(Java Doc) public Point2D mapSourcePoint(Point2D sourcePt, int sourceIndex)(Code)(Java Doc) abstract public Rectangle mapSourceRect(Rectangle sourceRect, int sourceIndex)(Code)(Java Doc) public void prefetchTiles(Point[] tileIndices)(Code)(Java Doc) public TileRequest queueTiles(Point[] tileIndices)(Code)(Java Doc) protected void recycleTile(Raster tile)(Code)(Java Doc) public void setTileCache(TileCache cache)(Code)(Java Doc) protected static Vector vectorize(RenderedImage image)(Code)(Java Doc) protected static Vector vectorize(RenderedImage image1, RenderedImage image2)(Code)(Java Doc) protected static Vector vectorize(RenderedImage image1, RenderedImage image2, RenderedImage image3)(Code)(Java Doc)
|
|
|