| Modifier | Constructor and Description |
|---|---|
protected |
AudioClipBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(AudioClip x) |
AudioClipBuilder |
balance(double x)
Set the value of the
balance property for the instance constructed by this builder. |
AudioClip |
build()
Make an instance of
AudioClip based on the properties set on this builder. |
static AudioClipBuilder |
create()
Creates a new instance of AudioClipBuilder.
|
AudioClipBuilder |
cycleCount(int x)
Set the value of the
cycleCount property for the instance constructed by this builder. |
AudioClipBuilder |
pan(double x)
Set the value of the
pan property for the instance constructed by this builder. |
AudioClipBuilder |
priority(int x)
Set the value of the
priority property for the instance constructed by this builder. |
AudioClipBuilder |
rate(double x)
Set the value of the
rate property for the instance constructed by this builder. |
AudioClipBuilder |
source(java.lang.String x)
Set the value of the
source property for the instance constructed by this builder. |
AudioClipBuilder |
volume(double x)
Set the value of the
volume property for the instance constructed by this builder. |
public static AudioClipBuilder create()
public void applyTo(AudioClip x)
public AudioClipBuilder balance(double x)
balance property for the instance constructed by this builder.public AudioClipBuilder cycleCount(int x)
cycleCount property for the instance constructed by this builder.public AudioClipBuilder pan(double x)
pan property for the instance constructed by this builder.public AudioClipBuilder priority(int x)
priority property for the instance constructed by this builder.public AudioClipBuilder rate(double x)
rate property for the instance constructed by this builder.public AudioClipBuilder source(java.lang.String x)
source property for the instance constructed by this builder.public AudioClipBuilder volume(double x)
volume property for the instance constructed by this builder.Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.