Uses of Class
javafx.scene.media.MediaErrorEvent
Package
Description
Provides the set of classes for integrating audio and video into Java FX
Applications.
-
Uses of MediaErrorEvent in javafx.scene.media
Modifier and TypeFieldDescriptionstatic final EventType<MediaErrorEvent>
MediaErrorEvent.MEDIA_ERROR
The only valid event type for theMediaErrorEvent
.Modifier and TypeMethodDescriptionMediaErrorEvent.copyFor
(Object newSource, EventTarget newTarget) Modifier and TypeMethodDescriptionMediaErrorEvent.getEventType()
final EventHandler<MediaErrorEvent>
MediaView.getOnError()
Retrieves the error event handler.MediaView.onErrorProperty()
Event handler to be invoked whenever an error occurs on thisMediaView
.Modifier and TypeMethodDescriptionfinal void
MediaView.setOnError
(EventHandler<MediaErrorEvent> value) Sets the error event handler.