Uses of Class
javax.swing.JEditorPane
-
Packages that use JEditorPane 软件包 描述 javax.swing 提供一套“轻量级”(全Java语言)组件,尽可能地在所有平台上工作。javax.swing.text 提供处理可编辑和不可编辑文本组件的类和接口。javax.swing.text.html 提供类HTMLEditorKit
和支持类用于创建HTML文本编辑器。 -
-
Uses of JEditorPane in javax.swing
Subclasses of JEditorPane in javax.swing Modifier and Type Class 描述 class
JTextPane
可以用图形化的属性标记的文本组件。 -
Uses of JEditorPane in javax.swing.text
Methods in javax.swing.text that return JEditorPane Modifier and Type 方法 描述 protected JEditorPane
StyledEditorKit.StyledTextAction. getEditor(ActionEvent e)
获取操作的目标编辑器。Methods in javax.swing.text with parameters of type JEditorPane Modifier and Type 方法 描述 void
EditorKit. deinstall(JEditorPane c)
当该套件从JEditorPane中删除时调用。void
StyledEditorKit. deinstall(JEditorPane c)
当该套件从JEditorPane中删除时调用。protected StyledDocument
StyledEditorKit.StyledTextAction. getStyledDocument(JEditorPane e)
获取与编辑器窗格关联的文档。protected StyledEditorKit
StyledEditorKit.StyledTextAction. getStyledEditorKit(JEditorPane e)
获取与编辑器窗格相关联的编辑工具包。void
EditorKit. install(JEditorPane c)
当该套件安装到JEditorPane中时调用。void
StyledEditorKit. 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)
将给定的属性应用于段落。 -
Uses of JEditorPane in javax.swing.text.html
Methods in javax.swing.text.html with parameters of type JEditorPane Modifier and Type 方法 描述 protected void
HTMLEditorKit.LinkController. activateLink(int pos, JEditorPane editor)
如果给定的位置表示链接,则在相关联的JEditorPane上调用linkActivated。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开始,使用insertAtBoundaryprotected 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中时调用。
-