APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.scene.media

public final Class VideoTrack

extends Track
Class Inheritance
Imports
java.util.Map

A Track that describes a video track. This will usually be the unique visual track in an audiovisual media resource.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
private int
height

The height in pixels of the video contained in this video track.

private int
width

The width in pixels of the video contained in this video track.

Constructor Summary

AccessConstructor and Description
pack-priv
VideoTrack(long trackID, Map<String, Object> metadata)

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

the track height.
getHeight
()

Retrieves the height of the track.

public final int

Returns:

the track width.
getWidth
()

Retrieves the width of the track.

Inherited from javafx.scene.media.Track:
getLocalegetMetadatagetNamegetTrackIDtoString

Field Detail

heightback to summary
private int height

The height in pixels of the video contained in this video track.

widthback to summary
private int width

The width in pixels of the video contained in this video track.

Constructor Detail

VideoTrackback to summary
pack-priv VideoTrack(long trackID, Map<String, Object> metadata)

Method Detail

getHeightback to summary
public final int getHeight()

Retrieves the height of the track.

Returns:int

the track height.

getWidthback to summary
public final int getWidth()

Retrieves the width of the track.

Returns:int

the track width.