ColorProvider (base API)
Date: 2019-04-05

com.twosigma.beakerx.chart.treemap.util

## Class ColorProvider

- java.lang.Object
- - com.twosigma.beakerx.chart.treemap.util.ColorProvider

- All Implemented Interfaces:
    java.io.Serializable
  Direct Known Subclasses:
    GradientColorProvider, RandomColorProvider

      public abstract class ColorProvider
      extends java.lang.Object
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.lang.Double` | `maxValue`
    `protected java.lang.Double` | `minValue`
    `protected ValueAccessor` | `valueAccessor`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ColorProvider()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract Color` | `getColor(net.sf.jtreemap.swing.TreeMapNode value)`
    `protected double` | `getValue(net.sf.jtreemap.swing.TreeMapNode node)`
    `protected void` | `setValues(net.sf.jtreemap.swing.TreeMapNode root)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### valueAccessor

          protected ValueAccessor valueAccessor

    - #### maxValue

          protected java.lang.Double maxValue

    - #### minValue

          protected java.lang.Double minValue

  - ### Constructor Detail

    - #### ColorProvider

          public ColorProvider()

  - ### Method Detail

    - #### getColor

          public abstract Color getColor(net.sf.jtreemap.swing.TreeMapNode value)

    - #### setValues

          protected void setValues(net.sf.jtreemap.swing.TreeMapNode root)

    - #### getValue

          protected double getValue(net.sf.jtreemap.swing.TreeMapNode node)