@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") @Deprecated public final class MediaPlayerBuilder extends java.lang.Object implements Builder<MediaPlayer>
MediaPlayer| Modifier and Type | Field and Description |
|---|---|
private int |
__set
Deprecated.
|
private double |
audioSpectrumInterval
Deprecated.
|
private AudioSpectrumListener |
audioSpectrumListener
Deprecated.
|
private int |
audioSpectrumNumBands
Deprecated.
|
private int |
audioSpectrumThreshold
Deprecated.
|
private boolean |
autoPlay
Deprecated.
|
private double |
balance
Deprecated.
|
private int |
cycleCount
Deprecated.
|
private Media |
media
Deprecated.
|
private boolean |
mute
Deprecated.
|
private java.lang.Runnable |
onEndOfMedia
Deprecated.
|
private java.lang.Runnable |
onError
Deprecated.
|
private java.lang.Runnable |
onHalted
Deprecated.
|
private EventHandler<MediaMarkerEvent> |
onMarker
Deprecated.
|
private java.lang.Runnable |
onPaused
Deprecated.
|
private java.lang.Runnable |
onPlaying
Deprecated.
|
private java.lang.Runnable |
onReady
Deprecated.
|
private java.lang.Runnable |
onRepeat
Deprecated.
|
private java.lang.Runnable |
onStalled
Deprecated.
|
private java.lang.Runnable |
onStopped
Deprecated.
|
private double |
rate
Deprecated.
|
private Duration |
startTime
Deprecated.
|
private Duration |
stopTime
Deprecated.
|
private double |
volume
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MediaPlayerBuilder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
__set(int i)
Deprecated.
|
void |
applyTo(MediaPlayer x)
Deprecated.
|
MediaPlayerBuilder |
audioSpectrumInterval(double x)
Deprecated.
Set the value of the
audioSpectrumInterval property for the instance constructed by this builder. |
MediaPlayerBuilder |
audioSpectrumListener(AudioSpectrumListener x)
Deprecated.
Set the value of the
audioSpectrumListener property for the instance constructed by this builder. |
MediaPlayerBuilder |
audioSpectrumNumBands(int x)
Deprecated.
Set the value of the
audioSpectrumNumBands property for the instance constructed by this builder. |
MediaPlayerBuilder |
audioSpectrumThreshold(int x)
Deprecated.
Set the value of the
audioSpectrumThreshold property for the instance constructed by this builder. |
MediaPlayerBuilder |
autoPlay(boolean x)
Deprecated.
Set the value of the
autoPlay property for the instance constructed by this builder. |
MediaPlayerBuilder |
balance(double x)
Deprecated.
Set the value of the
balance property for the instance constructed by this builder. |
MediaPlayer |
build()
Deprecated.
Make an instance of
MediaPlayer based on the properties set on this builder. |
static MediaPlayerBuilder |
create()
Deprecated.
Creates a new instance of MediaPlayerBuilder.
|
MediaPlayerBuilder |
cycleCount(int x)
Deprecated.
Set the value of the
cycleCount property for the instance constructed by this builder. |
MediaPlayerBuilder |
media(Media x)
Deprecated.
Set the value of the
media property for the instance constructed by this builder. |
MediaPlayerBuilder |
mute(boolean x)
Deprecated.
Set the value of the
mute property for the instance constructed by this builder. |
MediaPlayerBuilder |
onEndOfMedia(java.lang.Runnable x)
Deprecated.
Set the value of the
onEndOfMedia property for the instance constructed by this builder. |
MediaPlayerBuilder |
onError(java.lang.Runnable x)
Deprecated.
Set the value of the
onError property for the instance constructed by this builder. |
MediaPlayerBuilder |
onHalted(java.lang.Runnable x)
Deprecated.
Set the value of the
onHalted property for the instance constructed by this builder. |
MediaPlayerBuilder |
onMarker(EventHandler<MediaMarkerEvent> x)
Deprecated.
Set the value of the
onMarker property for the instance constructed by this builder. |
MediaPlayerBuilder |
onPaused(java.lang.Runnable x)
Deprecated.
Set the value of the
onPaused property for the instance constructed by this builder. |
MediaPlayerBuilder |
onPlaying(java.lang.Runnable x)
Deprecated.
Set the value of the
onPlaying property for the instance constructed by this builder. |
MediaPlayerBuilder |
onReady(java.lang.Runnable x)
Deprecated.
Set the value of the
onReady property for the instance constructed by this builder. |
MediaPlayerBuilder |
onRepeat(java.lang.Runnable x)
Deprecated.
Set the value of the
onRepeat property for the instance constructed by this builder. |
MediaPlayerBuilder |
onStalled(java.lang.Runnable x)
Deprecated.
Set the value of the
onStalled property for the instance constructed by this builder. |
MediaPlayerBuilder |
onStopped(java.lang.Runnable x)
Deprecated.
Set the value of the
onStopped property for the instance constructed by this builder. |
MediaPlayerBuilder |
rate(double x)
Deprecated.
Set the value of the
rate property for the instance constructed by this builder. |
MediaPlayerBuilder |
startTime(Duration x)
Deprecated.
Set the value of the
startTime property for the instance constructed by this builder. |
MediaPlayerBuilder |
stopTime(Duration x)
Deprecated.
Set the value of the
stopTime property for the instance constructed by this builder. |
MediaPlayerBuilder |
volume(double x)
Deprecated.
Set the value of the
volume property for the instance constructed by this builder. |
private int __set
private double audioSpectrumInterval
private AudioSpectrumListener audioSpectrumListener
private int audioSpectrumNumBands
private int audioSpectrumThreshold
private boolean autoPlay
private double balance
private int cycleCount
private Media media
private boolean mute
private java.lang.Runnable onEndOfMedia
private java.lang.Runnable onError
private java.lang.Runnable onHalted
private EventHandler<MediaMarkerEvent> onMarker
private java.lang.Runnable onPaused
private java.lang.Runnable onPlaying
private java.lang.Runnable onReady
private java.lang.Runnable onRepeat
private java.lang.Runnable onStalled
private java.lang.Runnable onStopped
private double rate
private Duration startTime
private Duration stopTime
private double volume
public static MediaPlayerBuilder create()
private void __set(int i)
public void applyTo(MediaPlayer x)
public MediaPlayerBuilder audioSpectrumInterval(double x)
audioSpectrumInterval property for the instance constructed by this builder.public MediaPlayerBuilder audioSpectrumListener(AudioSpectrumListener x)
audioSpectrumListener property for the instance constructed by this builder.public MediaPlayerBuilder audioSpectrumNumBands(int x)
audioSpectrumNumBands property for the instance constructed by this builder.public MediaPlayerBuilder audioSpectrumThreshold(int x)
audioSpectrumThreshold property for the instance constructed by this builder.public MediaPlayerBuilder autoPlay(boolean x)
autoPlay property for the instance constructed by this builder.public MediaPlayerBuilder balance(double x)
balance property for the instance constructed by this builder.public MediaPlayerBuilder cycleCount(int x)
cycleCount property for the instance constructed by this builder.public MediaPlayerBuilder media(Media x)
media property for the instance constructed by this builder.public MediaPlayerBuilder mute(boolean x)
mute property for the instance constructed by this builder.public MediaPlayerBuilder onEndOfMedia(java.lang.Runnable x)
onEndOfMedia property for the instance constructed by this builder.public MediaPlayerBuilder onError(java.lang.Runnable x)
onError property for the instance constructed by this builder.public MediaPlayerBuilder onHalted(java.lang.Runnable x)
onHalted property for the instance constructed by this builder.public MediaPlayerBuilder onMarker(EventHandler<MediaMarkerEvent> x)
onMarker property for the instance constructed by this builder.public MediaPlayerBuilder onPaused(java.lang.Runnable x)
onPaused property for the instance constructed by this builder.public MediaPlayerBuilder onPlaying(java.lang.Runnable x)
onPlaying property for the instance constructed by this builder.public MediaPlayerBuilder onReady(java.lang.Runnable x)
onReady property for the instance constructed by this builder.public MediaPlayerBuilder onRepeat(java.lang.Runnable x)
onRepeat property for the instance constructed by this builder.public MediaPlayerBuilder onStalled(java.lang.Runnable x)
onStalled property for the instance constructed by this builder.public MediaPlayerBuilder onStopped(java.lang.Runnable x)
onStopped property for the instance constructed by this builder.public MediaPlayerBuilder rate(double x)
rate property for the instance constructed by this builder.public MediaPlayerBuilder startTime(Duration x)
startTime property for the instance constructed by this builder.public MediaPlayerBuilder stopTime(Duration x)
stopTime property for the instance constructed by this builder.public MediaPlayerBuilder volume(double x)
volume property for the instance constructed by this builder.public MediaPlayer build()
MediaPlayer based on the properties set on this builder.build in interface Builder<MediaPlayer>