Class WStandardColorMap.Pair

java.lang.Object
eu.webtoolkit.jwt.chart.WStandardColorMap.Pair
Enclosing class:
WStandardColorMap

public static class WStandardColorMap.Pair
extends java.lang.Object
Contains a pair of a numerical value and a WColor.
  • Constructor Summary

    Constructors
    Constructor Description
    Pair()  
    Pair​(double val, WColor col)
    Constructs a WStandardColorMap::Pair from a double and a WColor.
  • Method Summary

    Modifier and Type Method Description
    WColor getColor()  
    double getValue()  
    void setColor​(WColor color)  
    void setValue​(double value)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Pair

      public Pair()
    • Pair

      public Pair​(double val, WColor col)
      Constructs a WStandardColorMap::Pair from a double and a WColor.
  • Method Details

    • setValue

      public void setValue​(double value)
    • getValue

      public double getValue()
    • setColor

      public void setColor​(WColor color)
    • getColor

      public WColor getColor()