站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class javax.swing.text.html.HTML.Tag - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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   
 

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
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.parentTag
          Tag to check for in the document.
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.addTag
          Tag in HTML to start adding tags from.
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.alternateParentTag
          Alternate Tag to check for in the document if parentTag is not found.
protected  HTML.Tag HTMLEditorKit.InsertHTMLTextAction.alternateAddTag
          Alternate tag in HTML to start adding tags from if parentTag is not found and alternateParentTag is found.
static HTML.Tag HTML.Tag.A
           
static HTML.Tag HTML.Tag.ADDRESS
           
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.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.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
           
static HTML.Tag HTML.Tag.PRE
           
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.STRIKE
           
static HTML.Tag HTML.Tag.S
           
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
           
static HTML.Tag HTML.Tag.IMPLIED
          All text content must be in a paragraph element.
static HTML.Tag HTML.Tag.CONTENT
          All text content is labeled with this tag.
static HTML.Tag HTML.Tag.COMMENT
          All comments are labeled with this tag.
 

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

Methods in javax.swing.text.html with parameters of type HTML.Tag
protected  boolean HTMLWriter.matchNameAttribute(AttributeSet attr, HTML.Tag tag)
          This method return true if the StyleConstants.NameAttribute is equal to the tag that is passed in as a parameter.
 void HTMLEditorKit.insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
          Inserts HTML into an existing document.
 void HTMLEditorKit.ParserCallback.handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
           
 void HTMLEditorKit.ParserCallback.handleEndTag(HTML.Tag t, int pos)
           
 void HTMLEditorKit.ParserCallback.handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
           
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.
protected  Element HTMLEditorKit.HTMLTextAction.findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)
          Returns the deepest element at offset matching tag.
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  void HTMLEditorKit.InsertHTMLTextAction.insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
          This is invoked when inserting at a boundry.
 Style StyleSheet.getRule(HTML.Tag t, Element e)
          Fetch the style to use to render the given type of html tag.
 HTMLEditorKit.ParserCallback HTMLDocument.getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
          Fetch the reader for the parser to use to load the document with html.
 HTMLDocument.Iterator HTMLDocument.getIterator(HTML.Tag t)
          Fetch an iterator for the following kind of html tag.
 void HTMLDocument.HTMLReader.handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
          Callback from the parser.
 void HTMLDocument.HTMLReader.handleEndTag(HTML.Tag t, int pos)
          Callback from the parser.
 void HTMLDocument.HTMLReader.handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
          Callback from the parser.
protected  void HTMLDocument.HTMLReader.registerTag(HTML.Tag t, HTMLDocument.HTMLReader.TagAction a)
          Register a handler for the given tag.
protected  void HTMLDocument.HTMLReader.blockOpen(HTML.Tag t, MutableAttributeSet attr)
          Add an instruction to the parse buffer to create a block element with the given attributes.
protected  void HTMLDocument.HTMLReader.blockClose(HTML.Tag t)
          Add an instruction to the parse buffer to close out a block element of the given type.
protected  void HTMLDocument.HTMLReader.addSpecialElement(HTML.Tag t, MutableAttributeSet a)
          Add content that is basically specified entirely in the attribute set.
 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.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.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.BlockAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.ParagraphAction.start(HTML.Tag t, MutableAttributeSet a)
           
 void HTMLDocument.HTMLReader.ParagraphAction.end(HTML.Tag t)
           
 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.HiddenAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.PreAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.PreAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.CharacterAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.CharacterAction.end(HTML.Tag t)
           
 void HTMLDocument.HTMLReader.FormAction.start(HTML.Tag t, MutableAttributeSet attr)
           
 void HTMLDocument.HTMLReader.FormAction.end(HTML.Tag t)
           
 

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

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()
           
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.