@Bean(typeName="img") public class Img extends HtmlElementVoid
Constructor and Description |
---|
Img() |
Modifier and Type | Method and Description |
---|---|
Img |
_class(String _class)
class attribute.
|
Img |
alt(String alt)
alt attribute.
|
Img |
crossorigin(String crossorigin)
crossorigin
attribute.
|
Img |
height(Object height)
height
attribute.
|
Img |
id(String id)
id attribute.
|
Img |
ismap(Object ismap)
ismap attribute.
|
Img |
src(Object src)
src attribute.
|
Img |
style(String style)
style attribute.
|
Img |
usemap(String usemap)
usemap
attribute.
|
Img |
width(Object width)
width attribute.
|
accesskey, attr, attrUri, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, tabindex, title, toString, translate
public Img()
public final Img alt(String alt)
Replacement text for use when images are not available.
alt
- The new value for this attribute.public final Img crossorigin(String crossorigin)
How the element handles cross-origin requests.
crossorigin
- The new value for this attribute.public final Img ismap(Object ismap)
Whether the image is a server-side image map.
public final Img src(Object src)
Address of the resource.
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
public final Img usemap(String usemap)
Name of image map to use.
usemap
- The new value for this attribute.public final Img _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Img id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Img style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.