Class CSSColors

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​java.awt.Color> CSS_COLORS  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CSSColors()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.Color get​(java.lang.String key)
      Returns the CSS color for the given key
      • Methods inherited from class java.lang.Object

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

      • CSS_COLORS

        private static final java.util.Map<java.lang.String,​java.awt.Color> CSS_COLORS
    • Method Detail

      • get

        public static java.awt.Color get​(java.lang.String key)
        Returns the CSS color for the given key
        Parameters:
        key - The key to find
        Returns:
        The color for key