public abstract class IlvValueColorScheme extends IlvColorScheme
Modifier | Constructor and Description |
---|---|
protected |
IlvValueColorScheme()
Creates a value-based color scheme.
|
Modifier and Type | Method and Description |
---|---|
abstract 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 IlvEnumeratedColorDistribution |
createEnumeratedDistribution(IlvTreeListModel model,
IlvDataColumnInfo column,
Collection values)
Chooses and returns a color distribution for a given enumerated column
in a model of objects.
|
createAdjustedColorScheme, createAdjustedColorScheme, createContinuousColorDistribution, createContinuousColorDistribution
protected IlvValueColorScheme()
public abstract 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.
model
- A tree model with per-node values.column
- A column of the tree model.converter
- A converter from objects to numbers.public abstract IlvEnumeratedColorDistribution createEnumeratedDistribution(IlvTreeListModel model, IlvDataColumnInfo column, Collection values)
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.
model
- A tree model with per-node values.column
- A column of the tree model.values
- The set of possible values. Should not contain duplicates.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.