Class ColorMapper


  • public final class ColorMapper
    extends java.lang.Object
    See Also:
    ImageIOTask
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.Color getColorByName​(java.lang.String colorName)
      Convert a color name to a color value.
      • Methods inherited from class java.lang.Object

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

      • getColorByName

        public static java.awt.Color getColorByName​(java.lang.String colorName)
        Convert a color name to a color value.
        Parameters:
        colorName - a string repr of the color.
        Returns:
        the color value.
        To do:
        refactor to use an EnumeratedAttribute (maybe?)