public class Hamlet.SELECT<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.SELECT
Constructor and Description |
---|
SELECT(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.SELECT<T> |
$class(String value)
space-separated list of classes
|
Hamlet.SELECT<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.SELECT<T> |
$disabled()
unavailable in this context
|
Hamlet.SELECT<T> |
$id(String value)
document-wide unique id
|
Hamlet.SELECT<T> |
$lang(String value)
language code
|
Hamlet.SELECT<T> |
$multiple()
default is single selection
|
Hamlet.SELECT<T> |
$name(String value)
field name
|
Hamlet.SELECT<T> |
$onblur(String value)
the element lost the focus
|
Hamlet.SELECT<T> |
$onchange(String value)
the element value was changed
|
Hamlet.SELECT<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.SELECT<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.SELECT<T> |
$onfocus(String value)
the element got the focus
|
Hamlet.SELECT<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.SELECT<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.SELECT<T> |
$onkeyup(String value)
a key was released
|
Hamlet.SELECT<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.SELECT<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.SELECT<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.SELECT<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.SELECT<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.SELECT<T> |
$size(int value)
rows visible
|
Hamlet.SELECT<T> |
$style(String value)
associated style info
|
Hamlet.SELECT<T> |
$tabindex(int value)
position in tabbing order
|
Hamlet.SELECT<T> |
$title(String value)
advisory title
|
Hamlet.OPTGROUP<Hamlet.SELECT<T>> |
optgroup()
Add a OPTGROUP element.
|
Hamlet.OPTION<Hamlet.SELECT<T>> |
option()
Add a OPTION element.
|
Hamlet.SELECT<T> |
option(String cdata)
Add a complete OPTION element.
|
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__
public SELECT(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.SELECT<T> $name(String value)
HamletSpec.SELECT
$name
in interface HamletSpec.SELECT
value
- the content of the element.public Hamlet.SELECT<T> $disabled()
HamletSpec.SELECT
$disabled
in interface HamletSpec.SELECT
public Hamlet.SELECT<T> $tabindex(int value)
HamletSpec.SELECT
$tabindex
in interface HamletSpec.SELECT
value
- the indexpublic Hamlet.SELECT<T> $onfocus(String value)
HamletSpec.SELECT
$onfocus
in interface HamletSpec.SELECT
value
- to invoke.public Hamlet.SELECT<T> $onblur(String value)
HamletSpec.SELECT
$onblur
in interface HamletSpec.SELECT
value
- to invoke.public Hamlet.SELECT<T> $onchange(String value)
HamletSpec.SELECT
$onchange
in interface HamletSpec.SELECT
value
- to invoke.public Hamlet.OPTGROUP<Hamlet.SELECT<T>> optgroup()
HamletSpec.SELECT
optgroup
in interface HamletSpec.SELECT
public Hamlet.SELECT<T> $size(int value)
HamletSpec.SELECT
$size
in interface HamletSpec.SELECT
value
- number of rows.public Hamlet.SELECT<T> $multiple()
HamletSpec.SELECT
$multiple
in interface HamletSpec.SELECT
public Hamlet.SELECT<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the idpublic Hamlet.SELECT<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.SELECT<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.SELECT<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.SELECT<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.SELECT<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.SELECT<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.SELECT<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.OPTION<Hamlet.SELECT<T>> option()
HamletSpec._Option
option
in interface HamletSpec._Option
public Hamlet.SELECT<T> option(String cdata)
HamletSpec._Option
option
in interface HamletSpec._Option
cdata
- the contentCopyright © 2008–2024 Apache Software Foundation. All rights reserved.