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.Sandbox
Nested 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.Wrapper
Nested classes/interfaces inherited from interface io.jmix.ui.component.HasContextHelp
HasContextHelp.ContextHelpIconClickEvent
Nested 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, resourceUpdateHandler
Fields inherited from class io.jmix.ui.component.impl.AbstractComponent
alignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parent
Fields inherited from interface io.jmix.ui.component.BrowserFrame
NAME
Fields inherited from interface io.jmix.ui.component.Component
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected JmixBrowserFrame
getAllow()
void
setAllow
(BrowserFrame.Allow allow) Sets value of the attribute allow.void
Sets value of the attribute allow.void
setAllow
(EnumSet<BrowserFrame.Allow> allowSet) Sets value of the attribute allow.void
setReferrerPolicy
(BrowserFrame.ReferrerPolicy referrerPolicy) Sets value of the attribute referrerpolicy.void
setReferrerPolicy
(String value) Sets value of the attribute referrerpolicy.void
setSandbox
(BrowserFrame.Sandbox sandbox) Sets value of the attribute sandbox.void
setSandbox
(String value) Sets value of the attribute sandbox.void
setSandbox
(EnumSet<BrowserFrame.Sandbox> sandboxSet) Sets value of the attribute sandbox.void
Sets value of the attribute srcdoc.Methods inherited from class io.jmix.ui.component.impl.AbstractResourceView
addSourceChangeListener, getAlternateText, getSource, setAlternateText, setSource, setSource, updateValue
Methods 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, withUnwrappedComposition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.ui.component.BrowserFrame
reset
Methods 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, withUnwrappedComposition
Methods inherited from interface io.jmix.ui.component.Component.HasCaption
getCaption, setCaption
Methods inherited from interface io.jmix.ui.component.Component.HasDescription
getDescription, setDescription
Methods inherited from interface io.jmix.ui.component.HasContextHelp
getContextHelpIconClickHandler, getContextHelpText, isContextHelpTextHtmlEnabled, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled
Methods inherited from interface io.jmix.ui.component.HasHtmlCaption
isCaptionAsHtml, setCaptionAsHtml
Methods inherited from interface io.jmix.ui.component.HasHtmlDescription
isDescriptionAsHtml, setDescriptionAsHtml
Methods inherited from interface io.jmix.ui.component.HasHtmlSanitizer
isHtmlSanitizerEnabled, setHtmlSanitizerEnabled
Methods 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:
getSandbox
in interfaceBrowserFrame
- Returns:
- value of the attribute sandbox
-
setSandbox
Description copied from interface:BrowserFrame
Sets value of the attribute sandbox. This attribute applies extra restrictions to the content in the frame.- Specified by:
setSandbox
in interfaceBrowserFrame
- Parameters:
value
- sandbox
-
setSandbox
Description copied from interface:BrowserFrame
Sets value of the attribute sandbox.- Specified by:
setSandbox
in interfaceBrowserFrame
- Parameters:
sandbox
- sandbox
-
setSandbox
Description copied from interface:BrowserFrame
Sets value of the attribute sandbox.- Specified by:
setSandbox
in interfaceBrowserFrame
- Parameters:
sandboxSet
- EnumSet ofBrowserFrame.Sandbox
-
setSrcdoc
Description copied from interface:BrowserFrame
Sets 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:
setSrcdoc
in interfaceBrowserFrame
- Parameters:
value
- inline HTML code
-
getSrcdoc
- Specified by:
getSrcdoc
in interfaceBrowserFrame
- Returns:
- value of the attribute srcdoc
-
setAllow
Description copied from interface:BrowserFrame
Sets value of the attribute allow. Specifies a feature policy for the iframe.- Specified by:
setAllow
in interfaceBrowserFrame
- Parameters:
value
- allow
-
setAllow
Description copied from interface:BrowserFrame
Sets value of the attribute allow. Specifies a feature policy for the iframe.- Specified by:
setAllow
in interfaceBrowserFrame
- Parameters:
allow
- allow
-
setAllow
Description copied from interface:BrowserFrame
Sets value of the attribute allow. The value of the attribute can be a space-separated list of allow features.- Specified by:
setAllow
in interfaceBrowserFrame
- Parameters:
allowSet
- EnumSet ofBrowserFrame.Allow
-
getAllow
- Specified by:
getAllow
in interfaceBrowserFrame
- Returns:
- value of the attribute allow
-
getReferrerPolicy
- Specified by:
getReferrerPolicy
in interfaceBrowserFrame
- Returns:
- value of the attribute referrerpolicy
-
setReferrerPolicy
Description copied from interface:BrowserFrame
Sets value of the attribute referrerpolicy. This attribute indicates which referrer to send when fetching the frame's resource- Specified by:
setReferrerPolicy
in interfaceBrowserFrame
- Parameters:
value
- referrerpolicy
-
setReferrerPolicy
Description copied from interface:BrowserFrame
Sets value of the attribute referrerpolicy.- Specified by:
setReferrerPolicy
in interfaceBrowserFrame
- Parameters:
referrerPolicy
- referrerpolicy
-