Class DefaultCssInheritanceRules

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean inheritCssSelector​(Tag tag, java.lang.String key)
      Validate inheritance of any CSS property for the given tag.
      boolean inheritCssTag​(java.lang.String tag)
      Validate inheritance of parent tag CSS.
      • Methods inherited from class java.lang.Object

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

      • DefaultCssInheritanceRules

        public DefaultCssInheritanceRules()
    • Method Detail

      • inheritCssTag

        public boolean inheritCssTag​(java.lang.String tag)
        Description copied from interface: CssInheritanceRules
        Validate inheritance of parent tag CSS.
        Specified by:
        inheritCssTag in interface CssInheritanceRules
        Parameters:
        tag - the tag
        Returns:
        true if the tag can inherit CSS from it's parent tag, false otherwise.
      • inheritCssSelector

        public boolean inheritCssSelector​(Tag tag,
                                          java.lang.String key)
        Description copied from interface: CssInheritanceRules
        Validate inheritance of any CSS property for the given tag.
        Specified by:
        inheritCssSelector in interface CssInheritanceRules
        Parameters:
        tag - the tag
        key - the css property
        Returns:
        true if this property can be inherited from the parent tag for the given tag, false otherwise.