| Package | Description |
|---|---|
| javax.swing | |
| javax.swing.text | |
| javax.swing.text.html |
| 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 e)
Gets the target editor for an action.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StyledEditorKit.deinstall(JEditorPane c)
Called when the kit is being removed from the
JEditorPane.
|
void |
EditorKit.deinstall(JEditorPane c)
Called when the kit is being removed from the
JEditorPane.
|
protected StyledDocument |
StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e)
Gets the document associated with an editor pane.
|
protected StyledEditorKit |
StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e)
Gets the editor kit associated with an editor pane.
|
void |
StyledEditorKit.install(JEditorPane c)
Called when the kit is being installed into
a JEditorPane.
|
void |
EditorKit.install(JEditorPane c)
Called when the kit is being installed into the
a JEditorPane.
|
protected void |
StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor,
AttributeSet attr,
boolean replace)
Applies the given attributes to character
content.
|
protected void |
StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor,
AttributeSet attr,
boolean replace)
Applies the given attributes to paragraphs.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
HTMLEditorKit.LinkController.activateLink(int pos,
JEditorPane editor)
Calls linkActivated on the associated JEditorPane
if the given position represents a link.
|
void |
HTMLEditorKit.deinstall(JEditorPane c)
Called when the kit is being removed from the
JEditorPane.
|
protected HTMLDocument |
HTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e) |
protected HTMLEditorKit |
HTMLEditorKit.HTMLTextAction.getHTMLEditorKit(JEditorPane e) |
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundary(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
This is invoked when inserting at a boundary.
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor,
HTMLDocument doc,
int offset,
Element insertElement,
String html,
HTML.Tag parentTag,
HTML.Tag addTag)
Deprecated.
As of Java 2 platform v1.3, use insertAtBoundary
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor,
HTMLDocument doc,
int offset,
String html,
int popDepth,
int pushDepth,
HTML.Tag addTag)
A cover for HTMLEditorKit.insertHTML.
|
void |
HTMLEditorKit.install(JEditorPane c)
Called when the kit is being installed into the
a JEditorPane.
|
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.