Class StyleAttributes

  • All Implemented Interfaces:
    java.io.Serializable

    public final class StyleAttributes
    extends java.lang.Object
    implements java.io.Serializable
    Contains information about the style attribute defined for different browser as well as their default values.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StyleAttributes.Definition
      Holds information about a style attribute (CSS name, property name, browser availability, default computed value.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private StyleAttributes()  
    • Constructor Detail

      • StyleAttributes

        private StyleAttributes()
    • Method Detail

      • getDefinition

        public static StyleAttributes.Definition getDefinition​(java.lang.String propertyName,
                                                               BrowserVersion browserVersion)
        Gets the style attributes definition with the given name for the specified browser version.
        Parameters:
        propertyName - the name of the property
        browserVersion - the browser version
        Returns:
        null if no definition exists for this browser version
      • getDefinitions

        public static java.util.List<StyleAttributes.Definition> getDefinitions​(BrowserVersion browserVersion)
        Gets the style attributes definitions for the specified browser version.
        Parameters:
        browserVersion - the browser version
        Returns:
        the list