软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
Modifier and Type | Class and Description |
---|---|
class |
JTextPane
一个可以标记的文本组件,可以用图形表示的属性标记。
|
Modifier and Type | Method and Description |
---|---|
protected JEditorPane |
StyledEditorKit.StyledTextAction.getEditor(ActionEvent e)
获取一个动作的目标编辑器。
|
Modifier and Type | Method and Description |
---|---|
void |
StyledEditorKit.deinstall(JEditorPane c)
当包被从jeditorpane删除。
|
void |
EditorKit.deinstall(JEditorPane c)
当包被从jeditorpane删除。
|
protected StyledDocument |
StyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e)
获取与编辑器窗格关联的文档。
|
protected StyledEditorKit |
StyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e)
获取与编辑器窗格关联的编辑工具包。
|
void |
StyledEditorKit.install(JEditorPane c)
“当套件安装到jeditorpane。
|
void |
EditorKit.install(JEditorPane c)
当包被安装到一个jeditorpane。
|
protected void |
StyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
将给定的属性应用于字符内容。
|
protected void |
StyledEditorKit.StyledTextAction.setParagraphAttributes(JEditorPane editor, AttributeSet attr, boolean replace)
将给定的属性应用到段落。
|
Modifier and Type | Method and Description |
---|---|
protected void |
HTMLEditorKit.LinkController.activateLink(int pos, JEditorPane editor)
电话linkactivated对相关jeditorpane如果给定的位置代表一个链接。
|
void |
HTMLEditorKit.deinstall(JEditorPane c)
当包被从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)
这是在插入到一个边界时调用的。
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
过时的。
作为java 2平台V1.3,使用insertatboundary
|
protected void |
HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
一套htmleditorkit.inserthtml。
|
void |
HTMLEditorKit.install(JEditorPane c)
当包被安装到一个jeditorpane。
|
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.