Uses of Class
com.vaadin.flow.server.AbstractStreamResource
-
Uses of AbstractStreamResource in com.vaadin.collaborationengine
Methods in com.vaadin.collaborationengine that return AbstractStreamResourceModifier and TypeMethodDescriptionCollaborationAvatarGroup.ImageProvider.getImageResource
(UserInfo user) Gets a stream resource that provides the avatar image for the given user.
-
Uses of AbstractStreamResource in com.vaadin.flow.component.avatar
Methods in com.vaadin.flow.component.avatar that return AbstractStreamResourceModifier and TypeMethodDescriptionAvatar.getImageResource()
Gets the image that was set for the avatar.
AvatarGroup.AvatarGroupItem.getImageResource()
Gets the image that was set for the avatar.
Methods in com.vaadin.flow.component.avatar with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionvoid
Avatar.setImageResource
(AbstractStreamResource resource) Sets the image for the avatar.
void
AvatarGroup.AvatarGroupItem.setImageResource
(AbstractStreamResource resource) Sets the image for the avatar.
-
Uses of AbstractStreamResource in com.vaadin.flow.component.html
Methods in com.vaadin.flow.component.html with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionvoid
HtmlObject.setData
(AbstractStreamResource data) Sets the
StreamResource
URL as "data" attribute value .void
Anchor.setHref
(AbstractStreamResource href) Sets the URL that this anchor links to with the URL of the given
StreamResource
.void
IFrame.setSrc
(AbstractStreamResource src) Sets the source of the iframe with a source URL with the URL of the given
StreamResource
.void
Image.setSrc
(AbstractStreamResource src) Sets the image URL with the URL of the given
StreamResource
.Constructors in com.vaadin.flow.component.html with parameters of type AbstractStreamResourceModifierConstructorDescriptionAnchor
(AbstractStreamResource href, String text) Creates an anchor component with the given text content and stream resource.
Creates a new
<object>
component with given data resource value.HtmlObject
(AbstractStreamResource data, Param... params) Creates a new
<object>
component with given data resource value and "param" components.HtmlObject
(AbstractStreamResource data, String type) Creates a new
<object>
component with given data resource and type value.HtmlObject
(AbstractStreamResource data, String type, Param... params) Creates a new
<object>
component with given data resource, type value and "param" components.Image
(AbstractStreamResource src, String alt) Creates an image with the given stream resource and an alternative text.
-
Uses of AbstractStreamResource in com.vaadin.flow.component.icon
Methods in com.vaadin.flow.component.icon with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionvoid
SvgIcon.setSrc
(AbstractStreamResource src) Defines the source of the icon from the given
StreamResource
The resource must contain a valid SVG element.void
SvgIcon.setSrc
(AbstractStreamResource src, String symbol) Defines the src and the symbol to be used in the icon.
Constructors in com.vaadin.flow.component.icon with parameters of type AbstractStreamResourceModifierConstructorDescriptionCreates an SVG icon with the given resource
SvgIcon
(AbstractStreamResource src, String symbol) Creates an SVG icon with the given resource
-
Uses of AbstractStreamResource in com.vaadin.flow.component.messages
Methods in com.vaadin.flow.component.messages that return AbstractStreamResourceModifier and TypeMethodDescriptionMessageListItem.getUserImageResource()
Gets the image resource of the message sender's avatar.
Methods in com.vaadin.flow.component.messages with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionvoid
MessageListItem.setUserImageResource
(AbstractStreamResource resource) Sets the image for the message sender's avatar.
-
Uses of AbstractStreamResource in com.vaadin.flow.dom
Methods in com.vaadin.flow.dom with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionElement.setAttribute
(String attribute, AbstractStreamResource resource) Sets the given attribute to the given
StreamResource
value.void
ElementStateProvider.setAttribute
(StateNode node, String attribute, AbstractStreamResource resource) Sets the given attribute to the given
StreamResource
value. -
Uses of AbstractStreamResource in com.vaadin.flow.dom.impl
Methods in com.vaadin.flow.dom.impl with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionvoid
AbstractTextElementStateProvider.setAttribute
(StateNode node, String attribute, AbstractStreamResource resource) void
BasicElementStateProvider.setAttribute
(StateNode node, String attribute, AbstractStreamResource receiver) void
ShadowRootStateProvider.setAttribute
(StateNode node, String attribute, AbstractStreamResource resource) -
Uses of AbstractStreamResource in com.vaadin.flow.internal.nodefeature
Methods in com.vaadin.flow.internal.nodefeature with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionvoid
ElementAttributeMap.setResource
(String attribute, AbstractStreamResource resource) Sets the given attribute to the given
StreamResource
value. -
Uses of AbstractStreamResource in com.vaadin.flow.server
Subclasses of AbstractStreamResource in com.vaadin.flow.serverModifier and TypeClassDescriptionclass
Represents a receiver for data upload from the client.
class
Represents dynamically generated data.
Methods in com.vaadin.flow.server with type parameters of type AbstractStreamResourceModifier and TypeMethodDescription<T extends AbstractStreamResource>
Optional<T>StreamResourceRegistry.getResource
(Class<T> type, URI uri) Get a registered resource of given type.
Methods in com.vaadin.flow.server that return AbstractStreamResourceModifier and TypeMethodDescriptionStreamRegistration.getResource()
Get the stream resource whose registration result is represented by this
StreamRegistration
instance.AbstractStreamResource.setCacheTime
(long cacheTime) Set cache time in millis.
Methods in com.vaadin.flow.server that return types with arguments of type AbstractStreamResourceModifier and TypeMethodDescriptionStreamResourceRegistry.getResource
(URI uri) Get a registered resource for given
URI
.Methods in com.vaadin.flow.server with parameters of type AbstractStreamResourceModifier and TypeMethodDescriptionStreamResourceRegistry.getTargetURI
(AbstractStreamResource resource) Returns the URI path to the given resource in the context of this registry (relevant in portlet context).
static URI
StreamResourceRegistry.getURI
(AbstractStreamResource resource) Gets the URI for the given
resource
.StreamResourceRegistry.registerResource
(AbstractStreamResource resource) Registers a stream resource in the session and returns registration handler.