javax.swing.text.html
Class HTML.Attribute
java.lang.Object
javax.swing.text.html.HTML.Attribute
- Enclosing class:
- HTML
- public static final class HTML.Attribute
- extends Object
Typesafe enumeration representing an HTML
attribute.
Constructor Summary |
(package private) |
HTML.Attribute(String id)
Creates a new Attribute with the specified
id . |
Method Summary |
String |
toString()
Returns the string representation of this attribute. |
name
private String name
SIZE
public static final HTML.Attribute SIZE
COLOR
public static final HTML.Attribute COLOR
CLEAR
public static final HTML.Attribute CLEAR
BACKGROUND
public static final HTML.Attribute BACKGROUND
BGCOLOR
public static final HTML.Attribute BGCOLOR
TEXT
public static final HTML.Attribute TEXT
LINK
public static final HTML.Attribute LINK
VLINK
public static final HTML.Attribute VLINK
ALINK
public static final HTML.Attribute ALINK
WIDTH
public static final HTML.Attribute WIDTH
HEIGHT
public static final HTML.Attribute HEIGHT
ALIGN
public static final HTML.Attribute ALIGN
NAME
public static final HTML.Attribute NAME
HREF
public static final HTML.Attribute HREF
REL
public static final HTML.Attribute REL
REV
public static final HTML.Attribute REV
TITLE
public static final HTML.Attribute TITLE
TARGET
public static final HTML.Attribute TARGET
SHAPE
public static final HTML.Attribute SHAPE
COORDS
public static final HTML.Attribute COORDS
ISMAP
public static final HTML.Attribute ISMAP
NOHREF
public static final HTML.Attribute NOHREF
ALT
public static final HTML.Attribute ALT
ID
public static final HTML.Attribute ID
SRC
public static final HTML.Attribute SRC
HSPACE
public static final HTML.Attribute HSPACE
VSPACE
public static final HTML.Attribute VSPACE
USEMAP
public static final HTML.Attribute USEMAP
LOWSRC
public static final HTML.Attribute LOWSRC
CODEBASE
public static final HTML.Attribute CODEBASE
CODE
public static final HTML.Attribute CODE
ARCHIVE
public static final HTML.Attribute ARCHIVE
VALUE
public static final HTML.Attribute VALUE
VALUETYPE
public static final HTML.Attribute VALUETYPE
TYPE
public static final HTML.Attribute TYPE
CLASS
public static final HTML.Attribute CLASS
STYLE
public static final HTML.Attribute STYLE
LANG
public static final HTML.Attribute LANG
FACE
public static final HTML.Attribute FACE
DIR
public static final HTML.Attribute DIR
DECLARE
public static final HTML.Attribute DECLARE
CLASSID
public static final HTML.Attribute CLASSID
DATA
public static final HTML.Attribute DATA
CODETYPE
public static final HTML.Attribute CODETYPE
STANDBY
public static final HTML.Attribute STANDBY
BORDER
public static final HTML.Attribute BORDER
SHAPES
public static final HTML.Attribute SHAPES
NOSHADE
public static final HTML.Attribute NOSHADE
COMPACT
public static final HTML.Attribute COMPACT
START
public static final HTML.Attribute START
ACTION
public static final HTML.Attribute ACTION
METHOD
public static final HTML.Attribute METHOD
ENCTYPE
public static final HTML.Attribute ENCTYPE
CHECKED
public static final HTML.Attribute CHECKED
MAXLENGTH
public static final HTML.Attribute MAXLENGTH
MULTIPLE
public static final HTML.Attribute MULTIPLE
SELECTED
public static final HTML.Attribute SELECTED
ROWS
public static final HTML.Attribute ROWS
COLS
public static final HTML.Attribute COLS
DUMMY
public static final HTML.Attribute DUMMY
CELLSPACING
public static final HTML.Attribute CELLSPACING
CELLPADDING
public static final HTML.Attribute CELLPADDING
VALIGN
public static final HTML.Attribute VALIGN
HALIGN
public static final HTML.Attribute HALIGN
NOWRAP
public static final HTML.Attribute NOWRAP
ROWSPAN
public static final HTML.Attribute ROWSPAN
COLSPAN
public static final HTML.Attribute COLSPAN
PROMPT
public static final HTML.Attribute PROMPT
HTTPEQUIV
public static final HTML.Attribute HTTPEQUIV
CONTENT
public static final HTML.Attribute CONTENT
LANGUAGE
public static final HTML.Attribute LANGUAGE
VERSION
public static final HTML.Attribute VERSION
N
public static final HTML.Attribute N
FRAMEBORDER
public static final HTML.Attribute FRAMEBORDER
MARGINWIDTH
public static final HTML.Attribute MARGINWIDTH
MARGINHEIGHT
public static final HTML.Attribute MARGINHEIGHT
SCROLLING
public static final HTML.Attribute SCROLLING
NORESIZE
public static final HTML.Attribute NORESIZE
ENDTAG
public static final HTML.Attribute ENDTAG
COMMENT
public static final HTML.Attribute COMMENT
MEDIA
static final HTML.Attribute MEDIA
allAttributes
static final HTML.Attribute[] allAttributes
HTML.Attribute
HTML.Attribute(String id)
- Creates a new
Attribute
with the specified
id
.
- Parameters:
id
- the id of the new Attribute
toString
public String toString()
- Returns the string representation of this attribute.
- Overrides:
toString
in class Object
- Returns:
- the string representation of this attribute