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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
protected Vector<DefaultStyledDocument.ElementSpec> |
HTMLDocument.HTMLReader.parseBuffer |
Modifier and Type | Method and Description |
---|---|
protected void |
HTMLDocument.create(DefaultStyledDocument.ElementSpec[] data)
Replaces the contents of the document with the given
element specifications.
|
protected void |
HTMLDocument.insert(int offset,
DefaultStyledDocument.ElementSpec[] data)
Inserts new elements in bulk.
|
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, 2014, Oracle and/or its affiliates. All rights reserved.