Class DomBuilderImpl
java.lang.Object
com.google.gwt.dom.builder.shared.ElementBuilderImpl
com.google.gwt.dom.builder.client.DomBuilderImpl
Implementation of methods in
 
ElementBuilderBase used to render
 Elements using DOM manipulation.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) ElementAssert that the builder is in a state where an attribute can be added.(package private) StyleAssert that the builder is in a state where a style property can be added.protected voidClose the start tag.protected voidClose the style attribute.protected voidSelf-close the start tag.protected voiddoEndTagImpl(String tagName) End the specified tag.protected ElementReturn the build element.protected voiddoHtmlImpl(SafeHtml html) Set the specified html as the inner HTML of the current element.protected voidOpen the style attribute.protected voiddoTextImpl(String text) Set the specified text as the inner text of the current element.(package private) ElementGet the element current being built.protected voidLock the current element, preventing any additional changes to it.startBR()startCol()startDiv()startH1()startH2()startH3()startH4()startH5()startH6()startHR()startInput(InputElement input) Start an input using the specified InputElement.startLI()startMap()startPre()startRadioInput(String name) startTD()(package private) InputBuilderstartTH()startTR()style()Get theStylesBuilderused to add style properties to the current element.trustedStart(String tagName) Methods inherited from class com.google.gwt.dom.builder.shared.ElementBuilderImplassertCanAddAttributeImpl, assertCanAddStylePropertyImpl, assertValidTagName, end, end, endAllTags, endStyle, finish, getDepth, html, onStart, text
- 
Constructor Details- 
DomBuilderImplDomBuilderImpl()
 
- 
- 
Method Details- 
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
- 
startInputStart an input using the specified InputElement.
- 
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
- 
startTFoot
- 
startTH
- 
startTHead
- 
startTR
- 
startUList
- 
startVideo
- 
styleDescription copied from class:ElementBuilderImplGet theStylesBuilderused to add style properties to the current element.- Specified by:
- stylein class- ElementBuilderImpl
- Returns:
- a StylesBuilder
 
- 
trustedStart
- 
doCloseStartTagImplprotected void doCloseStartTagImpl()Description copied from class:ElementBuilderImplClose the start tag.- Specified by:
- doCloseStartTagImplin class- ElementBuilderImpl
 
- 
doCloseStyleAttributeImplprotected void doCloseStyleAttributeImpl()Description copied from class:ElementBuilderImplClose the style attribute.- Specified by:
- doCloseStyleAttributeImplin class- ElementBuilderImpl
 
- 
doEndStartTagImplprotected void doEndStartTagImpl()Description copied from class:ElementBuilderImplSelf-close the start tag. This method is called for elements that forbid the end tag.- Specified by:
- doEndStartTagImplin class- ElementBuilderImpl
 
- 
doEndTagImplDescription copied from class:ElementBuilderImplEnd the specified tag.- Specified by:
- doEndTagImplin class- ElementBuilderImpl
- Parameters:
- tagName- the name of the tag to end
 
- 
doFinishImplDescription copied from class:ElementBuilderImplReturn the build element.- Specified by:
- doFinishImplin class- ElementBuilderImpl
- Returns:
- the element
 
- 
doOpenStyleImplprotected void doOpenStyleImpl()Description copied from class:ElementBuilderImplOpen the style attribute.- Specified by:
- doOpenStyleImplin class- ElementBuilderImpl
 
- 
doTextImplDescription copied from class:ElementBuilderImplSet the specified text as the inner text of the current element.- Specified by:
- doTextImplin class- ElementBuilderImpl
- Parameters:
- text- the text to set
 
- 
lockCurrentElementprotected void lockCurrentElement()Description copied from class:ElementBuilderImplLock the current element, preventing any additional changes to it. The only valid option is to callElementBuilderImpl.end().- Overrides:
- lockCurrentElementin class- ElementBuilderImpl
 
- 
assertCanAddAttributeElement assertCanAddAttribute()Assert that the builder is in a state where an attribute can be added.- Returns:
- the element on which the attribute can be set
 
- 
assertCanAddStylePropertyStyle assertCanAddStyleProperty()Assert that the builder is in a state where a style property can be added.- Returns:
- the Styleon which the property can be set
 
- 
getCurrentElementElement getCurrentElement()Get the element current being built.
- 
startTextInputInputBuilder startTextInput()
 
-