Class DomIFrameBuilder
- java.lang.Object
-
- com.google.gwt.dom.builder.shared.AbstractElementBuilderBase<R>
-
- com.google.gwt.dom.builder.client.DomElementBuilderBase<IFrameBuilder,IFrameElement>
-
- com.google.gwt.dom.builder.client.DomIFrameBuilder
-
- All Implemented Interfaces:
ElementBuilderBase<IFrameBuilder>,IFrameBuilder
public class DomIFrameBuilder extends DomElementBuilderBase<IFrameBuilder,IFrameElement> implements IFrameBuilder
DOM-based implementation ofIFrameBuilder.
-
-
Constructor Summary
Constructors Constructor Description DomIFrameBuilder(DomBuilderImpl delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFrameBuilderframeBorder(int frameBorder)Request frame borders.HtmlIFrameBuilderhtml(SafeHtml html)Append html within the node.booleanisChildElementSupported()Check if child elements are supported.IFrameBuildermarginHeight(int marginHeight)Frame margin height, in pixels.IFrameBuildermarginWidth(int marginWidth)Frame margin width, in pixels.IFrameBuildername(java.lang.String name)The frame name (object of the target attribute).IFrameBuildernoResize()Forbid user from resizing frame.IFrameBuilderscrolling(java.lang.String scrolling)Specify whether or not the frame should have scrollbars.IFrameBuildersrc(SafeUri src)A URI designating the initial frame contents.IFrameBuildersrc(java.lang.String src)A URI designating the initial frame contents.HtmlIFrameBuildertext(java.lang.String text)Append text within the node.-
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, isEndTagForbidden, style
-
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, title, trustedStart
-
-
-
-
Constructor Detail
-
DomIFrameBuilder
DomIFrameBuilder(DomBuilderImpl delegate)
-
-
Method Detail
-
frameBorder
public IFrameBuilder frameBorder(int frameBorder)
Description copied from interface:IFrameBuilderRequest frame borders.- Specified by:
frameBorderin interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
html
public HtmlIFrameBuilder html(SafeHtml html)
Description copied from interface:ElementBuilderBaseAppend html within the node.Once you append HTML to the element, you can no longer set attributes.
- Specified by:
htmlin interfaceElementBuilderBase<IFrameBuilder>- Specified by:
htmlin interfaceIFrameBuilder- Overrides:
htmlin classAbstractElementBuilderBase<IFrameBuilder>- Parameters:
html- the HTML to append- Returns:
- this builder
-
isChildElementSupported
public boolean isChildElementSupported()
Description copied from interface:ElementBuilderBaseCheck if child elements are supported.- Specified by:
isChildElementSupportedin interfaceElementBuilderBase<IFrameBuilder>- Overrides:
isChildElementSupportedin classAbstractElementBuilderBase<IFrameBuilder>- Returns:
- true if supported, false if not.
-
marginHeight
public IFrameBuilder marginHeight(int marginHeight)
Description copied from interface:IFrameBuilderFrame margin height, in pixels.- Specified by:
marginHeightin interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
marginWidth
public IFrameBuilder marginWidth(int marginWidth)
Description copied from interface:IFrameBuilderFrame margin width, in pixels.- Specified by:
marginWidthin interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
name
public IFrameBuilder name(java.lang.String name)
Description copied from interface:IFrameBuilderThe frame name (object of the target attribute).- Specified by:
namein interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
noResize
public IFrameBuilder noResize()
Description copied from interface:IFrameBuilderForbid user from resizing frame.- Specified by:
noResizein interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
scrolling
public IFrameBuilder scrolling(java.lang.String scrolling)
Description copied from interface:IFrameBuilderSpecify whether or not the frame should have scrollbars.- Specified by:
scrollingin interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
src
public IFrameBuilder src(SafeUri src)
Description copied from interface:IFrameBuilderA URI designating the initial frame contents.- Specified by:
srcin interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
src
public IFrameBuilder src(java.lang.String src)
Description copied from interface:IFrameBuilderA URI designating the initial frame contents.- Specified by:
srcin interfaceIFrameBuilder- See Also:
- W3C HTML Specification
-
text
public HtmlIFrameBuilder text(java.lang.String text)
Description copied from interface:ElementBuilderBaseAppend text within the node.Once you append text to the element, you can no longer set attributes.
A string-based implementation will escape the text to prevent HTML/javascript code from executing. DOM based implementations are not required to escape the text if they directly set the innerText of an element.
- Specified by:
textin interfaceElementBuilderBase<IFrameBuilder>- Specified by:
textin interfaceIFrameBuilder- Overrides:
textin classAbstractElementBuilderBase<IFrameBuilder>- Parameters:
text- the text to append- Returns:
- this builder
-
-