Class DistinctValueHeatMapBuilder
java.lang.Object
io.deephaven.multiviewwidget.builder.heatmap.DistinctValueHeatMapBuilder
- All Implemented Interfaces:
PivotHeatMapBuilder,Serializable
A
PivotHeatMapBuilder which is used to define distinct coloration based on the underlying object value. The
resulting heatmap permits colors to be defined. With no colors defined, the coloration will be identical to
DBColorUtilImpl.DistinctFormatter- See Also:
-
Field Summary
Fields inherited from interface io.deephaven.multiviewwidget.builder.heatmap.PivotHeatMapBuilder
defaultColors -
Constructor Summary
ConstructorsConstructorDescriptionDistinctValueHeatMapBuilder(List<Color> builderColors) Construct a new DistinctValueHeatMapBuilder -
Method Summary
Modifier and TypeMethodDescriptioncreateHeatMap(Table valuesTable, PivotTableState state) Converts thisPivotHeatMapBuilderinstance into aPivotHeatMapinstance
-
Constructor Details
-
DistinctValueHeatMapBuilder
Construct a new DistinctValueHeatMapBuilder- Parameters:
builderColors- identifies a list of colors to use for distinct values. If the given list is empty, then the resultant heatmap will follow the pattern ofDBColorUtilImpl.DistinctFormatter
-
-
Method Details
-
createHeatMap
Converts thisPivotHeatMapBuilderinstance into aPivotHeatMapinstance- Specified by:
createHeatMapin interfacePivotHeatMapBuilder- Parameters:
valuesTable- unused by this typestate- unused by this type- Returns:
- a new
DistinctHeatMapinstance
-