JavaTM Platform
Standard Ed. 6

类 javax.swing.text.html.HTML.Attribute
的使用

使用 HTML.Attribute 的软件包
javax.swing.text.html 提供类 HTMLEditorKit 和创建 HTML 文本编辑器的支持类。 
 

javax.swing.text.htmlHTML.Attribute 的使用
 

声明为 HTML.Attributejavax.swing.text.html 中的字段
static HTML.Attribute HTML.Attribute.ACTION
           
static HTML.Attribute HTML.Attribute.ALIGN
           
static HTML.Attribute HTML.Attribute.ALINK
           
static HTML.Attribute HTML.Attribute.ALT
           
static HTML.Attribute HTML.Attribute.ARCHIVE
           
static HTML.Attribute HTML.Attribute.BACKGROUND
           
static HTML.Attribute HTML.Attribute.BGCOLOR
           
static HTML.Attribute HTML.Attribute.BORDER
           
static HTML.Attribute HTML.Attribute.CELLPADDING
           
static HTML.Attribute HTML.Attribute.CELLSPACING
           
static HTML.Attribute HTML.Attribute.CHECKED
           
static HTML.Attribute HTML.Attribute.CLASS
           
static HTML.Attribute HTML.Attribute.CLASSID
           
static HTML.Attribute HTML.Attribute.CLEAR
           
static HTML.Attribute HTML.Attribute.CODE
           
static HTML.Attribute HTML.Attribute.CODEBASE
           
static HTML.Attribute HTML.Attribute.CODETYPE
           
static HTML.Attribute HTML.Attribute.COLOR
           
static HTML.Attribute HTML.Attribute.COLS
           
static HTML.Attribute HTML.Attribute.COLSPAN
           
static HTML.Attribute HTML.Attribute.COMMENT
           
static HTML.Attribute HTML.Attribute.COMPACT
           
static HTML.Attribute HTML.Attribute.CONTENT
           
static HTML.Attribute HTML.Attribute.COORDS
           
static HTML.Attribute HTML.Attribute.DATA
           
static HTML.Attribute HTML.Attribute.DECLARE
           
static HTML.Attribute HTML.Attribute.DIR
           
static HTML.Attribute HTML.Attribute.DUMMY
           
static HTML.Attribute HTML.Attribute.ENCTYPE
           
static HTML.Attribute HTML.Attribute.ENDTAG
           
static HTML.Attribute HTML.Attribute.FACE
           
static HTML.Attribute HTML.Attribute.FRAMEBORDER
           
static HTML.Attribute HTML.Attribute.HALIGN
           
static HTML.Attribute HTML.Attribute.HEIGHT
           
static HTML.Attribute HTML.Attribute.HREF
           
static HTML.Attribute HTML.Attribute.HSPACE
           
static HTML.Attribute HTML.Attribute.HTTPEQUIV
           
static HTML.Attribute HTML.Attribute.ID
           
static HTML.Attribute HTML.Attribute.ISMAP
           
static HTML.Attribute HTML.Attribute.LANG
           
static HTML.Attribute HTML.Attribute.LANGUAGE
           
static HTML.Attribute HTML.Attribute.LINK
           
static HTML.Attribute HTML.Attribute.LOWSRC
           
static HTML.Attribute HTML.Attribute.MARGINHEIGHT
           
static HTML.Attribute HTML.Attribute.MARGINWIDTH
           
static HTML.Attribute HTML.Attribute.MAXLENGTH
           
static HTML.Attribute HTML.Attribute.METHOD
           
static HTML.Attribute HTML.Attribute.MULTIPLE
           
static HTML.Attribute HTML.Attribute.N
           
static HTML.Attribute HTML.Attribute.NAME
           
static HTML.Attribute HTML.Attribute.NOHREF
           
static HTML.Attribute HTML.Attribute.NORESIZE
           
static HTML.Attribute HTML.Attribute.NOSHADE
           
static HTML.Attribute HTML.Attribute.NOWRAP
           
static HTML.Attribute HTML.Attribute.PROMPT
           
static HTML.Attribute HTML.Attribute.REL
           
static HTML.Attribute HTML.Attribute.REV
           
static HTML.Attribute HTML.Attribute.ROWS
           
static HTML.Attribute HTML.Attribute.ROWSPAN
           
static HTML.Attribute HTML.Attribute.SCROLLING
           
static HTML.Attribute HTML.Attribute.SELECTED
           
static HTML.Attribute HTML.Attribute.SHAPE
           
static HTML.Attribute HTML.Attribute.SHAPES
           
static HTML.Attribute HTML.Attribute.SIZE
           
static HTML.Attribute HTML.Attribute.SRC
           
static HTML.Attribute HTML.Attribute.STANDBY
           
static HTML.Attribute HTML.Attribute.START
           
static HTML.Attribute HTML.Attribute.STYLE
           
static HTML.Attribute HTML.Attribute.TARGET
           
static HTML.Attribute HTML.Attribute.TEXT
           
static HTML.Attribute HTML.Attribute.TITLE
           
static HTML.Attribute HTML.Attribute.TYPE
           
static HTML.Attribute HTML.Attribute.USEMAP
           
static HTML.Attribute HTML.Attribute.VALIGN
           
static HTML.Attribute HTML.Attribute.VALUE
           
static HTML.Attribute HTML.Attribute.VALUETYPE
           
static HTML.Attribute HTML.Attribute.VERSION
           
static HTML.Attribute HTML.Attribute.VLINK
           
static HTML.Attribute HTML.Attribute.VSPACE
           
static HTML.Attribute HTML.Attribute.WIDTH
           
 

返回 HTML.Attributejavax.swing.text.html 中的方法
static HTML.Attribute[] HTML.getAllAttributeKeys()
          返回所识别的 HTML 属性集。
static HTML.Attribute HTML.getAttributeKey(String attName)
          获取已知属性名称的属性常量(即集合 {FACE, COMMENT, SIZE, COLOR, CLEAR, BACKGROUND, BGCOLOR, TEXT, LINK, VLINK, ALINK, WIDTH, HEIGHT, ALIGN, NAME, HREF, REL, REV, TITLE, TARGET, SHAPE, COORDS, ISMAP, NOHREF, ALT, ID, SRC, HSPACE, VSPACE, USEMAP, LOWSRC, CODEBASE, CODE, ARCHIVE, VALUE, VALUETYPE, TYPE, CLASS, STYLE, LANG, DIR, DECLARE, CLASSID, DATA, CODETYPE, STANDBY, BORDER, SHAPES, NOSHADE, COMPACT, START, ACTION, METHOD, ENCTYPE, CHECKED, MAXLENGTH, MULTIPLE, SELECTED, ROWS, COLS, DUMMY, CELLSPACING, CELLPADDING, VALIGN, HALIGN, NOWRAP, ROWSPAN, COLSPAN, PROMPT, HTTPEQUIV, CONTENT, LANGUAGE, VERSION, N, FRAMEBORDER, MARGINWIDTH, MARGINHEIGHT, SCROLLING, NORESIZE, MEDIA, ENDTAG} 中的某个属性)。
 

参数类型为 HTML.Attributejavax.swing.text.html 中的方法
static int HTML.getIntegerAttributeValue(AttributeSet attr, HTML.Attribute key, int def)
          获取整数属性值。
 


JavaTM Platform
Standard Ed. 6

提交错误或意见
有关更多的 API 参考资料和开发人员文档,请参阅 Java SE 开发人员文档。该文档包含更详细的、面向开发人员的描述,以及总体概述、术语定义、使用技巧和工作代码示例。

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策