## Uses of Interface
javax.swing.text.AbstractDocument.AttributeContext

- Packages that use AbstractDocument.AttributeContext
  Package | Description
  --- | ---
  javax.swing.text | Provides classes and interfaces that deal with editable and noneditable text components.
  javax.swing.text.html | Provides the class `HTMLEditorKit` and supporting classes for creating HTML text editors.

- - ### Uses of AbstractDocument.AttributeContext in javax.swing.text

    Classes in javax.swing.text that implement AbstractDocument.AttributeContext
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `StyleContext` A pool of styles and their associated resources.

    Methods in javax.swing.text that return AbstractDocument.AttributeContext
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected AbstractDocument.AttributeContext` | AbstractDocument.`getAttributeContext()` Fetches the context for managing attributes.

    Constructors in javax.swing.text with parameters of type AbstractDocument.AttributeContext
    Constructor | Description
    --- | ---
    `AbstractDocument(AbstractDocument.Content data, AbstractDocument.AttributeContext context)` Constructs a new `AbstractDocument`, wrapped around some specified content storage mechanism.

  - ### Uses of AbstractDocument.AttributeContext in javax.swing.text.html

    Classes in javax.swing.text.html that implement AbstractDocument.AttributeContext
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `StyleSheet` Support for defining the visual characteristics of HTML views being rendered.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.