|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.RenderingHints.Key org.geotools.gp.Hints
Hints
.
A set of RenderingHints
keys for grid coverage operations. Hints are memorized by
GridCoverageProcessor
, which formard them to Operation.doOperation(javax.media.jai.ParameterList, java.awt.RenderingHints)
at
every invocation. Rendering hints can be used to control some low-level details, like
the JAI
instance to use when performing operation. Operations may use the
hints or ignore them.
For example, if a user wants to use the "Resample"
operation with
a custom CoordinateTransformation
, he should first create its own
CoordinateTransformationFactory
implementation. Then, he can create
a GridCoverageProcessor
with its factory as a rendering hint:
CoordinateTransformationFactory myFactory = ... RenderingHints hints = new RenderingHints(Hints.COORDINATE_TRANSFORMATION_FACTORY
, myFactory); GridCoverageProcessor processor = new GridCoverageProcessor(hints);
Field Summary | |
static java.awt.RenderingHints.Key |
COORDINATE_TRANSFORMATION_FACTORY
Deprecated. Key for setting a CoordinateTransformationFactory object other
than the default one when coordinate transformations must be performed
at rendering time. |
static java.awt.RenderingHints.Key |
JAI_INSTANCE
Deprecated. Key for setting a JAI instance other than the default one when
JAI operation must be performed at rendering time. |
static java.awt.RenderingHints.Key |
SAMPLE_DIMENSION_TYPE
Deprecated. Key for setting a SampleDimensionType other than the default one
when sample values must be rescaled at rendering time. |
Method Summary | |
boolean |
isCompatibleValue(java.lang.Object value)
Deprecated. Returns true if the specified object is a valid value for this Key. |
Methods inherited from class java.awt.RenderingHints.Key |
equals, hashCode, intKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.awt.RenderingHints.Key JAI_INSTANCE
JAI
instance other than the default one when
JAI operation must be performed at rendering time.
public static final java.awt.RenderingHints.Key COORDINATE_TRANSFORMATION_FACTORY
CoordinateTransformationFactory
object other
than the default one when coordinate transformations must be performed
at rendering time.
public static final java.awt.RenderingHints.Key SAMPLE_DIMENSION_TYPE
SampleDimensionType
other than the default one
when sample values must be rescaled at rendering time.
Method Detail |
public boolean isCompatibleValue(java.lang.Object value)
true
if the specified object is a valid value for this Key.
value
- The object to test for validity.
true
if the value is valid; false
otherwise.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |