Interface InputBuilder
- All Superinterfaces:
ElementBuilderBase<InputBuilder>
- All Known Implementing Classes:
DomInputBuilder
,HtmlInputBuilder
Builds an input element.
-
Method Summary
Modifier and TypeMethodDescriptionA comma-separated list of content types that a server processing this form will handle correctly.A single character access key to give access to the form control.Alternate text for user agents not rendering the normal content of this element.checked()
Set the state of the form control totrue
when type attribute of the element has the value "radio" or "checkbox".Set the default state of the form control totrue
when type attribute of the element has the value "radio" or "checkbox".defaultValue
(String defaultValue) When the type attribute of the element has the value "text", "file" or "password", this represents the HTML value attribute of the element.disabled()
Disable the control.maxLength
(int maxLength) Maximum number of characters for text fields, when type has the value "text" or "password".Form control or object name when submitted with a form.readOnly()
Make the control read-only.size
(int size) Size information.When the type attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button.When the type attribute of the element has the value "text", "file" or "password", this represents the current contents of the corresponding form control, in an interactive user agent.Methods inherited from interface com.google.gwt.dom.builder.shared.ElementBuilderBase
attribute, attribute, className, dir, draggable, end, end, endAnchor, endArea, endAudio, endBase, endBlockQuote, endBody, endBR, endButton, endCanvas, endCol, endColGroup, endDiv, endDList, endFieldSet, endForm, endFrame, endFrameSet, endH1, endH2, endH3, endH4, endH5, endH6, endHead, endHR, endIFrame, endImage, endInput, endLabel, endLegend, endLI, endLink, endMap, endMeta, endOList, endOptGroup, endOption, endParagraph, endParam, endPre, endQuote, endScript, endSelect, endSource, endSpan, endStyle, endTable, endTableCaption, endTBody, endTD, endTextArea, endTFoot, endTH, endTHead, endTR, endUList, endVideo, finish, getDepth, html, id, isChildElementSupported, isEndTagForbidden, lang, startAnchor, startArea, startAudio, startBase, startBlockQuote, startBody, startBR, startButtonInput, startCanvas, startCheckboxInput, startCol, startColGroup, startDiv, startDList, startFieldSet, startFileInput, startForm, startFrame, startFrameSet, startH1, startH2, startH3, startH4, startH5, startH6, startHead, startHiddenInput, startHR, startIFrame, startImage, startImageInput, startLabel, startLegend, startLI, startLink, startMap, startMeta, startOList, startOptGroup, startOption, startParagraph, startParam, startPasswordInput, startPre, startPushButton, startQuote, startRadioInput, startResetButton, startResetInput, startScript, startSelect, startSource, startSpan, startStyle, startSubmitButton, startSubmitInput, startTable, startTableCaption, startTBody, startTD, startTextArea, startTextInput, startTFoot, startTH, startTHead, startTR, startUList, startVideo, style, tabIndex, text, title, trustedStart
-
Method Details
-
accept
A comma-separated list of content types that a server processing this form will handle correctly.- See Also:
-
accessKey
A single character access key to give access to the form control.- See Also:
-
alt
Alternate text for user agents not rendering the normal content of this element.- See Also:
-
checked
InputBuilder checked()Set the state of the form control totrue
when type attribute of the element has the value "radio" or "checkbox". -
defaultChecked
InputBuilder defaultChecked()Set the default state of the form control totrue
when type attribute of the element has the value "radio" or "checkbox".- See Also:
-
defaultValue
When the type attribute of the element has the value "text", "file" or "password", this represents the HTML value attribute of the element. The value of this attribute does not change if the contents of the corresponding form control, in an interactive user agent, changes.- See Also:
-
disabled
InputBuilder disabled()Disable the control.- See Also:
-
maxLength
Maximum number of characters for text fields, when type has the value "text" or "password".- See Also:
-
name
Form control or object name when submitted with a form.- See Also:
-
readOnly
InputBuilder readOnly()Make the control read-only. Relevant only when type has the value "text" or "password".- See Also:
-
size
Size information. The precise meaning is specific to each type of field.- See Also:
-
src
When the type attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button.- See Also:
-
value
When the type attribute of the element has the value "text", "file" or "password", this represents the current contents of the corresponding form control, in an interactive user agent. Changing this attribute changes the contents of the form control, but does not change the value of the HTML value attribute of the element. When the type attribute of the element has the value "button", "hidden", "submit", "reset", "image", "checkbox" or "radio", this represents the HTML value attribute of the element.- See Also:
-