Class DomInputBuilder
java.lang.Object
com.google.gwt.dom.builder.shared.AbstractElementBuilderBase<InputBuilder>
com.google.gwt.dom.builder.client.DomElementBuilderBase<InputBuilder,InputElement>
com.google.gwt.dom.builder.client.DomInputBuilder
- All Implemented Interfaces:
ElementBuilderBase<InputBuilder>
,InputBuilder
public class DomInputBuilder
extends DomElementBuilderBase<InputBuilder,InputElement>
implements InputBuilder
DOM-based implementation of
InputBuilder
.-
Constructor Summary
-
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 class com.google.gwt.dom.builder.client.DomElementBuilderBase
assertCanAddAttribute, attribute, attribute, className, dir, draggable, getDelegate, 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, startTR, startUList, startVideo, tabIndex, title, 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 Details
-
DomInputBuilder
DomInputBuilder(DomBuilderImpl delegate)
-
-
Method Details
-
accept
Description copied from interface:InputBuilder
A comma-separated list of content types that a server processing this form will handle correctly.- Specified by:
accept
in interfaceInputBuilder
- See Also:
-
accessKey
Description copied from interface:InputBuilder
A single character access key to give access to the form control.- Specified by:
accessKey
in interfaceInputBuilder
- See Also:
-
alt
Description copied from interface:InputBuilder
Alternate text for user agents not rendering the normal content of this element.- Specified by:
alt
in interfaceInputBuilder
- See Also:
-
checked
Description copied from interface:InputBuilder
Set the state of the form control totrue
when type attribute of the element has the value "radio" or "checkbox".- Specified by:
checked
in interfaceInputBuilder
-
defaultChecked
Description copied from interface:InputBuilder
Set the default state of the form control totrue
when type attribute of the element has the value "radio" or "checkbox".- Specified by:
defaultChecked
in interfaceInputBuilder
- See Also:
-
defaultValue
Description copied from interface:InputBuilder
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.- Specified by:
defaultValue
in interfaceInputBuilder
- See Also:
-
disabled
Description copied from interface:InputBuilder
Disable the control.- Specified by:
disabled
in interfaceInputBuilder
- See Also:
-
maxLength
Description copied from interface:InputBuilder
Maximum number of characters for text fields, when type has the value "text" or "password".- Specified by:
maxLength
in interfaceInputBuilder
- See Also:
-
name
Description copied from interface:InputBuilder
Form control or object name when submitted with a form.- Specified by:
name
in interfaceInputBuilder
- See Also:
-
readOnly
Description copied from interface:InputBuilder
Make the control read-only. Relevant only when type has the value "text" or "password".- Specified by:
readOnly
in interfaceInputBuilder
- See Also:
-
size
Description copied from interface:InputBuilder
Size information. The precise meaning is specific to each type of field.- Specified by:
size
in interfaceInputBuilder
- See Also:
-
src
Description copied from interface:InputBuilder
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.- Specified by:
src
in interfaceInputBuilder
- See Also:
-
value
Description copied from interface:InputBuilder
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.- Specified by:
value
in interfaceInputBuilder
- See Also:
-