API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html. HTML.Tag View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      HTML.Tag
Implements
Subclasses
Description
publicstatic class HTML.Tag
  Typesafe enumeration for an HTML tag.
See also:   
Constructors
public 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 id; causesBreak and isBlock are defined by the user.
Methods
Hide/Show inherited methods
public boolean breaksFlow ()
  Returns true if this tag causes a line break to the flow of data, otherwise returns false.
public boolean isBlock ()
  Returns true if this tag is a block tag, which is a tag used to add structure to a document.
pack-private boolean isParagraph ()
  Returns true if this tag is considered to be a paragraph in the internal HTML model.
public boolean isPreformatted ()
  Returns true if this tag is pre-formatted, which is true if the tag is either PRE or TEXTAREA.
public String toString ()
  Returns the string representation of the tag.
Fields
Hide/Show inherited fields
publicfinalstatic Tag A
publicfinalstatic Tag ADDRESS
pack-privatefinalstatic Tag allTags
publicfinalstatic Tag APPLET
publicfinalstatic Tag AREA
publicfinalstatic Tag B
publicfinalstatic Tag BASE
publicfinalstatic Tag BASEFONT
publicfinalstatic Tag BIG
publicfinalstatic Tag BLOCKQUOTE
pack-private boolean blockTag
publicfinalstatic Tag BODY
publicfinalstatic Tag BR
pack-private boolean breakTag
publicfinalstatic Tag CAPTION
publicfinalstatic Tag CENTER
publicfinalstatic Tag CITE
publicfinalstatic Tag CODE
publicfinalstatic Tag COMMENT
  All comments are labeled with this tag.
publicfinalstatic Tag CONTENT
  All text content is labeled with this tag.
publicfinalstatic Tag DD
publicfinalstatic Tag DFN
publicfinalstatic Tag DIR
publicfinalstatic Tag DIV
publicfinalstatic Tag DL
publicfinalstatic Tag DT
publicfinalstatic Tag EM
publicfinalstatic Tag FONT
publicfinalstatic Tag FORM
publicfinalstatic Tag FRAME
publicfinalstatic Tag FRAMESET
publicfinalstatic Tag H1
publicfinalstatic Tag H2
publicfinalstatic Tag H3
publicfinalstatic Tag H4
publicfinalstatic Tag H5
publicfinalstatic Tag H6
publicfinalstatic Tag HEAD
publicfinalstatic Tag HR
publicfinalstatic Tag HTML
publicfinalstatic Tag I
publicfinalstatic Tag IMG
publicfinalstatic Tag IMPLIED
  All text content must be in a paragraph element.
publicfinalstatic Tag INPUT
publicfinalstatic Tag ISINDEX
publicfinalstatic Tag KBD
publicfinalstatic Tag LI
publicfinalstatic Tag LINK
publicfinalstatic Tag MAP
publicfinalstatic Tag MENU
publicfinalstatic Tag META
pack-private String name
pack-privatefinalstatic Tag NOBR
publicfinalstatic Tag NOFRAMES
publicfinalstatic Tag OBJECT
publicfinalstatic Tag OL
publicfinalstatic Tag OPTION
publicfinalstatic Tag P
publicfinalstatic Tag PARAM
publicfinalstatic Tag PRE
publicfinalstatic Tag S
publicfinalstatic Tag SAMP
publicfinalstatic Tag SCRIPT
publicfinalstatic Tag SELECT
publicfinalstatic Tag SMALL
publicfinalstatic Tag SPAN
publicfinalstatic Tag STRIKE
publicfinalstatic Tag STRONG
publicfinalstatic Tag STYLE
publicfinalstatic Tag SUB
publicfinalstatic Tag SUP
publicfinalstatic Tag TABLE
publicfinalstatic Tag TD
publicfinalstatic Tag TEXTAREA
publicfinalstatic Tag TH
publicfinalstatic Tag TITLE
publicfinalstatic Tag TR
publicfinalstatic Tag TT
publicfinalstatic Tag U
publicfinalstatic Tag UL
pack-private boolean unknown
publicfinalstatic Tag VAR
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar