Top Fields Constructors Methods
javafx.scene.media

pack-priv Class MediaTimerTask

Located in compilation unit of javafx.scene.media.MediaPlayer.

extends TimerTask
Class Inheritance

Field Summary

Modifier and TypeField and Description
private Timer
private WeakReference<MediaPlayer>
pack-priv static final Object

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
run()

Implements abstract java.util.TimerTask.run.

Implements java.lang.Runnable.run.

The action to be performed by this timer task.

pack-priv void
pack-priv void
stop()

Inherited from java.util.TimerTask:
cancelscheduledExecutionTime

Field Detail

mediaTimerback to summary
private Timer mediaTimer
playerRefback to summary
private WeakReference<MediaPlayer> playerRef
timerLockback to summary
pack-priv static final Object timerLock

Constructor Detail

MediaTimerTaskback to summary
pack-priv MediaTimerTask(MediaPlayer player)

Method Detail

runback to summary
public void run()

Implements abstract java.util.TimerTask.run.

Implements java.lang.Runnable.run.

Doc from java.util.TimerTask.run.

The action to be performed by this timer task.

Annotations
@Override
startback to summary
pack-priv void start()
stopback to summary
pack-priv void stop()