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, closeAttrs
clone, 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.IMG
value
- the URIpublic Hamlet.IMG<T> $alt(String value)
HamletSpec.IMG
$alt
in interface HamletSpec.IMG
value
- the descriptionpublic Hamlet.IMG<T> $ismap()
HamletSpec.IMG
$ismap
in interface HamletSpec.IMG
public Hamlet.IMG<T> $height(String value)
HamletSpec.IMG
$height
in interface HamletSpec.IMG
value
- the height (can use %, * etc.)public Hamlet.IMG<T> $height(int value)
HamletSpec.IMG
$height
in interface HamletSpec.IMG
value
- the heightpublic Hamlet.IMG<T> $width(int value)
HamletSpec.IMG
$width
in interface HamletSpec.IMG
value
- the widthpublic Hamlet.IMG<T> $width(String value)
HamletSpec.IMG
$width
in interface HamletSpec.IMG
value
- the width (can use %, * etc.)public Hamlet.IMG<T> $usemap(String value)
HamletSpec.IMG
$usemap
in interface HamletSpec.IMG
value
- the URIpublic Hamlet.IMG<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the idpublic Hamlet.IMG<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.IMG<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.IMG<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.IMG<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.IMG<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.IMG<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.IMG<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptCopyright © 2008–2024 Apache Software Foundation. All rights reserved.