Package | Description |
---|---|
javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
Modifier and Type | Field and Description |
---|---|
static EventType<MediaErrorEvent> |
MediaErrorEvent.MEDIA_ERROR
The only valid event type for the
MediaErrorEvent . |
Modifier and Type | Method and Description |
---|---|
MediaErrorEvent |
MediaErrorEvent.copyFor(Object newSource,
EventTarget newTarget) |
Modifier and Type | Method and Description |
---|---|
EventType<MediaErrorEvent> |
MediaErrorEvent.getEventType() |
EventHandler<MediaErrorEvent> |
MediaView.getOnError()
Retrieves the error event handler.
|
ObjectProperty<EventHandler<MediaErrorEvent>> |
MediaView.onErrorProperty()
Event handler to be invoked whenever an error occurs on this
MediaView . |
Modifier and Type | Method and Description |
---|---|
void |
MediaView.setOnError(EventHandler<MediaErrorEvent> value)
Sets the error event handler.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.