Java™ Platform
Standard Ed. 6

Uses of Class
javax.swing.text.html.HTML.Tag

Packages that use HTML.Tag
javax.swing.text.html Provides the class HTMLEditorKit and 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
static class HTML.UnknownTag
           
 

Fields in javax.swing.text.html declared as HTML.Tag
static HTML.Tag HTML.Tag.A
           
static HTML.Tag HTML.Tag.ADDRESS
           
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.addTag
          Tag in HTML to start adding tags from.
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.alternateAddTag
          Alternate tag in HTML to start adding tags from if parentTag is not found and alternateParentTag is found.
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.alternateParentTag
          Alternate Tag to check for in the document if parentTag is not found.
static HTML.Tag HTML.Tag.APPLET
           
static HTML.Tag HTML.Tag.AREA
           
static HTML.Tag HTML.Tag.B
           
static HTML.Tag HTML.Tag.BASE
           
static HTML.Tag HTML.Tag.BASEFONT
           
static HTML.Tag HTML.Tag.BIG
           
static HTML.Tag HTML.Tag.BLOCKQUOTE
           
static HTML.Tag HTML.Tag.BODY
           
static HTML.Tag HTML.Tag.BR
           
static HTML.Tag HTML.Tag.CAPTION
           
static HTML.Tag HTML.Tag.CENTER
           
static HTML.Tag HTML.Tag.CITE
           
static HTML.Tag HTML.Tag.CODE
           
static HTML.Tag HTML.Tag.COMMENT
          All comments are labeled with this tag.
static HTML.Tag HTML.Tag.CONTENT
          All text content is labeled with this tag.
static HTML.Tag HTML.Tag.DD
           
static HTML.Tag HTML.Tag.DFN
           
static HTML.Tag HTML.Tag.DIR
           
static HTML.Tag HTML.Tag.DIV
           
static HTML.Tag HTML.Tag.DL
           
static HTML.Tag HTML.Tag.DT
           
static HTML.Tag HTML.Tag.EM
           
static HTML.Tag HTML.Tag.FONT
           
static HTML.Tag HTML.Tag.FORM
           
static HTML.Tag HTML.Tag.FRAME
           
static HTML.Tag HTML.Tag.FRAMESET
           
static HTML.Tag HTML.Tag.H1
           
static HTML.Tag HTML.Tag.H2
           
static HTML.Tag HTML.Tag.H3
           
static HTML.Tag HTML.Tag.H4
           
static HTML.Tag HTML.Tag.H5
           
static HTML.Tag HTML.Tag.H6
           
static HTML.Tag HTML.Tag.HEAD
           
static HTML.Tag HTML.Tag.HR
           
static HTML.Tag HTML.Tag.HTML
           
static HTML.Tag HTML.Tag.I
           
static HTML.Tag HTML.Tag.IMG
           
static HTML.Tag HTML.Tag.IMPLIED
          All text content must be in a paragraph element.
static HTML.Tag HTML.Tag.INPUT
           
static HTML.Tag HTML.Tag.ISINDEX
           
static HTML.Tag HTML.Tag.KBD
           
static HTML.Tag HTML.Tag.LI
           
static HTML.Tag HTML.Tag.LINK
           
static HTML.Tag HTML.Tag.MAP
           
static HTML.Tag HTML.Tag.MENU
           
static HTML.Tag HTML.Tag.META
           
static HTML.Tag HTML.Tag.NOFRAMES
           
static HTML.Tag HTML.Tag.OBJECT
           
static HTML.Tag HTML.Tag.OL
           
static HTML.Tag HTML.Tag.OPTION
           
static HTML.Tag HTML.Tag.P
           
static HTML.Tag HTML.Tag.PARAM
           
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.parentTag
          Tag to check for in the document.
static HTML.Tag HTML.Tag.PRE
           
static HTML.Tag HTML.Tag.S
           
static HTML.Tag HTML.Tag.SAMP
           
static HTML.Tag HTML.Tag.SCRIPT
           
static HTML.Tag HTML.Tag.SELECT
           
static HTML.Tag HTML.Tag.SMALL
           
static HTML.Tag HTML.Tag.SPAN
           
static HTML.Tag HTML.Tag.STRIKE
           
static HTML.Tag HTML.Tag.STRONG
           
static HTML.Tag HTML.Tag.STYLE
           
static HTML.Tag HTML.Tag.SUB
           
static HTML.Tag HTML.Tag.SUP
           
static HTML.Tag HTML.Tag.TABLE
           
