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.