Class StyleUtil

java.lang.Object
org.eclnt.jsfserver.util.StyleUtil

public class StyleUtil extends Object
Utilities in the area of style management.
  • Constructor Details

    • StyleUtil

      public StyleUtil()
  • Method Details

    • checkIfColorIsDark

      public static boolean checkIfColorIsDark(String color)
    • getStyleBaseColor

      public static String getStyleBaseColor()
      Access to style value @baseColor@
    • getStyleTextColorForLightBackground

      public static String getStyleTextColorForLightBackground()
      Access to style value @textColorForLightBackground@
    • getStyleTextColorForDarkBackground

      public static String getStyleTextColorForDarkBackground()
      Access to style value @textColorForDarkBackground@
    • getStyleTextColorForBackground

      public static String getStyleTextColorForBackground(String background)
      Returns text color which is adequate to background.