|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.html.HTML.Tag
public static class HTML.Tag
Represents a HTML tag.
Field Summary | |
---|---|
static HTML.Tag |
A
The <a> tag |
static HTML.Tag |
ADDRESS
The <address> tag |
static HTML.Tag |
APPLET
The <applet> tag |
static HTML.Tag |
AREA
The <area> tag |
static HTML.Tag |
B
The <b> tag |
static HTML.Tag |
BASE
The <base> tag |
static HTML.Tag |
BASEFONT
The <basefont> tag |
static HTML.Tag |
BIG
The <big> tag |
static HTML.Tag |
BLOCKQUOTE
The <blockquote> tag , breaks flow, block tag. |
static HTML.Tag |
BODY
The <body> tag , breaks flow, block tag. |
static HTML.Tag |
BR
The <br> tag , breaks flow. |
static HTML.Tag |
CAPTION
The <caption> tag |
static HTML.Tag |
CENTER
The <center> tag , breaks flow. |
static HTML.Tag |
CITE
The <cite> tag |
static HTML.Tag |
CODE
The <code> tag |
static HTML.Tag |
COMMENT
All comments are labeled with this tag. |
static HTML.Tag |
CONTENT
All text content is labeled with this tag. |
static HTML.Tag |
DD
The <dd> tag , breaks flow, block tag. |
static HTML.Tag |
DFN
The <dfn> tag |
static HTML.Tag |
DIR
The <dir> tag , breaks flow, block tag. |
static HTML.Tag |
DIV
The <div> tag , breaks flow, block tag. |
static HTML.Tag |
DL
The <dl> tag , breaks flow, block tag. |
static HTML.Tag |
DT
The <dt> tag , breaks flow, block tag. |
static HTML.Tag |
EM
The <em> tag |
static HTML.Tag |
FONT
The <font> tag |
static HTML.Tag |
FORM
The <form> tag , breaks flow. |
static HTML.Tag |
FRAME
The <frame> tag |
static HTML.Tag |
FRAMESET
The <frameset> tag |
static HTML.Tag |
H1
The <h1> tag , breaks flow, block tag. |
static HTML.Tag |
H2
The <h2> tag , breaks flow, block tag. |
static HTML.Tag |
H3
The <h3> tag , breaks flow, block tag. |
static HTML.Tag |
H4
The <h4> tag , breaks flow, block tag. |
static HTML.Tag |
H5
The <h5> tag , breaks flow, block tag. |
static HTML.Tag |
H6
The <h6> tag , breaks flow, block tag. |
static HTML.Tag |
HEAD
The <head> tag , breaks flow, block tag. |
static HTML.Tag |
HR
The <hr> tag , breaks flow. |
static HTML.Tag |
HTML
The <html> tag , breaks flow. |
static HTML.Tag |
I
The <i> tag |
static HTML.Tag |
IMG
The <img> tag |
static HTML.Tag |
IMPLIED
All text content must be in a paragraph element. |
static HTML.Tag |
INPUT
The <input> tag |
static HTML.Tag |
ISINDEX
The <isindex> tag , breaks flow. |
static HTML.Tag |
KBD
The <kbd> tag |
static HTML.Tag |
LI
The <li> tag , breaks flow, block tag. |
static HTML.Tag |
LINK
The <link> tag |
static HTML.Tag |
MAP
The <map> tag |
static HTML.Tag |
MENU
The <menu> tag , breaks flow, block tag. |
static HTML.Tag |
META
The <meta> tag |
static HTML.Tag |
NOFRAMES
The <noframes> tag , breaks flow, block tag. |
static HTML.Tag |
OBJECT
The <object> tag |
static HTML.Tag |
OL
The <ol> tag , breaks flow, block tag. |
static HTML.Tag |
OPTION
The <option> tag |
static HTML.Tag |
P
The <p> tag , breaks flow, block tag. |
static HTML.Tag |
PARAM
The <param> tag |
static HTML.Tag |
PRE
The <pre> tag , breaks flow, block tag, preformatted. |
static HTML.Tag |
S
The <s> tag |
static HTML.Tag |
SAMP
The <samp> tag |
static HTML.Tag |
SCRIPT
The <script> tag |
static HTML.Tag |
SELECT
The <select> tag |
static HTML.Tag |
SMALL
The <small> tag |
static HTML.Tag |
SPAN
The <span> tag |
static HTML.Tag |
STRIKE
The <strike> tag |
static HTML.Tag |
STRONG
The <strong> tag |
static HTML.Tag |
STYLE
The <style> tag |
static HTML.Tag |
SUB
The <sub> tag |
static HTML.Tag |
SUP
The <sup> tag |
static HTML.Tag |
TABLE
The <table> tag , block tag. |
static HTML.Tag |
TD
The <td> tag , breaks flow, block tag. |
static HTML.Tag |
TEXTAREA
The <textarea> tag , preformatted. |
static HTML.Tag |
TH
The <th> tag , breaks flow, block tag. |
static HTML.Tag |
TITLE
The <title> tag , breaks flow, block tag. |
static HTML.Tag |
TR
The <tr> tag , block tag. |
static HTML.Tag |
TT
The <tt> tag |
static HTML.Tag |
U
The <u> tag |
static HTML.Tag |
UL
The <ul> tag , breaks flow, block tag. |
static HTML.Tag |
VAR
The <var> tag |
Constructor Summary | |
---|---|
|
HTML.Tag()
Create the unitialised instance of HTML.Tag. |
protected |
HTML.Tag(String id)
Creates a new Tag with the specified id, and with causesBreak and isBlock set to false. |
protected |
HTML.Tag(String id,
boolean causesBreak,
boolean isBlock)
Creates a new Tag with the specified tag name and causesBreak and isBlock properties. |
Method Summary | |
---|---|
boolean |
breaksFlow()
Returns true if this tag causes a line break to the flow of text |
boolean |
isBlock()
Returns true if this tag is a block tag, which is a tag used to add structure to a document. |
boolean |
isPreformatted()
Returns true if this tag is pre-formatted, which is true if the tag is either PRE or TEXTAREA |
String |
toString()
Returns the tag name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final HTML.Tag A
public static final HTML.Tag ADDRESS
public static final HTML.Tag APPLET
public static final HTML.Tag AREA
public static final HTML.Tag B
public static final HTML.Tag BASE
public static final HTML.Tag BASEFONT
public static final HTML.Tag BIG
public static final HTML.Tag BLOCKQUOTE
public static final HTML.Tag BODY
public static final HTML.Tag BR
public static final HTML.Tag CAPTION
public static final HTML.Tag CENTER
public static final HTML.Tag CITE
public static final HTML.Tag CODE
public static final HTML.Tag DD
public static final HTML.Tag DFN
public static final HTML.Tag DIR
public static final HTML.Tag DIV
public static final HTML.Tag DL
public static final HTML.Tag DT
public static final HTML.Tag EM
public static final HTML.Tag FONT
public static final HTML.Tag FORM
public static final HTML.Tag FRAME
public static final HTML.Tag FRAMESET
public static final HTML.Tag H1
public static final HTML.Tag H2
public static final HTML.Tag H3
public static final HTML.Tag H4
public static final HTML.Tag H5
public static final HTML.Tag H6
public static final HTML.Tag HEAD
public static final HTML.Tag HR
public static final HTML.Tag HTML
public static final HTML.Tag I
public static final HTML.Tag IMG
public static final HTML.Tag INPUT
public static final HTML.Tag ISINDEX
public static final HTML.Tag KBD
public static final HTML.Tag LI
public static final HTML.Tag LINK
public static final HTML.Tag MAP
public static final HTML.Tag MENU
public static final HTML.Tag META
public static final HTML.Tag NOFRAMES
public static final HTML.Tag OBJECT
public static final HTML.Tag OL
public static final HTML.Tag OPTION
public static final HTML.Tag P
public static final HTML.Tag PARAM
public static final HTML.Tag PRE
public static final HTML.Tag S
public static final HTML.Tag SAMP
public static final HTML.Tag SCRIPT
public static final HTML.Tag SELECT
public static final HTML.Tag SMALL
public static final HTML.Tag SPAN
public static final HTML.Tag STRIKE
public static final HTML.Tag STRONG
public static final HTML.Tag STYLE
public static final HTML.Tag SUB
public static final HTML.Tag SUP
public static final HTML.Tag TABLE
public static final HTML.Tag TD
public static final HTML.Tag TEXTAREA
public static final HTML.Tag TH
public static final HTML.Tag TITLE
public static final HTML.Tag TR
public static final HTML.Tag TT
public static final HTML.Tag U
public static final HTML.Tag UL
public static final HTML.Tag VAR
public static final HTML.Tag COMMENT
public static final HTML.Tag CONTENT
public static final HTML.Tag IMPLIED
Constructor Detail |
---|
public HTML.Tag()
breaksFlow()
, isBlock()
and isPreformatted()
will always return false.
The toString()
will return null
.
protected HTML.Tag(String id)
protected HTML.Tag(String id, boolean causesBreak, boolean isBlock)
Method Detail |
---|
public boolean isBlock()
public boolean isPreformatted()
public boolean breaksFlow()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |