public class HtmlIFrameBuilder extends HtmlElementBuilderBase<IFrameBuilder> implements IFrameBuilder
IFrameBuilder
.Constructor and Description |
---|
HtmlIFrameBuilder(HtmlBuilderImpl delegate) |
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(java.lang.String name)
The frame name (object of the target attribute).
|
IFrameBuilder |
noResize()
Forbid user from resizing frame.
|
IFrameBuilder |
scrolling(java.lang.String scrolling)
Specify whether or not the frame should have scrollbars.
|
IFrameBuilder |
src(SafeUri src)
A URI designating the initial frame contents.
|
IFrameBuilder |
src(java.lang.String src)
A URI designating the initial frame contents.
|
HtmlIFrameBuilder |
text(java.lang.String text)
Append text within the node.
|
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
HtmlIFrameBuilder(HtmlBuilderImpl delegate)
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(java.lang.String name)
IFrameBuilder
name
in interface IFrameBuilder
public IFrameBuilder noResize()
IFrameBuilder
noResize
in interface IFrameBuilder
public IFrameBuilder scrolling(java.lang.String scrolling)
IFrameBuilder
scrolling
in interface IFrameBuilder
public IFrameBuilder src(SafeUri src)
IFrameBuilder
src
in interface IFrameBuilder
public IFrameBuilder src(java.lang.String src)
IFrameBuilder
src
in interface IFrameBuilder
public HtmlIFrameBuilder text(java.lang.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 append