public static interface HamletSpec.INPUT extends HamletSpec.Attrs, HamletSpec._Child
Modifier and Type | Method and Description |
---|---|
HamletSpec.INPUT |
$accept(String contentTypes)
list of MIME types for file upload (csv)
|
HamletSpec.INPUT |
$accesskey(String cdata)
accessibility key character
|
HamletSpec.INPUT |
$alt(String cdata)
short description
|
HamletSpec.INPUT |
$checked()
for radio buttons and check boxes
|
HamletSpec.INPUT |
$disabled()
unavailable in this context
|
HamletSpec.INPUT |
$ismap()
use server-side image map
|
HamletSpec.INPUT |
$maxlength(int length)
max chars for text fields
|
HamletSpec.INPUT |
$name(String cdata)
submit as part of form
|
HamletSpec.INPUT |
$onblur(String script)
the element lost the focus
|
HamletSpec.INPUT |
$onchange(String script)
the element value was changed
|
HamletSpec.INPUT |
$onfocus(String script)
the element got the focus
|
HamletSpec.INPUT |
$onselect(String script)
some text was selected
|
HamletSpec.INPUT |
$readonly()
for text and passwd
|
HamletSpec.INPUT |
$size(String cdata)
specific to each type of field
|
HamletSpec.INPUT |
$src(String uri)
for fields with images
|
HamletSpec.INPUT |
$tabindex(int index)
position in tabbing order
|
HamletSpec.INPUT |
$type(HamletSpec.InputType inputType)
what kind of widget is needed.
|
HamletSpec.INPUT |
$value(String cdata)
Specify for radio buttons and checkboxes
|
$class, $id, $style, $title
$dir, $lang
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmousemove, $onmouseout, $onmouseover, $onmouseup
_
HamletSpec.INPUT $type(HamletSpec.InputType inputType)
inputType
- HamletSpec.INPUT $name(String cdata)
cdata
- HamletSpec.INPUT $value(String cdata)
cdata
- HamletSpec.INPUT $checked()
HamletSpec.INPUT $disabled()
HamletSpec.INPUT $readonly()
HamletSpec.INPUT $size(String cdata)
cdata
- HamletSpec.INPUT $maxlength(int length)
length
- HamletSpec.INPUT $src(String uri)
uri
- HamletSpec.INPUT $alt(String cdata)
cdata
- HamletSpec.INPUT $ismap()
HamletSpec.INPUT $tabindex(int index)
index
- HamletSpec.INPUT $accesskey(String cdata)
cdata
- HamletSpec.INPUT $onfocus(String script)
script
- HamletSpec.INPUT $onblur(String script)
script
- HamletSpec.INPUT $onselect(String script)
script
- HamletSpec.INPUT $onchange(String script)
script
- HamletSpec.INPUT $accept(String contentTypes)
contentTypes
- Copyright © 2008–2019 Apache Software Foundation. All rights reserved.