| 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 MediaPlayer |
MediaViewBuilder.mediaPlayer |
| Modifier and Type | Field and Description |
|---|---|
private ObjectProperty<MediaPlayer> |
MediaView.mediaPlayer
The
mediaPlayer whose output will be handled by this view. |
(package private) java.lang.ref.WeakReference<MediaPlayer> |
MediaTimerTask.playerRef |
private static java.util.List<java.lang.ref.WeakReference<MediaPlayer>> |
MediaPlayerShutdownHook.playerRefs |
| Modifier and Type | Method and Description |
|---|---|
MediaPlayer |
MediaPlayerBuilder.build()
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()
The
mediaPlayer whose output will be handled by this view. |
| Modifier and Type | Method and Description |
|---|---|
static void |
MediaPlayerShutdownHook.addMediaPlayer(MediaPlayer player) |
void |
MediaPlayerBuilder.applyTo(MediaPlayer x) |
B |
MediaViewBuilder.mediaPlayer(MediaPlayer x)
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 |
|---|
MediaTimerTask(MediaPlayer player) |
MediaView(MediaPlayer mediaPlayer)
Creates a
MediaView instance associated with the specified
MediaPlayer. |
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.