- 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, setPosition
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeFeaturePlayback
isPlaying, pause, play, setPlaying
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeFeatureVolume
getVolume, isMuted, mute, setMuted, setVolume, unmute
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadAttached
isAttached
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeReadId
getId
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteId
setId
Methods inherited from interface io.github.mmm.ui.api.attribute.AttributeWriteTooltip
getTooltip, setTooltip
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
Methods inherited from interface io.github.mmm.ui.api.widget.media.UiMediaWidget
getMedia, setMedia
Methods 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
.
-