@Deprecated public class WebEmbedded extends io.jmix.ui.component.impl.AbstractComponent<com.vaadin.ui.Embedded> implements Embedded
| Modifier and Type | Class and Description |
|---|---|
protected static class |
WebEmbedded.EmptyStreamSource
Deprecated.
|
Embedded.Typeio.jmix.ui.component.Component.Alignment, io.jmix.ui.component.Component.BelongToFrame, io.jmix.ui.component.Component.Disposable, io.jmix.ui.component.Component.Editable, io.jmix.ui.component.Component.Focusable, io.jmix.ui.component.Component.HasCaption, io.jmix.ui.component.Component.HasDescription, io.jmix.ui.component.Component.HasIcon, io.jmix.ui.component.Component.HasXmlDescriptor, io.jmix.ui.component.Component.Wrapper| Modifier and Type | Field and Description |
|---|---|
protected CubaProperties |
cubaProperties
Deprecated.
|
protected java.util.Map<java.lang.String,java.lang.String> |
parameters
Deprecated.
|
protected com.vaadin.server.Resource |
resource
Deprecated.
|
protected Embedded.Type |
type
Deprecated.
|
| Constructor and Description |
|---|
WebEmbedded()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(java.lang.String name,
java.lang.String value)
Deprecated.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters()
Deprecated.
|
Embedded.Type |
getType()
Deprecated.
|
protected void |
provideType()
Deprecated.
|
void |
removeParameter(java.lang.String name)
Deprecated.
|
void |
resetSource()
Deprecated.
|
void |
setMIMEType(java.lang.String mt)
Deprecated.
|
void |
setRelativeSource(java.lang.String src)
Deprecated.
Allows to use relative source for Embedded.
|
void |
setSource(java.lang.String src)
Deprecated.
|
void |
setSource(java.lang.String fileName,
io.jmix.ui.download.DownloadDataProvider dataProvider)
Deprecated.
|
void |
setSource(java.lang.String fileName,
java.io.InputStream src)
Deprecated.
|
void |
setSource(java.net.URL src)
Deprecated.
|
void |
setType(Embedded.Type t)
Deprecated.
|
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, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddStyleName, 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, withUnwrappedCompositiongetDescription, setDescriptionprotected java.util.Map<java.lang.String,java.lang.String> parameters
protected Embedded.Type type
protected com.vaadin.server.Resource resource
@Autowired protected CubaProperties cubaProperties
public void setSource(@Nullable
java.net.URL src)
public void setSource(@Nullable
java.lang.String src)
public void setSource(java.lang.String fileName,
@Nullable
java.io.InputStream src)
public void setSource(java.lang.String fileName,
@Nullable
io.jmix.ui.download.DownloadDataProvider dataProvider)
public void setRelativeSource(@Nullable
java.lang.String src)
EmbeddedExample:
Put the file hello.html with some content into ${catalina.base}/webapps/yourAppName/VAADIN/.
embedded.setRelativeSource("VAADIN/hello.html");
setRelativeSource in interface Embeddedsrc - relative source of content to displaypublic void resetSource()
resetSource in interface Embeddedpublic void setMIMEType(java.lang.String mt)
setMIMEType in interface Embeddedpublic void addParameter(java.lang.String name,
java.lang.String value)
addParameter in interface Embeddedpublic void removeParameter(java.lang.String name)
removeParameter in interface Embeddedpublic java.util.Map<java.lang.String,java.lang.String> getParameters()
getParameters in interface Embeddedpublic void setType(Embedded.Type t)
public Embedded.Type getType()
protected void provideType()