- java.lang.Object
-
- java.util.EventObject
-
- javafx.event.Event
-
- javafx.event.ActionEvent
-
- javafx.scene.media.MediaMarkerEvent
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class MediaMarkerEvent extends ActionEvent
AnActionEvent
representing a media marker. A marker is added to aMedia
which is then played by aMediaPlayer
. The event is fired when the playback position reaches the position of the marker.- Since:
- JavaFX 2.0
- See Also:
MediaPlayer.onMarkerProperty()
, Serialized Form
-
-
Field Summary
-
Fields inherited from class javafx.event.ActionEvent
ACTION, ANY
-
Fields inherited from class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, target
-
Fields inherited from class java.util.EventObject
source
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<String,Duration>
getMarker()
Retrieves the marker the event represents.-
Methods inherited from class javafx.event.ActionEvent
copyFor, getEventType
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-