|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package | Description |
|---|---|
| javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. |
| 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 StyledDocument in javax.swing |
|---|
| Modifier and Type | Method and Description |
|---|---|
StyledDocument |
JTextPane.getStyledDocument()
Fetches the model associated with the editor. |
| Modifier and Type | Method and Description |
|---|---|
void |
JTextPane.setStyledDocument(StyledDocument doc)
Associates the editor with a text document. |
| Constructor and Description |
|---|
JTextPane(StyledDocument doc)
Creates a new JTextPane, with a specified document model. |
| Uses of StyledDocument in javax.swing.text |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultStyledDocument
A document that can be marked up with character and paragraph styles in a manner similar to the Rich Text Format. |
| Modifier and Type | Method and Description |
|---|---|
protected StyledDocument |
StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e)
Gets the document associated with an editor pane. |
| Uses of StyledDocument in javax.swing.text.html |
|---|
| Modifier and Type | Class and Description |
|---|---|
class |
HTMLDocument
A document that models HTML. |
| Constructor and Description |
|---|
MinimalHTMLWriter(Writer w,
StyledDocument doc)
Creates a new MinimalHTMLWriter. |
MinimalHTMLWriter(Writer w,
StyledDocument doc,
int pos,
int len)
Creates a new MinimalHTMLWriter. |
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.