public class Hamlet.IMG<T extends HamletSpec._> extends HamletImpl.EImp<T> implements HamletSpec.IMG
| Constructor and Description |
|---|
IMG(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
| Modifier and Type | Method and Description |
|---|---|
Hamlet.IMG<T> |
$alt(String value)
short description
|
Hamlet.IMG<T> |
$class(String value)
space-separated list of classes
|
Hamlet.IMG<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.IMG<T> |
$height(int value)
override height
|
Hamlet.IMG<T> |
$height(String value)
override height
|
Hamlet.IMG<T> |
$id(String value)
document-wide unique id
|
Hamlet.IMG<T> |
$ismap()
use server-side image map
|
Hamlet.IMG<T> |
$lang(String value)
language code
|
Hamlet.IMG<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.IMG<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.IMG<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.IMG<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.IMG<T> |
$onkeyup(String value)
a key was released
|
Hamlet.IMG<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.IMG<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.IMG<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.IMG<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.IMG<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.IMG<T> |
$src(String value)
URI of image to embed
|
Hamlet.IMG<T> |
$style(String value)
associated style info
|
Hamlet.IMG<T> |
$title(String value)
advisory title
|
Hamlet.IMG<T> |
$usemap(String value)
use client-side image map
|
Hamlet.IMG<T> |
$width(int value)
override width
|
Hamlet.IMG<T> |
$width(String value)
override width
|
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_public IMG(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.IMG<T> $src(String value)
HamletSpec.IMG$src in interface HamletSpec.IMGvalue - the URIpublic Hamlet.IMG<T> $alt(String value)
HamletSpec.IMG$alt in interface HamletSpec.IMGvalue - the descriptionpublic Hamlet.IMG<T> $ismap()
HamletSpec.IMG$ismap in interface HamletSpec.IMGpublic Hamlet.IMG<T> $height(String value)
HamletSpec.IMG$height in interface HamletSpec.IMGvalue - the height (can use %, * etc.)public Hamlet.IMG<T> $height(int value)
HamletSpec.IMG$height in interface HamletSpec.IMGvalue - the heightpublic Hamlet.IMG<T> $width(int value)
HamletSpec.IMG$width in interface HamletSpec.IMGvalue - the widthpublic Hamlet.IMG<T> $width(String value)
HamletSpec.IMG$width in interface HamletSpec.IMGvalue - the width (can use %, * etc.)public Hamlet.IMG<T> $usemap(String value)
HamletSpec.IMG$usemap in interface HamletSpec.IMGvalue - the URIpublic Hamlet.IMG<T> $id(String value)
HamletSpec.CoreAttrs$id in interface HamletSpec.CoreAttrsvalue - the idpublic Hamlet.IMG<T> $class(String value)
HamletSpec.CoreAttrs$class in interface HamletSpec.CoreAttrsvalue - the classespublic Hamlet.IMG<T> $title(String value)
HamletSpec.CoreAttrs$title in interface HamletSpec.CoreAttrsvalue - the titlepublic Hamlet.IMG<T> $style(String value)
HamletSpec.CoreAttrs$style in interface HamletSpec.CoreAttrsvalue - the stylepublic Hamlet.IMG<T> $lang(String value)
HamletSpec.I18nAttrs$lang in interface HamletSpec.I18nAttrsvalue - the codepublic Hamlet.IMG<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs$dir in interface HamletSpec.I18nAttrsvalue - the HamletSpec.Dir valuepublic Hamlet.IMG<T> $onclick(String value)
HamletSpec.EventsAttrs$onclick in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $ondblclick(String value)
HamletSpec.EventsAttrs$ondblclick in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onmousedown(String value)
HamletSpec.EventsAttrs$onmousedown in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onmouseup(String value)
HamletSpec.EventsAttrs$onmouseup in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onmouseover(String value)
HamletSpec.EventsAttrs$onmouseover in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onmousemove(String value)
HamletSpec.EventsAttrs$onmousemove in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onmouseout(String value)
HamletSpec.EventsAttrs$onmouseout in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onkeypress(String value)
HamletSpec.EventsAttrs$onkeypress in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onkeydown(String value)
HamletSpec.EventsAttrs$onkeydown in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.IMG<T> $onkeyup(String value)
HamletSpec.EventsAttrs$onkeyup in interface HamletSpec.EventsAttrsvalue - the scriptCopyright © 2008–2022 Apache Software Foundation. All rights reserved.