de.laures.cewolf.cpp
Class LinearPaintScale

java.lang.Object
  extended by de.laures.cewolf.cpp.LinearPaintScale
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.jfree.chart.renderer.PaintScale, org.jfree.util.PublicCloneable

public class LinearPaintScale
extends java.lang.Object
implements org.jfree.chart.renderer.PaintScale, org.jfree.util.PublicCloneable, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
LinearPaintScale()
           
LinearPaintScale(double lowerBound, java.awt.Color lowerColor, double upperBound, java.awt.Color upperColor)
           
 
Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object obj)
          Tests this LinearPaintScale instance for equality with an arbitrary object.
 double getLowerBound()
           
 java.awt.Color getLowerColor()
           
 java.awt.Paint getPaint(double value)
           
 double getUpperBound()
           
 java.awt.Color getUpperColor()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearPaintScale

public LinearPaintScale()

LinearPaintScale

public LinearPaintScale(double lowerBound,
                        java.awt.Color lowerColor,
                        double upperBound,
                        java.awt.Color upperColor)
Method Detail

getLowerBound

public double getLowerBound()
Specified by:
getLowerBound in interface org.jfree.chart.renderer.PaintScale

getUpperBound

public double getUpperBound()
Specified by:
getUpperBound in interface org.jfree.chart.renderer.PaintScale

getLowerColor

public java.awt.Color getLowerColor()

getUpperColor

public java.awt.Color getUpperColor()

getPaint

public java.awt.Paint getPaint(double value)
Specified by:
getPaint in interface org.jfree.chart.renderer.PaintScale

equals

public boolean equals(java.lang.Object obj)
Tests this LinearPaintScale instance for equality with an arbitrary object. This method returns true if and only if:

Overrides:
equals in class java.lang.Object
Parameters:
obj - the object (null permitted).
Returns:
A boolean.

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface org.jfree.util.PublicCloneable
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException


cewolf tag library - web charts with JFreeChart