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
- input value.HamletSpec.INPUT $name(String cdata)
cdata
- the content of the element.HamletSpec.INPUT $value(String cdata)
cdata
- the content of the element.HamletSpec.INPUT $checked()
HamletSpec.INPUT $disabled()
HamletSpec.INPUT $readonly()
HamletSpec.INPUT $size(String cdata)
cdata
- the content of the element.HamletSpec.INPUT $maxlength(int length)
length
- max chars length.HamletSpec.INPUT $src(String uri)
uri
- the URI.HamletSpec.INPUT $alt(String cdata)
cdata
- the content of the element.HamletSpec.INPUT $ismap()
HamletSpec.INPUT $tabindex(int index)
index
- the indexHamletSpec.INPUT $accesskey(String cdata)
cdata
- the content of the element.HamletSpec.INPUT $onfocus(String script)
script
- to invoke.HamletSpec.INPUT $onblur(String script)
script
- to invoke.HamletSpec.INPUT $onselect(String script)
script
- to invoke.HamletSpec.INPUT $onchange(String script)
script
- to invoke.HamletSpec.INPUT $accept(String contentTypes)
contentTypes
- content types.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.