Package com.storedobject.ui
Class Audio
java.lang.Object
com.vaadin.flow.component.Component
com.storedobject.vaadin.Media
com.storedobject.vaadin.Audio
com.storedobject.ui.Audio
- All Implemented Interfaces:
HasSize
,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
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Audio
createFromMedia
(String... names) Create an audio from the media file.Methods inherited from class com.storedobject.vaadin.Media
addSource, addSource, clear, onAttach, onDetach, setSource, setSource, showControls
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, 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, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
Audio
public Audio()Constructor. -
Audio
Constructor.- Parameters:
streamData
- Stream data from which media streamAll to be pulled
-
Audio
Constructor.- Parameters:
streamDataId
- Id of the streamAll data from which media streamAll to be obtained
-
Audio
public Audio(com.vaadin.flow.server.StreamResource... resources) Constructor.- Parameters:
resources
- Sources to be set
-
Audio
-
Audio
Constructor.- Parameters:
mediaFile
- Media file containing the audio
-
-
Method Details
-
createFromMedia
-