HTMLEditorKit.InsertHTMLTextAction
- class javax.swing.text.html..HTMLEditorKit.InsertHTMLTextAction public static class HTMLEditorKit.InsertHTMLTextAction extends HTMLEditorKit.HTMLTextAction Tree:java.lang.Object - javax.swing.AbstractAction - javax.swing.text.TextAction - javax.swing.text.StyledEditorKit.StyledTextAction - javax.swing.text.html.HTMLEditorKit.HTMLTextAction - javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction InsertHTMLTextAction can be used to insert an arbitrary string of HTML into an existing HTML document. At least two HTML.Tags need to be supplied. The first Tag, parentTag, identifies the parent in the document to add the elements to. The second tag, addTag, identifies the first tag that should be added to the document as seen in the HTML string. One important thing to remember, is that the parser is going to generate all the appropriate tags, even if they aren't in the HTML string passed in. HTMLEditorKit.InsertHTMLTextAction(String, String, HTML.Tag, HTML.Tag) - Constructor for class javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction public HTMLEditorKit.InsertHTMLTextAction (String name, String html, HTML.Tag parentTag, HTML.Tag addTag) HTMLEditorKit.InsertHTMLTextAction(String, String, HTML.Tag, HTML.Tag, HTML.Tag, HTML.Tag) - Constructor for class javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction public HTMLEditorKit.InsertHTMLTextAction (String name, String html, HTML.Tag parentTag, HTML.Tag addTag, HTML.Tag alternateParentTag, HTML.Tag alternateAddTag) | ||||
Search Dictionary:
