Class HtmlInputBuilder
- java.lang.Object
-
- com.google.gwt.dom.builder.shared.AbstractElementBuilderBase<R>
-
- com.google.gwt.dom.builder.shared.HtmlElementBuilderBase<InputBuilder>
-
- com.google.gwt.dom.builder.shared.HtmlInputBuilder
-
- All Implemented Interfaces:
ElementBuilderBase<InputBuilder>,InputBuilder
public class HtmlInputBuilder extends HtmlElementBuilderBase<InputBuilder> implements InputBuilder
HTML-based implementation ofInputBuilder.
-
-
Constructor Summary
Constructors Constructor Description HtmlInputBuilder(HtmlBuilderImpl delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputBuilderaccept(java.lang.String accept)A comma-separated list of content types that a server processing this form will handle correctly.InputBuilderaccessKey(java.lang.String accessKey)A single character access key to give access to the form control.InputBuilderalt(java.lang.String alt)Alternate text for user agents not rendering the normal content of this element.InputBuilderchecked()Set the state of the form control totruewhen type attribute of the element has the value "radio" or "checkbox".InputBuilderdefaultChecked()Set the default state of the form control totruewhen type attribute of the element has the value "radio" or "checkbox".InputBuilderdefaultValue(java.lang.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.InputBuilderdisabled()Disable the control.InputBuildermaxLength(int maxLength)Maximum number of characters for text fields, when type has the value "text" or "password".InputBuildername(java.lang.String name)Form control or object name when submitted with a form.InputBuilderreadOnly()Make the control read-only.InputBuildersize(int size)Size information.InputBuildersrc(java.lang.String 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.InputBuildervalue(java.lang.String 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.-
Methods inherited from class com.google.gwt.dom.builder.shared.HtmlElementBuilderBase
asSafeHtml, attribute, attribute, className, dir, draggable, endTitle, id, 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, startTitle, startTR, startUList, startVideo, tabIndex, title, trustedAttribute, trustedAttribute, trustedStart
-
Methods inherited from class com.google.gwt.dom.builder.shared.AbstractElementBuilderBase
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, getReturnBuilder, html, isChildElementSupported, isEndTagForbidden, style, text
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
HtmlInputBuilder
HtmlInputBuilder(HtmlBuilderImpl delegate)
-
-
Method Detail
-
accept
public InputBuilder accept(java.lang.String accept)
Description copied from interface:InputBuilderA comma-separated list of content types that a server processing this form will handle correctly.- Specified by:
acceptin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
accessKey
public InputBuilder accessKey(java.lang.String accessKey)
Description copied from interface:InputBuilderA single character access key to give access to the form control.- Specified by:
accessKeyin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
alt
public InputBuilder alt(java.lang.String alt)
Description copied from interface:InputBuilderAlternate text for user agents not rendering the normal content of this element.- Specified by:
altin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
checked
public InputBuilder checked()
Description copied from interface:InputBuilderSet the state of the form control totruewhen type attribute of the element has the value "radio" or "checkbox".- Specified by:
checkedin interfaceInputBuilder
-
defaultChecked
public InputBuilder defaultChecked()
Description copied from interface:InputBuilderSet the default state of the form control totruewhen type attribute of the element has the value "radio" or "checkbox".- Specified by:
defaultCheckedin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
defaultValue
public InputBuilder defaultValue(java.lang.String defaultValue)
Description copied from interface:InputBuilderWhen 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.- Specified by:
defaultValuein interfaceInputBuilder- See Also:
- W3C HTML Specification
-
disabled
public InputBuilder disabled()
Description copied from interface:InputBuilderDisable the control.- Specified by:
disabledin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
maxLength
public InputBuilder maxLength(int maxLength)
Description copied from interface:InputBuilderMaximum number of characters for text fields, when type has the value "text" or "password".- Specified by:
maxLengthin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
name
public InputBuilder name(java.lang.String name)
Description copied from interface:InputBuilderForm control or object name when submitted with a form.- Specified by:
namein interfaceInputBuilder- See Also:
- W3C HTML Specification
-
readOnly
public InputBuilder readOnly()
Description copied from interface:InputBuilderMake the control read-only. Relevant only when type has the value "text" or "password".- Specified by:
readOnlyin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
size
public InputBuilder size(int size)
Description copied from interface:InputBuilderSize information. The precise meaning is specific to each type of field.- Specified by:
sizein interfaceInputBuilder- See Also:
- W3C HTML Specification
-
src
public InputBuilder src(java.lang.String src)
Description copied from interface:InputBuilderWhen the type attribute has the value "image", this attribute specifies the location of the image to be used to decorate the graphical submit button.- Specified by:
srcin interfaceInputBuilder- See Also:
- W3C HTML Specification
-
value
public InputBuilder value(java.lang.String value)
Description copied from interface:InputBuilderWhen 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.- Specified by:
valuein interfaceInputBuilder- See Also:
- W3C HTML Specification
-
-