- All Superinterfaces:
AttributeFeatureMedia,AttributeFeaturePlayback,AttributeFeatureVolume,AttributeReadAttached,AttributeReadEnabled,AttributeReadId,AttributeReadValid,AttributeReadVisible,AttributeWriteEnabled,AttributeWriteId,AttributeWriteReadOnly,AttributeWriteTooltip,AttributeWriteVisible,io.github.mmm.event.EventSource<UiEvent,,UiEventListener> UiMediaWidget,UiNativeWidget,UiRegularWidget,UiWidget
UiMediaWidget that represents a media-player. It can both play audio or video media and has
controls for the end-user (volume, time-bar, fullscreen, mute, etc.).- Since:
- 1.0.0
-
Method Summary
Static MethodsMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeFeatureMedia
getDuration, getPosition, setPositionMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeFeaturePlayback
isPlaying, pause, play, setPlayingMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeFeatureVolume
getVolume, isMuted, mute, setMuted, setVolume, unmuteMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadAttached
isAttachedMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getIdMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setIdMethods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltipMethods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListenerMethods inherited from interface io.github.mmm.ui.api.widget.media.UiMediaWidget
getMedia, setMediaMethods inherited from interface io.github.mmm.ui.api.widget.UiWidget
cast, dispose, getModificationTimestamp, getParent, getReadOnlyFixed, getStyles, isDisposed, isEnabled, isEnabled, isFocused, isModified, isReadOnly, isValid, isVisible, isVisible, reset, setEnabled, setEnabled, setFocused, setReadOnly, setReadOnlyFixed, setVisible, setVisible, validate, validate, validate, validateDown, validateUp
-
Method Details
-
of
- Parameters:
media- the optional initialUiMedia.- Returns:
- the new
UiMediaPlayer.
-