Package io.jmix.ui.component.impl
Class BrowserFrameImpl
java.lang.Object
io.jmix.ui.component.impl.AbstractComponent<T>
io.jmix.ui.component.impl.AbstractResourceView<JmixBrowserFrame>
io.jmix.ui.component.impl.BrowserFrameImpl
- All Implemented Interfaces:
AttachNotifier,BrowserFrame,Component,Component.BelongToFrame,Component.HasCaption,Component.HasDescription,Component.HasIcon,Component.HasXmlDescriptor,Component.Wrapper,HasContextHelp,HasDebugId,HasHtmlCaption,HasHtmlDescription,HasHtmlSanitizer,ResourceView
public class BrowserFrameImpl
extends AbstractResourceView<JmixBrowserFrame>
implements BrowserFrame
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.BrowserFrame
BrowserFrame.Allow, BrowserFrame.ReferrerPolicy, BrowserFrame.SandboxNested classes/interfaces inherited from interface io.jmix.ui.component.Component
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperNested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEventNested classes/interfaces inherited from interface io.jmix.ui.component.ResourceView
ResourceView.HasMimeType, ResourceView.HasStreamSettings, ResourceView.SourceChangeEvent -
Field Summary
Fields inherited from class io.jmix.ui.component.impl.AbstractResourceView
resource, resourceUpdateHandlerFields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentFields inherited from interface io.jmix.ui.component.BrowserFrame
NAMEFields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JmixBrowserFramegetAllow()voidsetAllow(BrowserFrame.Allow allow) Sets value of the attribute allow.voidSets value of the attribute allow.voidsetAllow(EnumSet<BrowserFrame.Allow> allowSet) Sets value of the attribute allow.voidsetReferrerPolicy(BrowserFrame.ReferrerPolicy referrerPolicy) Sets value of the attribute referrerpolicy.voidsetReferrerPolicy(String value) Sets value of the attribute referrerpolicy.voidsetSandbox(BrowserFrame.Sandbox sandbox) Sets value of the attribute sandbox.voidsetSandbox(String value) Sets value of the attribute sandbox.voidsetSandbox(EnumSet<BrowserFrame.Sandbox> sandboxSet) Sets value of the attribute sandbox.voidSets value of the attribute srcdoc.Methods inherited from class io.jmix.ui.component.impl.AbstractResourceView
addSourceChangeListener, getAlternateText, getSource, setAlternateText, setSource, setSource, updateValueMethods inherited from class io.jmix.ui.component.impl.AbstractComponent
addAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.component.BrowserFrame
resetMethods inherited from interface io.jmix.ui.component.Component
addStyleName, 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, withUnwrappedCompositionMethods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaptionMethods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescriptionMethods inherited from interface io.jmix.ui.component.HasContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabledMethods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtmlMethods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabledMethods inherited from interface io.jmix.ui.component.ResourceView
addSourceChangeListener, getAlternateText, getSource, setAlternateText, setSource, setSource
-
Constructor Details
-
BrowserFrameImpl
public BrowserFrameImpl()
-
-
Method Details
-
createComponent
-
getSandbox
- Specified by:
getSandboxin interfaceBrowserFrame- Returns:
- value of the attribute sandbox
-
setSandbox
Description copied from interface:BrowserFrameSets value of the attribute sandbox. This attribute applies extra restrictions to the content in the frame.- Specified by:
setSandboxin interfaceBrowserFrame- Parameters:
value- sandbox
-
setSandbox
Description copied from interface:BrowserFrameSets value of the attribute sandbox.- Specified by:
setSandboxin interfaceBrowserFrame- Parameters:
sandbox- sandbox
-
setSandbox
Description copied from interface:BrowserFrameSets value of the attribute sandbox.- Specified by:
setSandboxin interfaceBrowserFrame- Parameters:
sandboxSet- EnumSet ofBrowserFrame.Sandbox
-
setSrcdoc
Description copied from interface:BrowserFrameSets value of the attribute srcdoc. Inline HTML to embed, overriding the src attribute. You can also specify a value for the attribute srcdoc using attribute srcdocFile in xml by passing the path to the file with HTML code.- Specified by:
setSrcdocin interfaceBrowserFrame- Parameters:
value- inline HTML code
-
getSrcdoc
- Specified by:
getSrcdocin interfaceBrowserFrame- Returns:
- value of the attribute srcdoc
-
setAllow
Description copied from interface:BrowserFrameSets value of the attribute allow. Specifies a feature policy for the iframe.- Specified by:
setAllowin interfaceBrowserFrame- Parameters:
value- allow
-
setAllow
Description copied from interface:BrowserFrameSets value of the attribute allow. Specifies a feature policy for the iframe.- Specified by:
setAllowin interfaceBrowserFrame- Parameters:
allow- allow
-
setAllow
Description copied from interface:BrowserFrameSets value of the attribute allow. The value of the attribute can be a space-separated list of allow features.- Specified by:
setAllowin interfaceBrowserFrame- Parameters:
allowSet- EnumSet ofBrowserFrame.Allow
-
getAllow
- Specified by:
getAllowin interfaceBrowserFrame- Returns:
- value of the attribute allow
-
getReferrerPolicy
- Specified by:
getReferrerPolicyin interfaceBrowserFrame- Returns:
- value of the attribute referrerpolicy
-
setReferrerPolicy
Description copied from interface:BrowserFrameSets value of the attribute referrerpolicy. This attribute indicates which referrer to send when fetching the frame's resource- Specified by:
setReferrerPolicyin interfaceBrowserFrame- Parameters:
value- referrerpolicy
-
setReferrerPolicy
Description copied from interface:BrowserFrameSets value of the attribute referrerpolicy.- Specified by:
setReferrerPolicyin interfaceBrowserFrame- Parameters:
referrerPolicy- referrerpolicy
-