Class PreviewColorPaintScale
- java.lang.Object
-
- fis.swing.data.distance.input.preview.jfree.PreviewColorPaintScale
-
- All Implemented Interfaces:
org.jfree.chart.renderer.PaintScale
public class PreviewColorPaintScale extends Object implements org.jfree.chart.renderer.PaintScale
-
-
Constructor Summary
Constructors Constructor Description PreviewColorPaintScale(double min, double max)PreviewColorPaintScale(Preview preview)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLowerBound()PaintgetPaint(double value)doublegetUpperBound()protected static booleanisEmptyRange(double min, double max)
-
-
-
Constructor Detail
-
PreviewColorPaintScale
public PreviewColorPaintScale(Preview preview)
-
PreviewColorPaintScale
public PreviewColorPaintScale(double min, double max)
-
-
Method Detail
-
isEmptyRange
protected static boolean isEmptyRange(double min, double max)
-
getLowerBound
public double getLowerBound()
- Specified by:
getLowerBoundin interfaceorg.jfree.chart.renderer.PaintScale
-
getUpperBound
public double getUpperBound()
- Specified by:
getUpperBoundin interfaceorg.jfree.chart.renderer.PaintScale
-
getPaint
public Paint getPaint(double value)
- Specified by:
getPaintin interfaceorg.jfree.chart.renderer.PaintScale
-
-