Top Description Fields Constructors Methods
com.sun.media.jfxmedia.events

public Class NewFrameEvent

extends PlayerEvent
Class Inheritance
Imports
com.sun.media.jfxmedia.control.VideoDataBuffer

Event indicating that a new video frame has been decoded.

Field Summary

Modifier and TypeField and Description
private VideoDataBuffer

Constructor Summary

AccessConstructor and Description
public
NewFrameEvent(VideoDataBuffer
The video frame.
buffer
)

The constructor for the VideoDataBuffer.

Method Summary

Modifier and TypeMethod and Description
public VideoDataBuffer

Returns:

The event's data.
getFrameData
()

The video buffer.

Field Detail

frameDataback to summary
private VideoDataBuffer frameData

Constructor Detail

NewFrameEventback to summary
public NewFrameEvent(VideoDataBuffer buffer)

The constructor for the VideoDataBuffer.

Parameters
buffer:VideoDataBuffer

The video frame.

Exceptions
IllegalArgumentException:
if buffer is null.

Method Detail

getFrameDataback to summary
public VideoDataBuffer getFrameData()

The video buffer.

Returns:VideoDataBuffer

The event's data.