public class MediaMarkerEvent extends ActionEvent
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.MediaPlayer.onMarkerProperty(),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private Pair<java.lang.String,Duration> |
marker |
private static long |
serialVersionUID |
ACTION, ANYconsumed, eventType, NULL_SOURCE_TARGET, target| Constructor and Description |
|---|
MediaMarkerEvent(Pair<java.lang.String,Duration> marker) |
| Modifier and Type | Method and Description |
|---|---|
Pair<java.lang.String,Duration> |
getMarker()
Retrieves the marker the event represents.
|
copyFor, getEventTypeprivate static final long serialVersionUID