static HTML.Tag HTML.Tag.TD
           
static HTML.Tag HTML.Tag.TEXTAREA
           
static HTML.Tag HTML.Tag.TH
           
static HTML.Tag HTML.Tag.TITLE
           
static HTML.Tag HTML.Tag.TR
           
static HTML.Tag HTML.Tag.TT
           
static HTML.Tag HTML.Tag.U
           
static HTML.Tag HTML.Tag.UL
           
static HTML.Tag HTML.Tag.VAR
           
 

Methods in javax.swing.text.html that return HTML.Tag
static HTML.Tag[] HTML.getAllTags()
          Returns the set of actual HTML tags that are recognized by the default HTML reader.
abstract  HTML.Tag HTMLDocument.Iterator.getTag()
          Type of tag this iterator represents.
static HTML.Tag HTML.getTag(String tagName)
          Fetches a tag constant for a well-known tag name (i.e.
 

Methods in javax.swing.text.html with parameters of type HTML.Tag
protected  void HTMLDocument.HTMLReader.addSpecialElement(HTML.Tag t, MutableAttributeSet a)
          Adds content that is basically specified entirely in the attribute set.
protected  void HTMLDocument.HTMLReader.blockClose(HTML.Tag t)
          Adds an instruction to the parse buffer to close out a block element of the given type.
protected  void HTMLDocument.HTMLReader.blockOpen(HTML.Tag t, MutableAttributeSet attr)
          Adds an instruction to the parse buffer to create a block element with the given attributes.
protected  int HTMLEditorKit.HTMLTextAction.elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)
          Returns number of elements, starting at the deepest leaf, needed to get to an element representing tag.
 void HTMLDocument.HTMLReader.TagAction.end(HTML.Tag t)
          Called when an end tag is seen for the type of tag this action was registered to.
 void HTMLDocument.HTMLReader.BlockAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.ParagraphAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.HiddenAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.PreAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.CharacterAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.FormAction.end(HTML.Tag t)
           
protected  Element HTMLEditorKit.HTMLTextAction.findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)
          Returns the deepest element at offset matching tag.
 HTMLDocument.Iterator HTMLDocument.getIterator(HTML.Tag t)
          Fetches an iterator for the specified HTML tag.
 HTMLEditorKit.ParserCallback HTMLDocument.getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
          Returns the reader for the parser to use to load the document with HTML.
 Style StyleSheet.getRule(HTML.Tag t, Element e)
          Fetches the style to use to render the given type of HTML tag.
 void HTMLEditorKit.ParserCallback.handleEndTag(HTML.Tag t, int pos)
           
 void HTMLDocument.HTMLReader.handleEndTag(HTML.Tag t, int pos)
          Callback from the parser.
 void HTMLEditorKit.ParserCallback.handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
           
 void HTMLDocument.HTMLReader.handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
          Callback from the parser.
 void HTMLEditorKit.ParserCallback.handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
           
 void HTMLDocument.HTMLReader.handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
          Callback from the parser.
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 insertAtBoundary
 void HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
          Inserts HTML into an existing document.
protected  void HTMLEditorKit.InsertHTMLTextAction.insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
          A cover for HTMLEditorKit.insertHTML.
protected  boolean HTMLWriter.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  void HTMLDocument.HTMLReader.registerTag(HTML.Tag t, HTMLDocument.HTMLReader.TagAction a)
          Registers a handler for the given tag.
 void HTMLDocument.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.
 void HTMLDocument.HTMLReader.BlockAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.ParagraphAction.start(HTML.Tag t, MutableAttributeSet a)
           
 void HTMLDocument.HTMLReader.SpecialAction.start(HTML.Tag t, MutableAttributeSet a)
           
 void HTMLDocument.HTMLReader.IsindexAction.start(HTML.Tag t, MutableAttributeSet a)
           
 void HTMLDocument.HTMLReader.HiddenAction.start(HTML.Tag t, MutableAttributeSet a)
           
 void HTMLDocument.HTMLReader.PreAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.CharacterAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.FormAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 

Constructors in javax.swing.text.html with parameters of type HTML.Tag
HTMLDocument.HTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag)
           
HTMLEditorKit.InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag)
           
HTMLEditorKit.InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag, HTML.Tag alternateParentTag, HTML.Tag alternateAddTag)
           
 

Uses of HTML.Tag in javax.swing.text.html.parser
 

Methods in javax.swing.text.html.parser that return HTML.Tag
 HTML.Tag TagElement.getHTMLTag()
           
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.