public abstract class IlvSimpleValueColorScheme extends IlvMinMaxNormalizedValueColorScheme
IlvContinuousColorDistribution
,
Serialized FormIlvNormalizedValueColorScheme.Evaluator
Modifier | Constructor and Description |
---|---|
protected |
IlvSimpleValueColorScheme()
Creates a value-based color scheme that uses the linear mapping to [0,1]
and a simple
getFillColor implementation. |
Modifier and Type | Method and Description |
---|---|
IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvNormalizedValueColorScheme.Evaluator evaluator,
IlvValueNormalizer initialNormalizer,
double min,
double max)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
abstract Color |
getFillColor(double normalizedValue)
Returns the color to use for a given normalized value.
|
createAdjustedNormalizer, createContinuousDistribution, createContinuousDistribution, createLinearNormalizer
createContinuousDistribution, createEnumeratedDistribution
createAdjustedColorScheme, createAdjustedColorScheme, createContinuousColorDistribution, createContinuousColorDistribution
protected IlvSimpleValueColorScheme()
getFillColor
implementation.public abstract Color getFillColor(double normalizedValue)
normalizedValue
- A number from the interval [0,1] (inclusive).public IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvNormalizedValueColorScheme.Evaluator evaluator, IlvValueNormalizer initialNormalizer, double min, double max)
createContinuousDistribution
in class IlvMinMaxNormalizedValueColorScheme
model
- A tree model with per-node values.evaluator
- A per-node value lookup function.initialNormalizer
- A normalizer that maps the possibly infinite
value range to a finite interval.
null
denotes the identity mapping.min
- The minimum value, after application of the
initialNormalizer. Must be finite.max
- The maximum value, after application of the
initialNormalizer. Must be finite.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.