Java™ Platform
Standard Ed. 7
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
Java™ Platform
Standard Ed. 7

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.