Uses of Class
javax.swing.text.html.HTML.Tag
-
Packages that use HTML.Tag 软件包 描述 javax.swing.text.html 提供类HTMLEditorKit
和支持类创建HTML文本编辑器。javax.swing.text.html.parser 提供默认的HTML解析器以及支持类。 -
-
Uses of HTML.Tag in javax.swing.text.html
Subclasses of HTML.Tag in javax.swing.text.html Modifier and Type Class 描述 static class
HTML.UnknownTag
类代表未知的HTML标签。Fields in javax.swing.text.html declared as HTML.Tag Modifier and Type Field 描述 static HTML.Tag
HTML.Tag. A
标记<a>static HTML.Tag
HTML.Tag. ADDRESS
标签<地址>protected HTML.Tag
HTMLEditorKit.InsertHTMLTextAction. addTag
HTML中的标签开始添加标签。protected HTML.Tag
HTMLEditorKit.InsertHTMLTextAction. alternateAddTag
HTML中的替代标签开始添加标签,如果没有找到parentTag,并找到alternateParentTag。protected HTML.Tag
HTMLEditorKit.InsertHTMLTextAction. alternateParentTag
如果没有找到parentTag,则在文档中检查的备用标签。static HTML.Tag
HTML.Tag. APPLET
标记<applet>static HTML.Tag
HTML.Tag. AREA
标签<area>static HTML.Tag
HTML.Tag. B
标记<b>static HTML.Tag
HTML.Tag. BASE
标签<base>static HTML.Tag
HTML.Tag. BASEFONT
标签<basefont>static HTML.Tag
HTML.Tag. BIG
标签<大>static HTML.Tag
HTML.Tag. BLOCKQUOTE
标签<blockquote>static HTML.Tag
HTML.Tag. BODY
标签<body>static HTML.Tag
HTML.Tag. BR
标签<br>static HTML.Tag
HTML.Tag. CAPTION
标签<caption>static HTML.Tag
HTML.Tag. CENTER
标签<center>static HTML.Tag
HTML.Tag. CITE
标签<cite>static HTML.Tag
HTML.Tag. CODE
标签<code>static HTML.Tag
HTML.Tag. COMMENT
所有评论均标有此标签。static HTML.Tag
HTML.Tag. CONTENT
所有文字内容均标有此标签。static HTML.Tag
HTML.Tag. DD
标签<dd>static HTML.Tag
HTML.Tag. DFN
标签<dfn>static HTML.Tag
HTML.Tag. DIR
标签<dir>static HTML.Tag
HTML.Tag. DIV
标签<div>static HTML.Tag
HTML.Tag. DL
标签<dl>static HTML.Tag
HTML.Tag. DT
标签<dt>static HTML.Tag
HTML.Tag. EM
标记<em>static HTML.Tag
HTML.Tag. FONT
标签<font>static HTML.Tag
HTML.Tag. FORM
标签<form>static HTML.Tag
HTML.Tag. FRAME
标记<frame>static HTML.Tag
HTML.Tag. FRAMESET
标签<frameset>static HTML.Tag
HTML.Tag. H1
标签<h1>static HTML.Tag
HTML.Tag. H2
标签<h2>static HTML.Tag
HTML.Tag. H3
标签<h3>static HTML.Tag
HTML.Tag. H4
标签<h4>static HTML.Tag
HTML.Tag. H5
标签<h5>static HTML.Tag
HTML.Tag. H6
标签<h6>static HTML.Tag
HTML.Tag. HEAD
标记<head>static HTML.Tag
HTML.Tag. HR
标签<hr>static HTML.Tag
HTML.Tag. HTML
标签<html>static HTML.Tag
HTML.Tag. I
标记<i>static HTML.Tag
HTML.Tag. IMG
标签<img>static HTML.Tag
HTML.Tag. IMPLIED
所有文本内容必须在段落元素中。static HTML.Tag
HTML.Tag. INPUT
标签<input>static HTML.Tag
HTML.Tag. ISINDEX
标签<isindex>static HTML.Tag
HTML.Tag. KBD
标签<kbd>static HTML.Tag
HTML.Tag. LI
标记<li>static HTML.Tag
HTML.Tag. LINK
标记<link>static HTML.Tag
HTML.Tag. MAP
标签<map>static HTML.Tag
HTML.Tag. MENU
标签<menu>static HTML.Tag
HTML.Tag. META
标签<meta>static HTML.Tag
HTML.Tag. NOFRAMES
标签<noframes>static HTML.Tag
HTML.Tag. OBJECT
标签<object>static HTML.Tag
HTML.Tag. OL
标记<ol>static HTML.Tag
HTML.Tag. OPTION
标签<选项>static HTML.Tag
HTML.Tag. P
标签<p>static HTML.Tag
HTML.Tag. PARAM
标签<param>protected HTML.Tag
HTMLEditorKit.InsertHTMLTextAction. parentTag
在文档中检查的标签。static HTML.Tag
HTML.Tag. PRE
标签<pre>static HTML.Tag
HTML.Tag. S
标签<s>static HTML.Tag
HTML.Tag. SAMP
标签<samp>static HTML.Tag
HTML.Tag. SCRIPT
标记<script>static HTML.Tag
HTML.Tag. SELECT
标签<select>static HTML.Tag
HTML.Tag. SMALL
标签<small>static HTML.Tag
HTML.Tag. SPAN
标记<span>static HTML.Tag
HTML.Tag. STRIKE
标记<strike>static HTML.Tag
HTML.Tag. STRONG
标签<strong>static HTML.Tag
HTML.Tag. STYLE
标签<style>static HTML.Tag
HTML.Tag. SUB
标签<sub>static HTML.Tag
HTML.Tag. SUP
标签<sup>static HTML.Tag
HTML.Tag. TABLE
标签<table>static HTML.Tag
HTML.Tag. TD
标签<td>static HTML.Tag
HTML.Tag. TEXTAREA
标签<textarea>static HTML.Tag
HTML.Tag. TH
标签<th>static HTML.Tag
HTML.Tag. TITLE
标签<title>static HTML.Tag
HTML.Tag. TR
标签<tr>static HTML.Tag
HTML.Tag. TT
标签<tt>static HTML.Tag
HTML.Tag. U
标签<u>static HTML.Tag
HTML.Tag. UL
标记<ul>static HTML.Tag
HTML.Tag. VAR
标签<var>Methods in javax.swing.text.html that return HTML.Tag Modifier and Type 方法 描述 static HTML.Tag[]
HTML. getAllTags()
返回由默认HTML阅读器识别的一组实际的HTML标签。static HTML.Tag
HTML. getTag(String tagName)
获取一个公知标签名称的标签常量(即集合{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.Tag
HTMLDocument.Iterator. getTag()
迭代器代表的标签类型。Methods in javax.swing.text.html with parameters of type HTML.Tag Modifier and Type 方法 描述 protected void
HTMLDocument.HTMLReader. addSpecialElement(HTML.Tag t, MutableAttributeSet a)
添加基本上完全在属性集中指定的内容。protected void
HTMLDocument.HTMLReader. blockClose(HTML.Tag t)
向解析缓冲区添加指令以关闭给定类型的块元素。protected void
HTMLDocument.HTMLReader. blockOpen(HTML.Tag t, MutableAttributeSet attr)
向解析缓冲区添加指令以创建具有给定属性的块元素。protected int
HTMLEditorKit.HTMLTextAction. elementCountToTag(HTMLDocument doc, int offset, HTML.Tag tag)
返回从最深的叶开始的元素数,需要转到表示tag
的元素。void
HTMLDocument.HTMLReader.BlockAction. end(HTML.Tag t)
void
HTMLDocument.HTMLReader.CharacterAction. end(HTML.Tag t)
void
HTMLDocument.HTMLReader.FormAction. end(HTML.Tag t)
void
HTMLDocument.HTMLReader.HiddenAction. end(HTML.Tag t)
void
HTMLDocument.HTMLReader.ParagraphAction. end(HTML.Tag t)
void
HTMLDocument.HTMLReader.PreAction. end(HTML.Tag t)
void
HTMLDocument.HTMLReader.TagAction. end(HTML.Tag t)
当此动作被注册的标签类型看到结尾标签时被调用。protected Element
HTMLEditorKit.HTMLTextAction. findElementMatchingTag(HTMLDocument doc, int offset, HTML.Tag tag)
返回offset
匹配tag
最深的元素。HTMLDocument.Iterator
HTMLDocument. getIterator(HTML.Tag t)
获取指定的HTML标签的迭代器。HTMLEditorKit.ParserCallback
HTMLDocument. getReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag)
返回解析器的读取器,用于使用HTML加载文档。Style
StyleSheet. getRule(HTML.Tag t, Element e)
获取用于呈现给定类型的HTML标签的样式。void
HTMLDocument.HTMLReader. handleEndTag(HTML.Tag t, int pos)
从解析器回调。void
HTMLEditorKit.ParserCallback. handleEndTag(HTML.Tag t, int pos)
从解析器回调。void
HTMLDocument.HTMLReader. handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
从解析器回调。void
HTMLEditorKit.ParserCallback. handleSimpleTag(HTML.Tag t, MutableAttributeSet a, int pos)
从解析器回调。void
HTMLDocument.HTMLReader. handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
从解析器回调。void
HTMLEditorKit.ParserCallback. handleStartTag(HTML.Tag t, MutableAttributeSet a, int pos)
从解析器回调。protected void
HTMLEditorKit.InsertHTMLTextAction. insertAtBoundary(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
在插入边界时调用这一点。protected void
HTMLEditorKit.InsertHTMLTextAction. insertAtBoundry(JEditorPane editor, HTMLDocument doc, int offset, Element insertElement, String html, HTML.Tag parentTag, HTML.Tag addTag)
已过时。从Java 2平台v1.3开始,使用insertAtBoundaryvoid
HTMLEditorKit. insertHTML(HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag insertTag)
将HTML插入到现有文档中。protected void
HTMLEditorKit.InsertHTMLTextAction. insertHTML(JEditorPane editor, HTMLDocument doc, int offset, String html, int popDepth, int pushDepth, HTML.Tag addTag)
HTMLEditorKit.insertHTML的封面。protected boolean
HTMLWriter. matchNameAttribute(AttributeSet attr, HTML.Tag tag)
如果StyleConstants.NameAttribute等于作为参数传入的标签,则返回true。protected void
HTMLDocument.HTMLReader. registerTag(HTML.Tag t, HTMLDocument.HTMLReader.TagAction a)
注册给定标签的处理程序。void
HTMLDocument.HTMLReader.BlockAction. 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)
void
HTMLDocument.HTMLReader.HiddenAction. start(HTML.Tag t, MutableAttributeSet a)
void
HTMLDocument.HTMLReader.IsindexAction. start(HTML.Tag t, MutableAttributeSet a)
void
HTMLDocument.HTMLReader.ParagraphAction. start(HTML.Tag t, MutableAttributeSet a)
void
HTMLDocument.HTMLReader.PreAction. start(HTML.Tag t, MutableAttributeSet attr)
void
HTMLDocument.HTMLReader.SpecialAction. start(HTML.Tag t, MutableAttributeSet a)
void
HTMLDocument.HTMLReader.TagAction. start(HTML.Tag t, MutableAttributeSet a)
当此动作被注册的标签类型看到开始标签时调用。Constructors in javax.swing.text.html with parameters of type HTML.Tag Constructor 描述 HTMLReader(int offset, int popDepth, int pushDepth, HTML.Tag insertTag)
构造一个HTMLReader。InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag)
创建一个新的InsertHTMLTextAction。InsertHTMLTextAction(String name, String html, HTML.Tag parentTag, HTML.Tag addTag, HTML.Tag alternateParentTag, HTML.Tag alternateAddTag)
创建一个新的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 方法 描述 HTML.Tag
TagElement. getHTMLTag()
返回与element
的名称相对应的标签常量
-