Event representing the occurrence of an error in handling media.
| Modifier and Type | Field and Description |
|---|---|
| private MediaException | error
The |
| public static final EventType | MEDIA_ERROR
The only valid event type for the |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | MediaErrorEvent(Object
the event source which sent the event source, EventTarget the event target to associate with the event target, MediaException the error which provoked the event error)Construct a new |
| Modifier and Type | Method and Description |
|---|---|
| public MediaErrorEvent | copyFor(Object
the new source of the copied event newSource, EventTarget the new target of the copied event newTarget)Overrides javafx. Creates and returns a copy of this event with the specified event source and target. |
| public EventType | |
| public MediaException | |
| public String |
| error | back to summary |
|---|---|
| private MediaException error The | |
| MEDIA_ERROR | back to summary |
|---|---|
| public static final EventType<MediaErrorEvent> MEDIA_ERROR The only valid event type for the | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MediaErrorEvent | back to summary |
|---|---|
| pack-priv MediaErrorEvent(Object source, EventTarget target, MediaException error) Construct a new
| |
| copyFor | back to summary |
|---|---|
| public MediaErrorEvent copyFor(Object newSource, EventTarget newTarget) Overrides javafx. Doc from javafx. Creates and returns a copy of this event with the specified event source
and target. If the source or target is set to
| |
| getEventType | back to summary |
|---|---|
| public EventType Overrides javafx. Doc from javafx. Gets the event type of this event. Objects of the same
| |
| getMediaError | back to summary |
|---|---|
| public MediaException getMediaError() Retrieve the error associated with this event.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Retrieve a
| |