-
- 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
public interface UiMediaPlayer extends UiMediaWidget, UiNativeWidget
UiMediaWidget
that represents a media-player. It can both play audio or videomedia
and has controls for the end-user (volume, time-bar, fullscreen, mute, etc.).- Since:
- 1.0.0
-
-
Method Summary
Static Methods Modifier and Type Method Description static UiMediaPlayer
of(UiMedia media)
-
Methods 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 Detail
-
of
static UiMediaPlayer of(UiMedia media)
- Parameters:
media
- the optional initialUiMedia
.- Returns:
- the new
UiMediaPlayer
.
-
-