Class CssDefaults


  • public class CssDefaults
    extends java.lang.Object
    Helper class that allows you to get the default values of CSS properties.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.Map<java.lang.String,​java.lang.String> defaultValues
      A map with properties and their default values.
    • Constructor Summary

      Constructors 
      Constructor Description
      CssDefaults()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getDefaultValue​(java.lang.String property)
      Gets the default value of a property.
      • Methods inherited from class java.lang.Object

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

      • defaultValues

        private static final java.util.Map<java.lang.String,​java.lang.String> defaultValues
        A map with properties and their default values.
    • Constructor Detail

      • CssDefaults

        public CssDefaults()
    • Method Detail

      • getDefaultValue

        public static java.lang.String getDefaultValue​(java.lang.String property)
        Gets the default value of a property.
        Parameters:
        property - the property
        Returns:
        the default value