Class ColorScaleFactory

    • Field Detail

      • BLUEWHITERED

        public static String BLUEWHITERED
    • Constructor Detail

      • ColorScaleFactory

        public ColorScaleFactory()
    • Method Detail

      • getColorScale

        public static ColorScale getColorScale​(String ColorScaleClass)
        Get a ColorScale based on a given class name
        Parameters:
        ColorScaleClass - The java canonical class name of the ColorScale
        Returns:
        an instance of the requested ColorScale or a BlueWhiteRedScale if the class could not be found.
      • getDiscreetColorScales

        public static Collection<ColorScale> getDiscreetColorScales​(int colorcount)
        Get a set of discreet ColorScales.
        Parameters:
        colorcount - - The number of colors to use for the Discreet scale.
        Returns:
        a Collection of Color Scales which are discreet
      • getContinousColorScales

        public static Vector<ColorScale> getContinousColorScales()
        Get a set of continuous ColorScales.
        Returns:
        a Collection of Color Scales which are continuous
      • getNonWhiteDiscreteColorScales

        public static Vector<ColorScale> getNonWhiteDiscreteColorScales​(int colorcount)