Uses of Class
javax.swing.JEditorPane
Packages that use JEditorPane
包
描述
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides classes and interfaces that deal with editable and noneditable text
components.
Provides the class
HTMLEditorKit
and supporting classes for creating
HTML text editors.-
Uses of JEditorPane in javax.swing
Subclasses of JEditorPane in javax.swing修饰符和类Class描述class
A text component that can be marked up with attributes that are represented graphically. -
Uses of JEditorPane in javax.swing.text
Methods in javax.swing.text that return JEditorPane修饰符和类方法描述protected final JEditorPane
StyledEditorKit.StyledTextAction.getEditor
(ActionEvent e) Gets the target editor for an action.Methods in javax.swing.text with parameters of type JEditorPane修饰符和类方法描述void
EditorKit.deinstall
(JEditorPane c) Called when the kit is being removed from the JEditorPane.void
StyledEditorKit.deinstall
(JEditorPane c) Called when the kit is being removed from the JEditorPane.protected final StyledDocument
StyledEditorKit.StyledTextAction.getStyledDocument
(JEditorPane e) Gets the document associated with an editor pane.protected final StyledEditorKit
StyledEditorKit.StyledTextAction.getStyledEditorKit
(JEditorPane e) Gets the editor kit associated with an editor pane.void
EditorKit.install
(JEditorPane c) Called when the kit is being installed into the a JEditorPane.void
StyledEditorKit.install
(JEditorPane c) Called when the kit is being installed into a JEditorPane.protected final void
StyledEditorKit.StyledTextAction.setCharacterAttributes
(JEditorPane editor, AttributeSet attr, boolean replace) Applies the given attributes to character content.protected final void
StyledEditorKit.StyledTextAction.setParagraphAttributes
(JEditorPane editor, AttributeSet attr, boolean replace) Applies the given attributes to paragraphs. -
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) 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) ReturnsHTMLDocument
of the givenJEditorPane
.protected HTMLEditorKit
HTMLEditorKit.HTMLTextAction.getHTMLEditorKit
(JEditorPane e) ReturnsHTMLEditorKit
of the givenJEditorPane
.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 insertAtBoundaryprotected 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.