Uses of Class
javax.swing.text.html.HTML.Tag
-
Packages that use HTML.Tag Package Description javax.swing.text.html Provides the classHTMLEditorKitand supporting classes for creating HTML text editors.javax.swing.text.html.parser 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.html Modifier and Type Class Description static classHTML.UnknownTagClass represents unknown HTML tag.Fields in javax.swing.text.html declared as HTML.Tag Modifier and Type Field Description static HTML.TagHTML.Tag. ATag <a>static 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 HTML.TagHTML.Tag. APPLETTag <applet>static HTML.TagHTML.Tag. AREATag <area>static HTML.TagHTML.Tag. BTag <b>static HTML.TagHTML.Tag. BASETag <base>static HTML.TagHTML.Tag. BASEFONTTag <basefont>static HTML.TagHTML.Tag. BIGTag <big>static HTML.TagHTML.Tag. BLOCKQUOTETag <blockquote>static HTML.TagHTML.Tag. BODYTag <body>static HTML.TagHTML.Tag. BRTag <br>static HTML.TagHTML.Tag. CAPTIONTag <caption>static HTML.TagHTML.Tag. CENTERTag <center>static HTML.TagHTML.Tag. CITETag <cite>static HTML.TagHTML.Tag. CODETag <code>static HTML.TagHTML.Tag. COMMENTAll comments are labeled with this tag.static HTML.TagHTML.Tag. CONTENTAll text content is labeled with this tag.static HTML.TagHTML.Tag. DDTag <dd>static HTML.TagHTML.Tag. DFNTag <dfn>static HTML.TagHTML.Tag. DIRTag <dir>static HTML.TagHTML.Tag. DIVTag <div>static HTML.TagHTML.Tag. DLTag <dl>static HTML.TagHTML.Tag. DTTag <dt>static HTML.TagHTML.Tag. EMTag <em>static HTML.TagHTML.Tag. FONTTag <font>static HTML.TagHTML.Tag. FORMTag <form>static HTML.TagHTML.Tag. FRAMETag <frame>static HTML.TagHTML.Tag. FRAMESETTag <frameset>static HTML.TagHTML.Tag. H1Tag <h1>static HTML.TagHTML.Tag. H2Tag <h2>static HTML.TagHTML.Tag. H3Tag <h3>static HTML.TagHTML.Tag. H4Tag <h4>static HTML.TagHTML.Tag. H5Tag <h5>static HTML.TagHTML.Tag. H6Tag <h6>static HTML.TagHTML.Tag. HEADTag <head>static HTML.TagHTML.Tag. HRTag <hr>static HTML.TagHTML.Tag. HTMLTag <html>static HTML.TagHTML.Tag. ITag <i>static HTML.TagHTML.Tag. IMGTag <img>static HTML.TagHTML.Tag. IMPLIEDAll text content must be in a paragraph element.static HTML.TagHTML.Tag. INPUTTag <input>static HTML.TagHTML.Tag. ISINDEXTag <isindex>static HTML.TagHTML.Tag. KBDTag <kbd>static HTML.TagHTML.Tag. LITag <li>static HTML.TagHTML.Tag. LINKTag <link>static HTML.TagHTML.Tag. MAPTag <map>static HTML.TagHTML.Tag. MENUTag <menu>static HTML.TagHTML.Tag. METATag <meta>static HTML.TagHTML.Tag. NOFRAMESTag <noframes>static HTML.TagHTML.Tag. OBJECTTag <object>static HTML.TagHTML.Tag. OLTag <ol>static HTML.TagHTML.Tag. OPTIONTag <option>static HTML.TagHTML.Tag. PTag <p>static HTML.TagHTML.Tag. PARAMTag <param>protected HTML.TagHTMLEditorKit.InsertHTMLTextAction. parentTagTag to check for in the document.static HTML.TagHTML.Tag. PRETag <pre>static HTML.TagHTML.Tag. STag <s>static HTML.TagHTML.Tag. SAMPTag <samp>static HTML.TagHTML.Tag. SCRIPTTag <script>static HTML.TagHTML.Tag. SELECTTag <select>static HTML.TagHTML.Tag. SMALLTag <small>static HTML.TagHTML.Tag. SPANTag <span>static HTML.TagHTML.Tag. STRIKETag <strike>static HTML.TagHTML.Tag. STRONGTag <strong>static HTML.TagHTML.Tag. STYLETag <style>static HTML.TagHTML.Tag. SUBTag <sub>static HTML.TagHTML.Tag. SUPTag <sup>static HTML.TagHTML.Tag. TABLETag <table>static HTML.TagHTML.Tag. TDTag <td>static HTML.TagHTML.Tag. TEXTAREATag <textarea>static HTML.TagHTML.Tag. THTag <th>static HTML.TagHTML.Tag. TITLETag <title>static HTML.TagHTML.Tag. TRTag <tr>static HTML.TagHTML.Tag. TTTag <tt>static HTML.TagHTML.Tag. UTag <u>static HTML.TagHTML.Tag. ULTag <ul>static HTML.TagHTML.Tag. VARTag <var>Methods in javax.swing.text.html that return HTML.Tag Modifier and Type Method Description static HTML.Tag[]HTML. getAllTags()Returns the set of actual HTML tags that are recognized by the default HTML reader.static HTML.TagHTML. getTag(String tagName)Fetches 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.Tag Modifier and Type Method Description protected 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.voidHTMLDocument.HTMLReader.TagAction. end(HTML.Tag t)Called 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.IteratorHTMLDocument. getIterator(HTML.Tag t)Fetches an iterator for the specified HTML tag.HTMLEditorKit.ParserCallbackHTMLDocument. getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)Returns the reader for the parser to use to load the document with HTML.StyleStyleSheet. getRule(HTML.Tag t, Element e)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.Tag Constructor Description HTMLReader(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.Tag Modifier and Type Method Description HTML.TagTagElement. getHTMLTag()Returns the tag constant corresponding to the name of theelement
-