|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.imageio.IIOParam
javax.imageio.ImageReadParam
org.geotools.image.io.GeographicImageReadParam
public class GeographicImageReadParam
Default parameters for GeographicImageReader
.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PALETTE_NAME
The name of the default color palette to apply when none was explicitly specified. |
Fields inherited from class javax.imageio.ImageReadParam |
---|
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize |
Fields inherited from class javax.imageio.IIOParam |
---|
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset |
Constructor Summary | |
---|---|
GeographicImageReadParam(javax.imageio.ImageReader reader)
Creates a new, initially empty, set of parameters. |
Method Summary | |
---|---|
java.lang.String |
getPaletteName()
Returns the name of the color palette to apply when creating an index color model. |
int |
getVisibleBand()
Returns the band to display in the target image. |
void |
setPaletteName(java.lang.String palette)
Sets the color palette as one of the available names provided by the default palette factory. |
void |
setVisibleBand(int visibleBand)
Sets the band to make visible in the destination image. |
java.lang.String |
toString()
Returns a string representation of this block of parameters. |
Methods inherited from class javax.imageio.ImageReadParam |
---|
canSetSourceRenderSize, getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize |
Methods inherited from class javax.imageio.IIOParam |
---|
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DEFAULT_PALETTE_NAME
getPaletteName()
,
setPaletteName(java.lang.String)
,
Constant Field ValuesConstructor Detail |
---|
public GeographicImageReadParam(javax.imageio.ImageReader reader)
reader
- The reader for which this parameter block is createdMethod Detail |
---|
public int getVisibleBand()
public void setVisibleBand(int visibleBand) throws java.lang.IllegalArgumentException
visibleBand
- The band to make visible.
java.lang.IllegalArgumentException
- if the specified band index is invalid.public java.lang.String getPaletteName()
setPaletteName(java.lang.String)
.
public void setPaletteName(java.lang.String palette)
GeographicImageReader
default implementation to the
default palette factory for creating a
image type specifier.
PaletteFactory.getAvailableNames()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |