Package | Description |
---|---|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
Modifier and Type | Field and Description |
---|---|
private Media |
MediaPlayer.media
The parent
Media object; read-only. |
private Media |
MediaPlayerBuilder.media
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Media |
MediaBuilder.build()
Deprecated.
Make an instance of
Media based on the properties set on this builder. |
Media |
MediaPlayer.getMedia()
Retrieves the
Media instance being played. |
Modifier and Type | Method and Description |
---|---|
void |
MediaBuilder.applyTo(Media x)
Deprecated.
|
MediaPlayerBuilder |
MediaPlayerBuilder.media(Media x)
Deprecated.
Set the value of the
media property for the instance constructed by this builder. |
Constructor and Description |
---|
MediaPlayer(Media media)
Create a player for a specific media.
|