public class DomIFrameBuilder extends DomElementBuilderBase<IFrameBuilder,IFrameElement> implements IFrameBuilder
IFrameBuilder
.Modifier and Type | Method and Description |
---|---|
IFrameBuilder |
frameBorder(int frameBorder)
Request frame borders.
|
HtmlIFrameBuilder |
html(SafeHtml html)
Append html within the node.
|
boolean |
isChildElementSupported()
Check if child elements are supported.
|
IFrameBuilder |
marginHeight(int marginHeight)
Frame margin height, in pixels.
|
IFrameBuilder |
marginWidth(int marginWidth)
Frame margin width, in pixels.
|
IFrameBuilder |
name(String name)
The frame name (object of the target attribute).
|
IFrameBuilder |
noResize()
Forbid user from resizing frame.
|
IFrameBuilder |
scrolling(String scrolling)
Specify whether or not the frame should have scrollbars.
|
IFrameBuilder |
src(SafeUri src)
A URI designating the initial frame contents.
|
IFrameBuilder |
src(String src)
A URI designating the initial frame contents.
|
HtmlIFrameBuilder |
text(String text)
Append text within the node.
|
assertCanAddAttribute, attribute, attribute, className, dir, draggable, 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
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
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
public IFrameBuilder frameBorder(int frameBorder)
IFrameBuilder
frameBorder
in interface IFrameBuilder
public HtmlIFrameBuilder html(SafeHtml html)
ElementBuilderBase
Once you append HTML to the element, you can no longer set attributes.
html
in interface ElementBuilderBase<IFrameBuilder>
html
in interface IFrameBuilder
html
in class AbstractElementBuilderBase<IFrameBuilder>
html
- the HTML to appendpublic boolean isChildElementSupported()
ElementBuilderBase
isChildElementSupported
in interface ElementBuilderBase<IFrameBuilder>
isChildElementSupported
in class AbstractElementBuilderBase<IFrameBuilder>
public IFrameBuilder marginHeight(int marginHeight)
IFrameBuilder
marginHeight
in interface IFrameBuilder
public IFrameBuilder marginWidth(int marginWidth)
IFrameBuilder
marginWidth
in interface IFrameBuilder
public IFrameBuilder name(String name)
IFrameBuilder
name
in interface IFrameBuilder
public IFrameBuilder noResize()
IFrameBuilder
noResize
in interface IFrameBuilder
public IFrameBuilder scrolling(String scrolling)
IFrameBuilder
scrolling
in interface IFrameBuilder
public IFrameBuilder src(SafeUri src)
IFrameBuilder
src
in interface IFrameBuilder
public IFrameBuilder src(String src)
IFrameBuilder
src
in interface IFrameBuilder
public HtmlIFrameBuilder text(String text)
ElementBuilderBase
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.
text
in interface ElementBuilderBase<IFrameBuilder>
text
in interface IFrameBuilder
text
in class AbstractElementBuilderBase<IFrameBuilder>
text
- the text to appendCopyright © 2018. All rights reserved.