@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public final class MediaBuilder extends java.lang.Object implements Builder<Media>
Media
Modifier and Type | Field and Description |
---|---|
private int |
__set
Deprecated.
|
private java.lang.Runnable |
onError
Deprecated.
|
private java.lang.String |
source
Deprecated.
|
private java.util.Collection<? extends Track> |
tracks
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
MediaBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
applyTo(Media x)
Deprecated.
|
Media |
build()
Deprecated.
Make an instance of
Media based on the properties set on this builder. |
static MediaBuilder |
create()
Deprecated.
Creates a new instance of MediaBuilder.
|
MediaBuilder |
onError(java.lang.Runnable x)
Deprecated.
Set the value of the
onError property for the instance constructed by this builder. |
MediaBuilder |
source(java.lang.String x)
Deprecated.
Set the value of the
source property for the instance constructed by this builder. |
MediaBuilder |
tracks(java.util.Collection<? extends Track> x)
Deprecated.
Add the given items to the List of items in the
tracks property for the instance constructed by this builder. |
MediaBuilder |
tracks(Track... x)
Deprecated.
Add the given items to the List of items in the
tracks property for the instance constructed by this builder. |
private int __set
private java.lang.Runnable onError
private java.lang.String source
private java.util.Collection<? extends Track> tracks
public static MediaBuilder create()
public void applyTo(Media x)
public MediaBuilder onError(java.lang.Runnable x)
onError
property for the instance constructed by this builder.public MediaBuilder source(java.lang.String x)
source
property for the instance constructed by this builder.public MediaBuilder tracks(java.util.Collection<? extends Track> x)
tracks
property for the instance constructed by this builder.public MediaBuilder tracks(Track... x)
tracks
property for the instance constructed by this builder.