public static class AsyncMedia.MediaErrorEvent extends ActionEvent
ActionEvent.Type
Constructor and Description |
---|
MediaErrorEvent(Media source,
AsyncMedia.MediaException error)
Creates a new error event with the given exception.
|
Modifier and Type | Method and Description |
---|---|
AsyncMedia.MediaException |
getMediaException()
Gets the exception associated with this event.
|
consume, getActualComponent, getCommand, getComponent, getDraggedComponent, getDropTarget, getEventType, getKeyEvent, getProgress, getSource, getX, getY, isConsumed, isLongEvent, isPointerPressedDuringDrag, setPointerPressedDuringDrag
public MediaErrorEvent(Media source, AsyncMedia.MediaException error)
source
- error
- public AsyncMedia.MediaException getMediaException()