Top Description Fields Constructors Methods
javafx.scene.media

public Class MediaMarkerEvent

extends ActionEvent
Class Inheritance
Imports
javafx.event.ActionEvent, javafx.util.Duration, .Pair

An ActionEvent representing a media marker. A marker is added to a Media which is then played by a MediaPlayer. The event is fired when the playback position reaches the position of the marker.
Since
JavaFX 2.0
See Also
MediaPlayer#onMarkerProperty()

Field Summary

Modifier and TypeField and Description
private Pair<String, Duration>
private static final long
Inherited from javafx.event.ActionEvent:
ACTIONANY

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public Pair<String, Duration>

Returns:

the value of the marker.
getMarker
()

Retrieves the marker the event represents.

Inherited from javafx.event.ActionEvent:
copyForgetEventType

Field Detail

markerback to summary
private Pair<String, Duration> marker
Annotations
@SuppressWarnings:doclint:missing
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javafx.event.ActionEvent.serialVersionUID.

Constructor Detail

MediaMarkerEventback to summary
pack-priv MediaMarkerEvent(Pair<String, Duration> marker)

Method Detail

getMarkerback to summary
public Pair<String, Duration> getMarker()

Retrieves the marker the event represents.

Returns:Pair<String, Duration>

the value of the marker.