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 变量和类型 类 描述 class
JTextPane
一个文本组件,可以使用以图形方式表示的属性进行标记。 -
Uses of JEditorPane in javax.swing.text
Methods in javax.swing.text that return JEditorPane 变量和类型 方法 描述 protected JEditorPane
StyledEditorKit.StyledTextAction. getEditor(ActionEvent e)
获取操作的目标编辑器。Methods in javax.swing.text with parameters of type JEditorPane 变量和类型 方法 描述 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 变量和类型 方法 描述 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)
Called when the kit is being installed into the a JEditorPane.
-