Package com.storedobject.ui
Class IFrame
java.lang.Object
com.vaadin.flow.component.Component
com.storedobject.ui.IFrame
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,Serializable
- Direct Known Subclasses:
ProcessingLanguageVisualizer
@Tag("iframe")
public class IFrame
extends com.vaadin.flow.component.Component
implements com.vaadin.flow.component.HasSize
Component that represents an HTML iframe element. The source of the iframe should be set, and it may contain
references to media content using ${media} variable where media is the name of the media to set.
- Author:
- Syam
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIFrame()
Constructor.IFrame
(TextContent textContent) Constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setSourceDocument
(String sourceDocument) Set the source.void
setSourceDocument
(String sourceDocument, boolean parse) Set the source.Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
IFrame
public IFrame()Constructor. -
IFrame
Constructor.- Parameters:
sourceDocument
- Source document to set.
-
IFrame
Constructor.- Parameters:
textContent
- Text content from which source document to be set.
-
-
Method Details
-
setSourceDocument
Set the source.- Parameters:
sourceDocument
- Source document to set.
-
setSourceDocument
Set the source.- Parameters:
sourceDocument
- Source document to set.parse
- Whether to parse or not.
-