Package org.eclnt.jsfserver.util
Class StyleUtil
java.lang.Object
org.eclnt.jsfserver.util.StyleUtil
Utilities in the area of style management.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkIfColorIsDark
(String color) static String
Access to style value @baseColor@static String
getStyleTextColorForBackground
(String background) Returns text color which is adequate to background.static String
Access to style value @textColorForDarkBackground@static String
Access to style value @textColorForLightBackground@
-
Constructor Details
-
StyleUtil
public StyleUtil()
-
-
Method Details
-
checkIfColorIsDark
-
getStyleBaseColor
Access to style value @baseColor@ -
getStyleTextColorForLightBackground
Access to style value @textColorForLightBackground@ -
getStyleTextColorForDarkBackground
Access to style value @textColorForDarkBackground@ -
getStyleTextColorForBackground
Returns text color which is adequate to background.
-