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 变量和类型 类 描述 static class
HTML.UnknownTag
类表示未知的HTML标记。Fields in javax.swing.text.html declared as HTML.Tag 变量和类型 字段 描述 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
如果找不到parentTag并且找到alternateParentTag,则HTML中的备用标记开始添加标记。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
标记<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
标记<选择>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 变量和类型 方法 描述 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 ,李,链接,地图,菜单,元,NOBR,NOFRAMES,对象,OL,选项,P,参与,预,SAMP,脚本,选择,小,跨越,罢工,S,强,样式,子,SUP,表,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 变量和类型 方法 描述 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.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.TagAction. start(HTML.Tag t, MutableAttributeSet a)
当查看此操作已注册到的标记类型的开始标记时调用。Constructors in javax.swing.text.html with parameters of type HTML.Tag 构造器 描述 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 变量和类型 方法 描述 HTML.Tag
TagElement. getHTMLTag()
返回与element
的名称对应的标记常量
-