javax.swing.text.html

Class CSS

    • Constructor Detail

      • CSS

        public CSS()
    • Method Detail

      • getAllAttributeKeys

        public static CSS.Attribute[] getAllAttributeKeys()
        Return the set of all possible CSS attribute keys.
      • getAttribute

        public static final CSS.Attribute getAttribute(String name)
        Translates a string to a CSS.Attribute object. This will return null if there is no attribute by the given name.
        Parameters:
        name - the name of the CSS attribute to fetch the typesafe enumeration for
        Returns:
        the CSS.Attribute object, or null if the string doesn't represent a valid attribute key