API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio. IIOParam View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      IIOParam
Implements
Subclasses
Description
publicabstract abstract class IIOParam
  A superclass of all classes describing how streams should be decoded or encoded.
See also:   
Constructors
protected IIOParam ()
Protected constructor may be called only by subclasses.
Methods
Hide/Show inherited methods
public boolean activateController ()
  Activates the installed IIOParamController for this IIOParam object and returns the resulting value.
public IIOParamController getController ()
  Returns whatever IIOParamController is currently installed.
public IIOParamController getDefaultController ()
  Returns the default IIOParamController, if there is one, regardless of the currently installed controller.
public Point getDestinationOffset ()
  Returns the offset in the destination image at which pixels are to be placed.
public ImageTypeSpecifier getDestinationType ()
  Returns the type of image to be returned by the read, if one was set by a call to setDestination(ImageTypeSpecifier), as an ImageTypeSpecifier.
public int getSourceBands ()
  Returns the set of of source bands to be used.
public Rectangle getSourceRegion ()
  Returns the source region to be used.
public int getSourceXSubsampling ()
  Returns the number of source columns to advance for each pixel.
public int getSourceYSubsampling ()
  Returns the number of rows to advance for each pixel.
public int getSubsamplingXOffset ()
  Returns the horizontal offset of the subsampling grid.
public int getSubsamplingYOffset ()
  Returns the vertical offset of the subsampling grid.
public boolean hasController ()
  Returns true if there is a controller installed for this IIOParam object.
public void setController (IIOParamController controller)
  Sets the IIOParamController to be used to provide settings for this IIOParam object when the activateController method is called, overriding any default controller.
public void setDestinationOffset (Point destinationOffset)
  Specifies the offset in the destination image at which future decoded pixels are to be placed, when reading, or where a region will be written, when writing.
public void setDestinationType (ImageTypeSpecifier destinationType)
  Sets the desired image type for the destination image, using an ImageTypeSpecifier.
public void setSourceBands (int[] sourceBands)
  Sets the indices of the source bands to be used.
public void setSourceRegion (Rectangle sourceRegion)
  Sets the source region of interest.
public void setSourceSubsampling (int sourceXSubsampling, int sourceYSubsampling, int subsamplingXOffset, int subsamplingYOffset)
  Specifies a decimation subsampling to apply on I/O.
Fields
Hide/Show inherited fields
protected IIOParamController controller
  The IIOParamController that will be used to provide settings for this IIOParam object when the activateController method is called.
protected IIOParamController defaultController
  The default IIOParamController that will be used to provide settings for this IIOParam object when the activateController method is called.
protected Point destinationOffset
  The offset in the destination where the upper-left decoded pixel should be placed.
protected ImageTypeSpecifier destinationType
  An ImageTypeSpecifier to be used to generate a destination image when reading, or to set the output color type when writing.
protected int sourceBands
  An array of ints indicating which source bands will be used, or null.
protected Rectangle sourceRegion
The source region, on null if none is set.
protected int sourceXSubsampling
  The decimation subsampling to be applied in the horizontal direction.
protected int sourceYSubsampling
  The decimation subsampling to be applied in the vertical direction.
protected int subsamplingXOffset
  A horizontal offset to be applied to the subsampling grid before subsampling.
protected int subsamplingYOffset
  A vertical offset to be applied to the subsampling grid before subsampling.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar