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描述classA 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 JEditorPaneStyledEditorKit.StyledTextAction.getEditor(ActionEvent e) Gets the target editor for an action.Methods in javax.swing.text with parameters of type JEditorPane修饰符和类方法描述voidEditorKit.deinstall(JEditorPane c) Called when the kit is being removed from the JEditorPane.voidStyledEditorKit.deinstall(JEditorPane c) Called when the kit is being removed from the JEditorPane.protected final StyledDocumentStyledEditorKit.StyledTextAction.getStyledDocument(JEditorPane e) Gets the document associated with an editor pane.protected final StyledEditorKitStyledEditorKit.StyledTextAction.getStyledEditorKit(JEditorPane e) Gets the editor kit associated with an editor pane.voidEditorKit.install(JEditorPane c) Called when the kit is being installed into the a JEditorPane.voidStyledEditorKit.install(JEditorPane c) Called when the kit is being installed into a JEditorPane.protected final voidStyledEditorKit.StyledTextAction.setCharacterAttributes(JEditorPane editor, AttributeSet attr, boolean replace) Applies the given attributes to character content.protected final voidStyledEditorKit.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 voidHTMLEditorKit.LinkController.activateLink(int pos, JEditorPane editor) Calls linkActivated on the associated JEditorPane if the given position represents a link.voidHTMLEditorKit.deinstall(JEditorPane c) Called when the kit is being removed from the JEditorPane.protected HTMLDocumentHTMLEditorKit.HTMLTextAction.getHTMLDocument(JEditorPane e) ReturnsHTMLDocumentof the givenJEditorPane.protected HTMLEditorKitHTMLEditorKit.HTMLTextAction.getHTMLEditorKit(JEditorPane e) ReturnsHTMLEditorKitof the givenJEditorPane.protected voidHTMLEditorKit.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 voidHTMLEditorKit.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 voidHTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag) A cover for HTMLEditorKit.insertHTML.voidHTMLEditorKit.install(JEditorPane c) Called when the kit is being installed into the a JEditorPane.