Package javafx.scene.media
Class AudioClip
java.lang.Object
javafx.scene.media.AudioClip
- Author:
- Bruno Salmon
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
double
boolean
void
play()
void
setCycleCount
(int cycleCount) void
setVolume
(double volume) void
stop()
-
Field Details
-
INDEFINITE
public static final int INDEFINITE- See Also:
-
-
Constructor Details
-
AudioClip
-
-
Method Details
-
getSource
-
play
public void play() -
stop
public void stop() -
setVolume
public void setVolume(double volume) -
getVolume
public double getVolume() -
setCycleCount
public void setCycleCount(int cycleCount) -
getCycleCount
public int getCycleCount() -
isPlaying
public boolean isPlaying()
-