| 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. |
private EventHandler<MediaErrorEvent> |
MediaViewBuilder.onError |
private ObjectProperty<EventHandler<MediaErrorEvent>> |
MediaView.onError
Event handler to be invoked whenever an error occurs on this
MediaView. |
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
B |
MediaViewBuilder.onError(EventHandler<MediaErrorEvent> x)
Set the value of the
onError property for the instance constructed by this builder. |
void |
MediaView.setOnError(EventHandler<MediaErrorEvent> value)
Sets the error event handler.
|
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.