IPlayableTrackpublic class LoopTrack extends java.lang.Object implements IPlayableTrack
| Constructor | Description |
|---|---|
LoopTrack(double length,
java.lang.String fileUrl) |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getLength() |
Retrieve the length of the track in seconds
|
void |
play() |
Start playing the track.
|
javafx.beans.property.ReadOnlyBooleanProperty |
playingProperty() |
Property indicating if the track is playing.
|
void |
stop() |
Stop playing the track.
|
public double getLength()
IPlayableTrackgetLength in interface IPlayableTrackpublic void play()
IPlayableTrackplay in interface IPlayableTrackpublic void stop()
IPlayableTrackstop in interface IPlayableTrackpublic javafx.beans.property.ReadOnlyBooleanProperty playingProperty()
IPlayableTrackplayingProperty in interface IPlayableTrackCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.