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 AudiocreateFromMedia(String... names) Create an audio from the media file.Methods inherited from class com.storedobject.vaadin.Media
addSource, addSource, clear, onAttach, onDetach, setSource, setSource, showControlsMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods 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, setWidthFullMethods 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
-