Spec-Zone .ru
спецификации, руководства, описания, API
|
@Generated(value="Generated by javafx.builder.processor.BuilderProcessor") public final class MediaPlayerBuilder extends java.lang.Object implements Builder<MediaPlayer>
MediaPlayer
Modifier | Constructor and Description |
---|---|
protected |
MediaPlayerBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
applyTo(MediaPlayer x) |
MediaPlayerBuilder |
audioSpectrumInterval(double x)
Set the value of the
audioSpectrumInterval property for the instance constructed by this builder. |
MediaPlayerBuilder |
audioSpectrumListener(AudioSpectrumListener x)
Set the value of the
audioSpectrumListener property for the instance constructed by this builder. |
MediaPlayerBuilder |
audioSpectrumNumBands(int x)
Set the value of the
audioSpectrumNumBands property for the instance constructed by this builder. |
MediaPlayerBuilder |
audioSpectrumThreshold(int x)
Set the value of the
audioSpectrumThreshold property for the instance constructed by this builder. |
MediaPlayerBuilder |
autoPlay(boolean x)
Set the value of the
autoPlay property for the instance constructed by this builder. |
MediaPlayerBuilder |
balance(double x)
Set the value of the
balance property for the instance constructed by this builder. |
MediaPlayer |
build()
Make an instance of
MediaPlayer based on the properties set on this builder. |
static MediaPlayerBuilder |
create()
Creates a new instance of MediaPlayerBuilder.
|
MediaPlayerBuilder |
cycleCount(int x)
Set the value of the
cycleCount property for the instance constructed by this builder. |
MediaPlayerBuilder |
media(Media x)
Set the value of the
media property for the instance constructed by this builder. |
MediaPlayerBuilder |
mute(boolean x)
Set the value of the
mute property for the instance constructed by this builder. |
MediaPlayerBuilder |
onEndOfMedia(java.lang.Runnable x)
Set the value of the
onEndOfMedia property for the instance constructed by this builder. |
MediaPlayerBuilder |
onError(java.lang.Runnable x)
Set the value of the
onError property for the instance constructed by this builder. |
MediaPlayerBuilder |
onHalted(java.lang.Runnable x)
Set the value of the
onHalted property for the instance constructed by this builder. |
MediaPlayerBuilder |
onMarker(EventHandler<MediaMarkerEvent> x)
Set the value of the
onMarker property for the instance constructed by this builder. |
MediaPlayerBuilder |
onPaused(java.lang.Runnable x)
Set the value of the
onPaused property for the instance constructed by this builder. |
MediaPlayerBuilder |
onPlaying(java.lang.Runnable x)
Set the value of the
onPlaying property for the instance constructed by this builder. |
MediaPlayerBuilder |
onReady(java.lang.Runnable x)
Set the value of the
onReady property for the instance constructed by this builder. |
MediaPlayerBuilder |
onRepeat(java.lang.Runnable x)
Set the value of the
onRepeat property for the instance constructed by this builder. |
MediaPlayerBuilder |
onStalled(java.lang.Runnable x)
Set the value of the
onStalled property for the instance constructed by this builder. |
MediaPlayerBuilder |
onStopped(java.lang.Runnable x)
Set the value of the
onStopped property for the instance constructed by this builder. |
MediaPlayerBuilder |
rate(double x)
Set the value of the
rate property for the instance constructed by this builder. |
MediaPlayerBuilder |
startTime(Duration x)
Set the value of the
startTime property for the instance constructed by this builder. |
MediaPlayerBuilder |
stopTime(Duration x)
Set the value of the
stopTime property for the instance constructed by this builder. |
MediaPlayerBuilder |
volume(double x)
Set the value of the
volume property for the instance constructed by this builder. |
public static MediaPlayerBuilder create()
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>
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to