public abstract class IlvNormalizedValueColorScheme extends IlvValueColorScheme
Modifier and Type | Class and Description |
---|---|
static interface |
IlvNormalizedValueColorScheme.Evaluator
An evaluator is a function of a node in the tree model.
|
Modifier | Constructor and Description |
---|---|
protected |
IlvNormalizedValueColorScheme()
Creates a value-based color scheme.
|
Modifier and Type | Method and Description |
---|---|
IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvDataColumnInfo column,
IlvDataConverter converter)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
abstract IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvDataColumnInfo column,
IlvNormalizedValueColorScheme.Evaluator evaluator,
IlvDataConverter converter)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
abstract IlvContinuousColorDistribution |
createContinuousDistribution(IlvTreeListModel model,
IlvNormalizedValueColorScheme.Evaluator evaluator,
double min,
double max)
Chooses and returns a color distribution for a given column of real values
in a model of objects.
|
IlvEnumeratedColorDistribution |
createEnumeratedDistribution(IlvTreeListModel model,
IlvDataColumnInfo column,
Collection possibleValues)
Chooses and returns a color distribution for a given enumerated column
in a model of objects.
|
createAdjustedColorScheme, createAdjustedColorScheme, createContinuousColorDistribution, createContinuousColorDistribution
protected IlvNormalizedValueColorScheme()
public abstract IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvDataColumnInfo column, IlvNormalizedValueColorScheme.Evaluator evaluator, IlvDataConverter converter)
model
- A tree model with per-node values.column
- A column of the tree model.evaluator
- A per-node value lookup function.converter
- A converter from objects to numbers.public abstract IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvNormalizedValueColorScheme.Evaluator evaluator, double min, double max)
model
- A tree model with per-node values.evaluator
- A per-node value lookup function.min
- The minimum value.max
- The maximum value.public IlvContinuousColorDistribution createContinuousDistribution(IlvTreeListModel model, IlvDataColumnInfo column, IlvDataConverter converter)
This color distribution is used in a single rendering only. It can therefore assume that the model columns and contents will not change while it is in use.
createContinuousDistribution
in class IlvValueColorScheme
model
- A tree model with per-node values.column
- A column of the tree model.converter
- A converter from objects to numbers.public IlvEnumeratedColorDistribution createEnumeratedDistribution(IlvTreeListModel model, IlvDataColumnInfo column, Collection possibleValues)
This color distribution is used in a single rendering only. It can therefore assume that the model columns and contents will not change while it is in use.
createEnumeratedDistribution
in class IlvValueColorScheme
model
- A tree model with per-node values.column
- A column of the tree model.possibleValues
- The set of possible values. Should not contain duplicates.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.