java命名空间javax.swing.text.html类html的类成员方法:
getattributekey定义及介绍
本文导语:
getattributekey
public static html.attribute 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, noh...
getattributekey
public static html.attribute 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, valign
iis7站长之家, 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} 中的某个属性)。如果给定名称不表示某个已知属性,则返回
null
。
- 参数:
attname
- 所请求的 string
- 返回:
- 对应于
attname
的 attribute