| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JTextPane
A text component that can be marked up with attributes that are represented graphically.
|
| Modifier and Type | Method and Description |
|---|---|
protected JEditorPane |
StyledEditorKit.StyledTextAction.getEditor(ActionEvent
Gets the target editor for an action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
EditorKit.deinstall(JEditorPane
Called when the kit is being removed from the JEditorPane.
|
void |
StyledEditorKit.deinstall(JEditorPane
Called when the kit is being removed from the JEditorPane.
|
protected StyledDocument |
StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane
Gets the document associated with an editor pane.
|
protected StyledEditorKit |
StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane
Gets the editor kit associated with an editor pane.
|
void |
EditorKit.install(JEditorPane
Called when the kit is being installed into the a JEditorPane.
|
void |
StyledEditorKit.install(JEditorPane
Called when the kit is being installed into a JEditorPane.
|
protected void |
StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane
Applies the given attributes to character content.
|
protected void |
StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane
Applies the given attributes to paragraphs.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HTMLEditorKit.LinkController.activateLink(int pos, JEditorPane
Calls linkActivated on the associated JEditorPane if the given position represents a link.
|
void |
HTMLEditorKit.deinstall(JEditorPane
Called when the kit is being removed from the JEditorPane.
|
protected HTMLDocument |
HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane
|
protected HTMLEditorKit |
HTMLEditorKit.HTMLTextAction.getHTMLEditorKit(JEditorPane
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane
This is invoked when inserting at a boundary.
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane
Deprecated.
As of Java 2 platform v1.3, use insertAtBoundary
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane
A cover for HTMLEditorKit.insertHTML.
|
void |
HTMLEditorKit.install(JEditorPane
Called when the kit is being installed into the a JEditorPane.
|