Class HtmlTextAreaBuilder
- java.lang.Object
-
- com.google.gwt.dom.builder.shared.AbstractElementBuilderBase<R>
-
- com.google.gwt.dom.builder.shared.HtmlElementBuilderBase<TextAreaBuilder>
-
- com.google.gwt.dom.builder.shared.HtmlTextAreaBuilder
-
- All Implemented Interfaces:
ElementBuilderBase<TextAreaBuilder>
,TextAreaBuilder
public class HtmlTextAreaBuilder extends HtmlElementBuilderBase<TextAreaBuilder> implements TextAreaBuilder
HTML-based implementation ofTextAreaBuilder
.
-
-
Field Summary
-
Fields inherited from interface com.google.gwt.dom.builder.shared.TextAreaBuilder
UNSUPPORTED_HTML
-
-
Constructor Summary
Constructors Constructor Description HtmlTextAreaBuilder(HtmlBuilderImpl delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextAreaBuilder
accessKey(java.lang.String accessKey)
A single character access key to give access to the form control.TextAreaBuilder
cols(int cols)
Width of control (in characters).TextAreaBuilder
defaultValue(java.lang.String defaultValue)
Represents the contents of the element.TextAreaBuilder
disabled()
Disable this control.TextAreaBuilder
html(SafeHtml html)
Append html within the node.boolean
isChildElementSupported()
Check if child elements are supported.TextAreaBuilder
name(java.lang.String name)
Form control or object name when submitted with a form.TextAreaBuilder
readOnly()
Make control is read-only.TextAreaBuilder
rows(int rows)
Number of text rows.TextAreaBuilder
value(java.lang.String value)
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, 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, id, 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
-
HtmlTextAreaBuilder
HtmlTextAreaBuilder(HtmlBuilderImpl delegate)
-
-
Method Detail
-
accessKey
public TextAreaBuilder accessKey(java.lang.String accessKey)
Description copied from interface:TextAreaBuilder
A single character access key to give access to the form control.- Specified by:
accessKey
in interfaceTextAreaBuilder
- See Also:
- W3C HTML Specification
-
cols
public TextAreaBuilder cols(int cols)
Description copied from interface:TextAreaBuilder
Width of control (in characters).- Specified by:
cols
in interfaceTextAreaBuilder
- See Also:
- W3C HTML Specification
-
defaultValue
public TextAreaBuilder defaultValue(java.lang.String defaultValue)
Description copied from interface:TextAreaBuilder
Represents the contents 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 interfaceTextAreaBuilder
-
disabled
public TextAreaBuilder disabled()
Description copied from interface:TextAreaBuilder
Disable this control.- Specified by:
disabled
in interfaceTextAreaBuilder
- See Also:
- W3C HTML Specification
-
html
public TextAreaBuilder html(SafeHtml html)
Description copied from interface:ElementBuilderBase
Append html within the node.Once you append HTML to the element, you can no longer set attributes.
- Specified by:
html
in interfaceElementBuilderBase<TextAreaBuilder>
- Overrides:
html
in classAbstractElementBuilderBase<TextAreaBuilder>
- Parameters:
html
- the HTML to append- Returns:
- this builder
-
isChildElementSupported
public boolean isChildElementSupported()
Description copied from interface:ElementBuilderBase
Check if child elements are supported.- Specified by:
isChildElementSupported
in interfaceElementBuilderBase<TextAreaBuilder>
- Overrides:
isChildElementSupported
in classAbstractElementBuilderBase<TextAreaBuilder>
- Returns:
- true if supported, false if not.
-
name
public TextAreaBuilder name(java.lang.String name)
Description copied from interface:TextAreaBuilder
Form control or object name when submitted with a form.- Specified by:
name
in interfaceTextAreaBuilder
- See Also:
- W3C HTML Specification
-
readOnly
public TextAreaBuilder readOnly()
Description copied from interface:TextAreaBuilder
Make control is read-only.- Specified by:
readOnly
in interfaceTextAreaBuilder
- See Also:
- W3C HTML Specification
-
rows
public TextAreaBuilder rows(int rows)
Description copied from interface:TextAreaBuilder
Number of text rows.- Specified by:
rows
in interfaceTextAreaBuilder
- See Also:
- W3C HTML Specification
-
value
public TextAreaBuilder value(java.lang.String value)
Description copied from interface:TextAreaBuilder
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 contents of the element. If the entirety of the data can not fit into a single string, the implementation may truncate the data.- Specified by:
value
in interfaceTextAreaBuilder
-
-