当前页面:
在线文档首页 >
JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class HTML.Attribute - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档
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.
Method Summary |
String |
toString()
Returns a string representation of the object. |
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
toString
public String toString()
- Description copied from class: Object
- Returns a string representation of the object. In general, the
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommendedthat all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
- Overrides:
- toString in class Object
- Tags copied from class: Object
- Returns:
- a string representation of the object.
Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.