Class GprHtml


  • public class GprHtml
    extends java.lang.Object
    General stuff realted to HTML
    Author:
    pcingola
    • Constructor Summary

      Constructors 
      Constructor Description
      GprHtml()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String heatMapColor​(double value, double maxValue, double minValue, int rgbMaxValue, int rgbMinValue)
      Create a color (heat-map) based in a value and maximum possible value
      static java.lang.String heatMapColor​(long value, long maxValue, long minValue, int rgbMaxValue, int rgbMinValue)
      Create a color (heat-map) based in a value and maximum possible value
      • Methods inherited from class java.lang.Object

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

      • GprHtml

        public GprHtml()
    • Method Detail

      • heatMapColor

        public static java.lang.String heatMapColor​(double value,
                                                    double maxValue,
                                                    double minValue,
                                                    int rgbMaxValue,
                                                    int rgbMinValue)
        Create a color (heat-map) based in a value and maximum possible value
        Parameters:
        value -
        maxValue -
        Returns:
      • heatMapColor

        public static java.lang.String heatMapColor​(long value,
                                                    long maxValue,
                                                    long minValue,
                                                    int rgbMaxValue,
                                                    int rgbMinValue)
        Create a color (heat-map) based in a value and maximum possible value
        Parameters:
        value -
        maxValue -
        Returns: