Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javax.swing.text.DefaultStyledDocument.ElementSpec

Packages that use DefaultStyledDocument.ElementSpec
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 DefaultStyledDocument.ElementSpec in javax.swing.text

Methods in javax.swing.text with parameters of type DefaultStyledDocument.ElementSpec
`protected void` | `DefaultStyledDocument.create(DefaultStyledDocument.ElementSpec[] data)` Initialize the document to reflect the given element structure (i.e.
`protected void` | `DefaultStyledDocument.insert(int offset, DefaultStyledDocument.ElementSpec[] data)` Inserts new elements in bulk.
`void` | `DefaultStyledDocument.ElementBuffer.insert(int offset, int length, DefaultStyledDocument.ElementSpec[] data, AbstractDocument.DefaultDocumentEvent de)` Inserts new content.
`protected void` | `DefaultStyledDocument.ElementBuffer.insertUpdate(DefaultStyledDocument.ElementSpec[] data)` Inserts an update into the document.

Uses of DefaultStyledDocument.ElementSpec in javax.swing.text.html

Methods in javax.swing.text.html with parameters of type DefaultStyledDocument.ElementSpec
`protected void` | `HTMLDocument.insert(int offset, DefaultStyledDocument.ElementSpec[] data)` Inserts new elements in bulk.
`protected void` | `HTMLDocument.create(DefaultStyledDocument.ElementSpec[] data)` Replaces the contents of the document with the given element specifications.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.