public class Hamlet.INPUT<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.INPUT
Constructor and Description |
---|
INPUT(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.INPUT<T> |
$accept(String value)
list of MIME types for file upload (csv)
|
Hamlet.INPUT<T> |
$accesskey(String value)
accessibility key character
|
Hamlet.INPUT<T> |
$alt(String value)
short description
|
Hamlet.INPUT<T> |
$checked()
for radio buttons and check boxes
|
Hamlet.INPUT<T> |
$class(String value)
space-separated list of classes
|
Hamlet.INPUT<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.INPUT<T> |
$disabled()
unavailable in this context
|
Hamlet.INPUT<T> |
$id(String value)
document-wide unique id
|
Hamlet.INPUT<T> |
$ismap()
use server-side image map
|
Hamlet.INPUT<T> |
$lang(String value)
language code
|
Hamlet.INPUT<T> |
$maxlength(int value)
max chars for text fields
|
Hamlet.INPUT<T> |
$name(String value)
submit as part of form
|
Hamlet.INPUT<T> |
$onblur(String value)
the element lost the focus
|
Hamlet.INPUT<T> |
$onchange(String value)
the element value was changed
|
Hamlet.INPUT<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.INPUT<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.INPUT<T> |
$onfocus(String value)
the element got the focus
|
Hamlet.INPUT<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.INPUT<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.INPUT<T> |
$onkeyup(String value)
a key was released
|
Hamlet.INPUT<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.INPUT<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.INPUT<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.INPUT<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.INPUT<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.INPUT<T> |
$onselect(String value)
some text was selected
|
Hamlet.INPUT<T> |
$readonly()
for text and passwd
|
Hamlet.INPUT<T> |
$size(String value)
specific to each type of field
|
Hamlet.INPUT<T> |
$src(String value)
for fields with images
|
Hamlet.INPUT<T> |
$style(String value)
associated style info
|
Hamlet.INPUT<T> |
$tabindex(int value)
position in tabbing order
|
Hamlet.INPUT<T> |
$title(String value)
advisory title
|
Hamlet.INPUT<T> |
$type(HamletSpec.InputType value)
what kind of widget is needed.
|
Hamlet.INPUT<T> |
$value(String value)
Specify for radio buttons and checkboxes
|
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__
public INPUT(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.INPUT<T> $type(HamletSpec.InputType value)
HamletSpec.INPUT
$type
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $src(String value)
HamletSpec.INPUT
$src
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $name(String value)
HamletSpec.INPUT
$name
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $value(String value)
HamletSpec.INPUT
$value
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $disabled()
HamletSpec.INPUT
$disabled
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $tabindex(int value)
HamletSpec.INPUT
$tabindex
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $accesskey(String value)
HamletSpec.INPUT
$accesskey
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $onfocus(String value)
HamletSpec.INPUT
$onfocus
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $onblur(String value)
HamletSpec.INPUT
$onblur
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $readonly()
HamletSpec.INPUT
$readonly
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $onselect(String value)
HamletSpec.INPUT
$onselect
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $onchange(String value)
HamletSpec.INPUT
$onchange
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $size(String value)
HamletSpec.INPUT
$size
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $checked()
HamletSpec.INPUT
$checked
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $maxlength(int value)
HamletSpec.INPUT
$maxlength
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $alt(String value)
HamletSpec.INPUT
$alt
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $ismap()
HamletSpec.INPUT
$ismap
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $accept(String value)
HamletSpec.INPUT
$accept
in interface HamletSpec.INPUT
public Hamlet.INPUT<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the idpublic Hamlet.INPUT<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.INPUT<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.INPUT<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.INPUT<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.INPUT<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.INPUT<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.INPUT<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptCopyright © 2008–2019 Apache Software Foundation. All rights reserved.