|
Spec-Zone .ru
спецификации, руководства, описания, API
|
public class MediaErrorEvent extends Event
Event representing the occurrence of an error in handling media.| Modifier and Type | Field and Description |
|---|---|
static EventType<MediaErrorEvent> |
MEDIA_ERROR
The only valid event type for the
MediaErrorEvent. |
| Modifier and Type | Method and Description |
|---|---|
MediaErrorEvent |
copyFor(java.lang.Object newSource,
EventTarget newTarget)
Creates and returns a copy of this event with the specified event source
and target.
|
EventType<MediaErrorEvent> |
getEventType()
Gets the event type of this event.
|
MediaException |
getMediaError()
Retrieve the error associated with this event.
|
java.lang.String |
toString()
Retrieve a
String representation of the event. |
public static final EventType<MediaErrorEvent> MEDIA_ERROR
MediaErrorEvent.public MediaException getMediaError()
MediaExceptionpublic java.lang.String toString()
String representation of the event.toString in class java.util.EventObjectpublic MediaErrorEvent copyFor(java.lang.Object newSource, EventTarget newTarget)
Eventnull, it is
replaced by the NULL_SOURCE_TARGET value.public EventType<MediaErrorEvent> getEventType()
EventEvent
class can have different event types. These event types further specify
what kind of event occurred.getEventType in class EventCopyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved. Use is subject to .