@StudioComponent(caption="BrowserFrame", category="Components", xmlElement="browserFrame", icon="io/jmix/ui/icon/component/browserFrame.svg", canvasIconSize=LARGE, canvasIcon="io/jmix/ui/icon/component/browserFrame_canvas.png", documentationURL="https://docs.jmix.io/jmix/%VERSION%/backoffice-ui/vcl/components/browser-frame.html") public interface BrowserFrame extends ResourceView
iframe element.| Modifier and Type | Interface and Description |
|---|---|
static class |
BrowserFrame.Allow
Standard values of the attribute allow of iframe HTML element.
|
static class |
BrowserFrame.ReferrerPolicy
Standard values of the attribute referrerpolicy of iframe HTML element.
|
static class |
BrowserFrame.Sandbox
Standard values of the attribute sandbox of iframe HTML element.
|
ResourceView.HasMimeType, ResourceView.HasStreamSettings, ResourceView.SourceChangeEventComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEvent| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAllow() |
java.lang.String |
getReferrerPolicy() |
java.lang.String |
getSandbox() |
java.lang.String |
getSrcdoc() |
default void |
reset()
Resets the component source and disposes of the corresponding resource.
|
void |
setAllow(BrowserFrame.Allow allow)
Sets value of the attribute allow.
|
void |
setAllow(java.util.EnumSet<BrowserFrame.Allow> allowSet)
Sets value of the attribute allow.
|
void |
setAllow(java.lang.String value)
Sets value of the attribute allow.
|
void |
setReferrerPolicy(BrowserFrame.ReferrerPolicy referrerPolicy)
Sets value of the attribute referrerpolicy.
|
void |
setReferrerPolicy(java.lang.String value)
Sets value of the attribute referrerpolicy.
|
void |
setSandbox(BrowserFrame.Sandbox sandbox)
Sets value of the attribute sandbox.
|
void |
setSandbox(java.util.EnumSet<BrowserFrame.Sandbox> sandboxSet)
Sets value of the attribute sandbox.
|
void |
setSandbox(java.lang.String value)
Sets value of the attribute sandbox.
|
void |
setSrcdoc(java.lang.String value)
Sets value of the attribute srcdoc.
|
addSourceChangeListener, getAlternateText, getSource, setAlternateText, setSource, setSourceaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledisCaptionAsHtml, setCaptionAsHtmlgetCaption, setCaptiongetDescription, setDescriptionisDescriptionAsHtml, setDescriptionAsHtmlisHtmlSanitizerEnabled, setHtmlSanitizerEnabledstatic final java.lang.String NAME
default void reset()
@Nullable java.lang.String getSandbox()
void setSandbox(@Nullable
java.lang.String value)
value - sandbox@StudioProperty(type=ENUMERATION, options={"allow-forms","allow-modals","allow-orientation-lock","allow-pointer-lock","allow-popups","allow-popups-to-escape-sandbox","allow-presentation","allow-same-origin","allow-scripts","allow-storage-access-by-user-activation","allow-top-navigation","allow-top-navigation-by-user-activation","allow-downloads-without-user-activation"}) void setSandbox(BrowserFrame.Sandbox sandbox)
sandbox - sandboxvoid setSandbox(@Nullable
java.util.EnumSet<BrowserFrame.Sandbox> sandboxSet)
sandboxSet - EnumSet of BrowserFrame.Sandbox@StudioProperty(name="srcdoc", type=LOCALIZED_STRING) void setSrcdoc(@Nullable java.lang.String value)
value - inline HTML code@Nullable java.lang.String getSrcdoc()
void setAllow(@Nullable
java.lang.String value)
value - allow@StudioProperty(type=ENUMERATION, options={"autoplay","camera","document-domain","encrypted-media","fullscreen","geolocation","microphone","midi","payment","vr"}) void setAllow(BrowserFrame.Allow allow)
allow - allowvoid setAllow(@Nullable
java.util.EnumSet<BrowserFrame.Allow> allowSet)
allowSet - EnumSet of BrowserFrame.Allow@Nullable java.lang.String getAllow()
@Nullable java.lang.String getReferrerPolicy()
void setReferrerPolicy(@Nullable
java.lang.String value)
value - referrerpolicy@StudioProperty(name="referrerpolicy", type=ENUMERATION, options={"no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","same-origin","strict-origin","strict-origin-when-cross-origin","unsafe-url"}) void setReferrerPolicy(BrowserFrame.ReferrerPolicy referrerPolicy)
referrerPolicy - referrerpolicy