Uses of Class
javax.swing.text.html.HTML.Tag
Packages that use HTML.Tag
Package
Description
Provides the class
HTMLEditorKit and supporting classes for creating
HTML text editors.Provides the default HTML parser, along with support classes.
-
Uses of HTML.Tag in javax.swing.text.html
Subclasses of HTML.Tag in javax.swing.text.htmlFields in javax.swing.text.html declared as HTML.TagModifier and TypeFieldDescriptionstatic final HTML.TagHTML.Tag.ATag <a>static final HTML.TagHTML.Tag.ADDRESSTag <address>protected HTML.TagHTMLEditorKit.InsertHTMLTextAction.addTagTag in HTML to start adding tags from.protected HTML.TagHTMLEditorKit.InsertHTMLTextAction.alternateAddTagAlternate tag in HTML to start adding tags from if parentTag is not found and alternateParentTag is found.protected HTML.TagHTMLEditorKit.InsertHTMLTextAction.alternateParentTagAlternate Tag to check for in the document if parentTag is not found.static final HTML.TagHTML.Tag.APPLETTag <applet>static final HTML.TagHTML.Tag.AREATag <area>static final HTML.TagHTML.Tag.BTag <b>static final HTML.TagHTML.Tag.BASETag <base>static final HTML.TagHTML.Tag.BASEFONTTag <basefont>static final HTML.TagHTML.Tag.BIGTag <big>static final HTML.TagHTML.Tag.BLOCKQUOTETag <blockquote>static final HTML.TagHTML.Tag.BODYTag <body>static final HTML.TagHTML.Tag.BRTag <br>static final HTML.TagHTML.Tag.CAPTIONTag <caption>static final HTML.TagHTML.Tag.CENTERTag <center>static final HTML.TagHTML.Tag.CITETag <cite>static final HTML.TagHTML.Tag.CODETag <code>static final HTML.TagHTML.Tag.COMMENTAll comments are labeled with this tag.static final HTML.TagHTML.Tag.CONTENTAll text content is labeled with this tag.static final HTML.TagHTML.Tag.DDTag <dd>static final HTML.TagHTML.Tag.DFNTag <dfn>static final HTML.TagHTML.Tag.DIRTag <dir>static final HTML.TagHTML.Tag.DIVTag <div>static final HTML.TagHTML.Tag.DLTag <dl>static final HTML.TagHTML.Tag.DTTag <dt>static final HTML.TagHTML.Tag.EMTag <em>static final HTML.TagHTML.Tag.FONTTag <font>static final HTML.TagHTML.Tag.FORMTag <form>static final HTML.TagHTML.Tag.FRAMETag <frame>static final HTML.TagHTML.Tag.FRAMESETTag <frameset>static final HTML.TagHTML.Tag.H1Tag <h1>static final HTML.TagHTML.Tag.H2Tag <h2>static final HTML.TagHTML.Tag.H3Tag <h3>static final HTML.TagHTML.Tag.H4Tag <h4>static final HTML.TagHTML.Tag.H5Tag <h5>static final HTML.TagHTML.Tag.H6Tag <h6>static final HTML.TagHTML.Tag.HEADTag <head>static final HTML.TagHTML.Tag.HRTag <hr>static final HTML.TagHTML.Tag.HTMLTag <html>static final HTML.TagHTML.Tag.ITag <i>static final HTML.TagHTML.Tag.IMGTag <img>static final HTML.TagHTML.Tag.IMPLIEDAll text content must be in a paragraph element.static final HTML.TagHTML.Tag.INPUTTag <input>static final HTML.TagHTML.Tag.ISINDEXTag <isindex>static final HTML.TagHTML.Tag.KBDTag <kbd>static final HTML.TagHTML.Tag.LITag <li>static final HTML.TagHTML.Tag.LINKTag <link>static final HTML.TagHTML.Tag.MAPTag <map>static final HTML.TagHTML.Tag.MENUTag <menu>static final HTML.TagHTML.Tag.METATag <meta>static final HTML.TagHTML.Tag.NOFRAMESTag <noframes>static final HTML.TagHTML.Tag.OBJECTTag <object>static final HTML.TagHTML.Tag.OLTag <ol>static final HTML.TagHTML.Tag.OPTIONTag <option>static final HTML.TagHTML.Tag.PTag <p>static final HTML.TagHTML.Tag.PARAMTag <param>protected HTML.TagHTMLEditorKit.InsertHTMLTextAction.parentTagTag to check for in the document.static final HTML.TagHTML.Tag.PRETag <pre>static final HTML.TagHTML.Tag.STag <s>static final HTML.TagHTML.Tag.SAMPTag <samp>static final HTML.TagHTML.Tag.SCRIPTTag <script>static final HTML.TagHTML.Tag.SELECTTag <select>static final HTML.TagHTML.Tag.SMALLTag <small>static final HTML.TagHTML.Tag.SPANTag <span>static final HTML.TagHTML.Tag.STRIKETag <strike>static final HTML.TagHTML.Tag.STRONGTag <strong>static final HTML.TagHTML.Tag.STYLETag <style>static final HTML.TagHTML.Tag.SUBTag <sub>static final HTML.TagHTML.Tag.SUPTag <sup>static final HTML.TagHTML.Tag.TABLETag <table>static final HTML.TagHTML.Tag.TDTag <td>static final HTML.TagHTML.Tag.TEXTAREATag <textarea>static final HTML.TagHTML.Tag.THTag <th>static final HTML.TagHTML.Tag.TITLETag <title>static final HTML.TagHTML.Tag.TRTag <tr>static final HTML.TagHTML.Tag.TTTag <tt>static final HTML.TagHTML.Tag.UTag <u>static final HTML.TagHTML.Tag.ULTag <ul>static final HTML.TagHTML.Tag.VARTag <var>Methods in javax.swing.text.html that return HTML.TagModifier and TypeMethodDescriptionstatic HTML.Tag[]HTML.getAllTags()Returns the set of actual HTML tags that are recognized by the default HTML reader.static HTML.TagFetches a tag constant for a well-known tag name (i.e. one of the tags in the set {A, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BIG, BLOCKQUOTE, BODY, BR, CAPTION, CENTER, CITE, CODE, DD, DFN, DIR, DIV, DL, DT, EM, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IMG, INPUT, ISINDEX, KBD, LI, LINK, MAP, MENU, META, NOBR, NOFRAMES, OBJECT, OL, OPTION, P, PARAM, PRE, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, S, STRONG, STYLE, SUB, SUP, TABLE, TD, TEXTAREA, TH, TITLE, TR, TT, U, UL, VAR}.abstract HTML.TagHTMLDocument.Iterator.getTag()Type of tag this iterator represents.Methods in javax.swing.text.html with parameters of type HTML.TagModifier and TypeMethodDescriptionprotected voidHTMLDocument.HTMLReader.addSpecialElement(HTML.Tag t, MutableAttributeSet a) Adds content that is basically specified entirely in the attribute set.protected voidHTMLDocument.HTMLReader.blockClose(HTML.Tag t) Adds an instruction to the parse buffer to close out a block element of the given type.protected voidHTMLDocument.HTMLReader.blockOpen(HTML.Tag t, MutableAttributeSet attr) Adds an instruction to the parse buffer to create a block element with the given attributes.protected intHTMLEditorKit.HTMLTextAction.elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag) Returns number of elements, starting at the deepest leaf, needed to get to an element representingtag.voidCalled when an end tag is seen for the type of tag this action was registered to.protected ElementHTMLEditorKit.HTMLTextAction.findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag) Returns the deepest element atoffsetmatchingtag.HTMLDocument.getIterator(HTML.Tag t) Fetches an iterator for the specified HTML tag.Returns the reader for the parser to use to load the document with HTML.Fetches the style to use to render the given type of HTML tag.voidHTMLDocument.HTMLReader.handleEndTag(HTML.Tag t, int pos) Callback from the parser.voidHTMLEditorKit.ParserCallback.handleEndTag(HTML.Tag t, int pos) Callback from the parser.voidHTMLDocument.HTMLReader.handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.voidHTMLEditorKit.ParserCallback.handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.voidHTMLDocument.HTMLReader.handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.voidHTMLEditorKit.ParserCallback.handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos) Callback from the parser.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 insertAtBoundaryvoidHTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag) Inserts HTML into an existing document.protected voidHTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag) A cover for HTMLEditorKit.insertHTML.protected booleanHTMLWriter.matchNameAttribute(AttributeSet attr, HTML.Tag tag) Returns true if the StyleConstants.NameAttribute is equal to the tag that is passed in as a parameter.protected voidHTMLDocument.HTMLReader.registerTag(HTML.Tag t, HTMLDocument.HTMLReader.TagAction a) Registers a handler for the given tag.voidHTMLDocument.HTMLReader.TagAction.start(HTML.Tag t, MutableAttributeSet a) Called when a start tag is seen for the type of tag this action was registered to.Constructors in javax.swing.text.html with parameters of type HTML.TagModifierConstructorDescriptionHTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag) Constructs an HTMLReader.InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag) Creates a new InsertHTMLTextAction.InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag, HTML.Tag alternateParentTag, HTML.Tag alternateAddTag) Creates a new InsertHTMLTextAction. -
Uses of HTML.Tag in javax.swing.text.html.parser
Methods in javax.swing.text.html.parser that return HTML.TagModifier and TypeMethodDescriptionTagElement.getHTMLTag()Returns the tag constant corresponding to the name of theelement