public class Hamlet.STYLE<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.STYLE
Constructor and Description |
---|
STYLE(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.STYLE<T> |
__(Object... lines)
Content of the element
|
Hamlet.STYLE<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.STYLE<T> |
$lang(String value)
language code
|
Hamlet.STYLE<T> |
$media(EnumSet<HamletSpec.Media> value)
designed for use with these media
|
Hamlet.STYLE<T> |
$title(String value)
advisory title
|
Hamlet.STYLE<T> |
$type(String value)
content type of style language
|
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__
public STYLE(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.STYLE<T> $type(String value)
HamletSpec.STYLE
$type
in interface HamletSpec.STYLE
public Hamlet.STYLE<T> $media(EnumSet<HamletSpec.Media> value)
HamletSpec.STYLE
$media
in interface HamletSpec.STYLE
public Hamlet.STYLE<T> $title(String value)
HamletSpec.STYLE
$title
in interface HamletSpec.STYLE
public Hamlet.STYLE<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.STYLE<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.STYLE<T> __(Object... lines)
HamletSpec._Content
__
in interface HamletSpec._Content
lines
- of contentCopyright © 2008–2019 Apache Software Foundation. All rights reserved.