Class LookupPaintScale

java.lang.Object
org.jfree.chart.renderer.LookupPaintScale
All Implemented Interfaces:
Serializable, Cloneable, PaintScale, PublicCloneable

public class LookupPaintScale
extends Object
implements PaintScale, PublicCloneable, Serializable
A paint scale that uses a lookup table to associate paint instances with data value ranges.
See Also:
Serialized Form
  • Constructor Details

    • LookupPaintScale

      Creates a new paint scale.
    • LookupPaintScale

      public LookupPaintScale​(double lowerBound, double upperBound, Paint defaultPaint)
      Creates a new paint scale with the specified default paint.
      Parameters:
      lowerBound - the lower bound.
      upperBound - the upper bound.
      defaultPaint - the default paint (null not permitted).
  • Method Details