Package | Description |
---|---|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
Modifier and Type | Method and Description |
---|---|
MediaPlayer |
MediaPlayerBuilder.build()
Deprecated.
Make an instance of
MediaPlayer based on the properties set on this builder. |
MediaPlayer |
MediaView.getMediaPlayer()
Retrieves the
MediaPlayer whose output is being handled by
this view. |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<MediaPlayer> |
MediaView.mediaPlayerProperty() |
Modifier and Type | Method and Description |
---|---|
void |
MediaPlayerBuilder.applyTo(MediaPlayer x)
Deprecated.
|
B |
MediaViewBuilder.mediaPlayer(MediaPlayer x)
Deprecated.
Set the value of the
mediaPlayer property for the instance constructed by this builder. |
void |
MediaView.setMediaPlayer(MediaPlayer value)
Sets the
MediaPlayer whose output will be handled by this view. |
Constructor and Description |
---|
MediaView(MediaPlayer mediaPlayer)
Creates a
MediaView instance associated with the specified
MediaPlayer . |
Copyright © 2020. All rights reserved.