Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.
Java™ Platform
Standard Ed. 7

DRAFT ea-b138
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

DRAFT ea-b138

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, 2011, Oracle and/or its affiliates. All rights reserved.

DRAFT ea-b138