Class GwtJ2clMediaPlayerPeer
java.lang.Object
dev.webfx.kit.mapper.peers.javafxmedia.spi.gwtj2cl.GwtJ2clMediaPlayerPeer
- All Implemented Interfaces:
MediaPlayerPeer
- Author:
- Bruno Salmon
-
Property Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
elemental2.dom.HTMLMediaElement
void
pause()
void
play()
void
void
setAudioSpectrumInterval
(double value) void
void
setAudioSpectrumNumBands
(int value) void
setCycleCount
(int cycleCount) void
setMediaElement
(elemental2.dom.HTMLMediaElement mediaElement) void
setMute
(boolean mute) Sets the value of themute
property.void
setVolume
(double volume) void
stop()
-
Property Details
-
mute
- Specified by:
muteProperty
in interfaceMediaPlayerPeer
- See Also:
-
mediaPlayerCurrentTime
- Specified by:
mediaPlayerCurrentTimeProperty
in interfaceMediaPlayerPeer
- See Also:
-
-
Constructor Details
-
GwtJ2clMediaPlayerPeer
-
-
Method Details
-
setMediaElement
public void setMediaElement(elemental2.dom.HTMLMediaElement mediaElement) -
getMediaElement
public elemental2.dom.HTMLMediaElement getMediaElement() -
getCurrentTime
- Specified by:
getCurrentTime
in interfaceMediaPlayerPeer
-
setCycleCount
public void setCycleCount(int cycleCount) - Specified by:
setCycleCount
in interfaceMediaPlayerPeer
-
play
public void play()- Specified by:
play
in interfaceMediaPlayerPeer
-
pause
public void pause()- Specified by:
pause
in interfaceMediaPlayerPeer
-
stop
public void stop()- Specified by:
stop
in interfaceMediaPlayerPeer
-
dispose
public void dispose()- Specified by:
dispose
in interfaceMediaPlayerPeer
-
setVolume
public void setVolume(double volume) - Specified by:
setVolume
in interfaceMediaPlayerPeer
-
setMute
public void setMute(boolean mute) Sets the value of themute
property.- Specified by:
setMute
in interfaceMediaPlayerPeer
- Property description:
- Parameters:
mute
- the value for themute
property- See Also:
-
muteProperty
- Specified by:
muteProperty
in interfaceMediaPlayerPeer
- Returns:
- the
mute
property - See Also:
-
mediaPlayerCurrentTimeProperty
- Specified by:
mediaPlayerCurrentTimeProperty
in interfaceMediaPlayerPeer
- Returns:
- the
mediaPlayerCurrentTime
property
-
setAudioSpectrumInterval
public void setAudioSpectrumInterval(double value) - Specified by:
setAudioSpectrumInterval
in interfaceMediaPlayerPeer
-
setAudioSpectrumNumBands
public void setAudioSpectrumNumBands(int value) - Specified by:
setAudioSpectrumNumBands
in interfaceMediaPlayerPeer
-
setAudioSpectrumListener
- Specified by:
setAudioSpectrumListener
in interfaceMediaPlayerPeer
-
seek
- Specified by:
seek
in interfaceMediaPlayerPeer
-