public class Hamlet.OPTION<T extends HamletSpec._> extends HamletImpl.EImp<T> implements HamletSpec.OPTION
| Constructor and Description |
|---|
OPTION(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
| Modifier and Type | Method and Description |
|---|---|
Hamlet.OPTION<T> |
_(Object... lines)
Content of the element
|
Hamlet.OPTION<T> |
_r(Object... lines)
Raw (no need to be HTML escaped) content
|
Hamlet.OPTION<T> |
$class(String value)
space-separated list of classes
|
Hamlet.OPTION<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.OPTION<T> |
$disabled()
unavailable in this context
|
Hamlet.OPTION<T> |
$id(String value)
document-wide unique id
|
Hamlet.OPTION<T> |
$label(String value)
for use in hierarchical menus
|
Hamlet.OPTION<T> |
$lang(String value)
language code
|
Hamlet.OPTION<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.OPTION<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.OPTION<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.OPTION<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.OPTION<T> |
$onkeyup(String value)
a key was released
|
Hamlet.OPTION<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.OPTION<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.OPTION<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.OPTION<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.OPTION<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.OPTION<T> |
$selected()
currently selected option
|
Hamlet.OPTION<T> |
$style(String value)
associated style info
|
Hamlet.OPTION<T> |
$title(String value)
advisory title
|
Hamlet.OPTION<T> |
$value(String value)
defaults to element content
|
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait_public OPTION(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.OPTION<T> $value(String value)
HamletSpec.OPTION$value in interface HamletSpec.OPTIONpublic Hamlet.OPTION<T> $disabled()
HamletSpec.OPTION$disabled in interface HamletSpec.OPTIONpublic Hamlet.OPTION<T> $selected()
HamletSpec.OPTION$selected in interface HamletSpec.OPTIONpublic Hamlet.OPTION<T> $label(String value)
HamletSpec.OPTION$label in interface HamletSpec.OPTIONpublic Hamlet.OPTION<T> $id(String value)
HamletSpec.CoreAttrs$id in interface HamletSpec.CoreAttrsvalue - the idpublic Hamlet.OPTION<T> $class(String value)
HamletSpec.CoreAttrs$class in interface HamletSpec.CoreAttrsvalue - the classespublic Hamlet.OPTION<T> $title(String value)
HamletSpec.CoreAttrs$title in interface HamletSpec.CoreAttrsvalue - the titlepublic Hamlet.OPTION<T> $style(String value)
HamletSpec.CoreAttrs$style in interface HamletSpec.CoreAttrsvalue - the stylepublic Hamlet.OPTION<T> $lang(String value)
HamletSpec.I18nAttrs$lang in interface HamletSpec.I18nAttrsvalue - the codepublic Hamlet.OPTION<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs$dir in interface HamletSpec.I18nAttrsvalue - the HamletSpec.Dir valuepublic Hamlet.OPTION<T> $onclick(String value)
HamletSpec.EventsAttrs$onclick in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $ondblclick(String value)
HamletSpec.EventsAttrs$ondblclick in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onmousedown(String value)
HamletSpec.EventsAttrs$onmousedown in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onmouseup(String value)
HamletSpec.EventsAttrs$onmouseup in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onmouseover(String value)
HamletSpec.EventsAttrs$onmouseover in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onmousemove(String value)
HamletSpec.EventsAttrs$onmousemove in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onmouseout(String value)
HamletSpec.EventsAttrs$onmouseout in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onkeypress(String value)
HamletSpec.EventsAttrs$onkeypress in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onkeydown(String value)
HamletSpec.EventsAttrs$onkeydown in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> $onkeyup(String value)
HamletSpec.EventsAttrs$onkeyup in interface HamletSpec.EventsAttrsvalue - the scriptpublic Hamlet.OPTION<T> _(Object... lines)
HamletSpec._Content_ in interface HamletSpec._Contentlines - of contentpublic Hamlet.OPTION<T> _r(Object... lines)
HamletSpec._RawContent_r in interface HamletSpec._RawContentlines - of contentCopyright © 2008–2023 Apache Software Foundation. All rights reserved.