edu.swri.swiftvis.plot.util
Class ColorGradient.ColorNode

java.lang.Object
  extended by edu.swri.swiftvis.plot.util.ColorGradient.ColorNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
ColorGradient

private static class ColorGradient.ColorNode
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable


Field Summary
 java.awt.Color color
           
private static long serialVersionUID
           
 double value
           
 
Constructor Summary
ColorGradient.ColorNode(java.awt.Color c, double v)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

public java.awt.Color color

value

public double value

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ColorGradient.ColorNode

public ColorGradient.ColorNode(java.awt.Color c,
                               double v)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable