public class PlayList extends Object
Modifier and Type | Method and Description |
---|---|
void |
first()
Choose first play list entry.
|
int |
getCurrent()
Get currently selected play list entry.
|
static PlayList |
getInstance(IConfig config,
SidTune tune)
Get instance results in a new play-list each time the tune changes.
|
int |
getLength()
Get number of entries.
|
int |
getNext()
Get next play list entry.
|
int |
getPrevious()
Get previous play list entry.
|
int |
getTrackNum()
Get current track (play list entry relative to the first).
|
boolean |
hasNext()
Is a next play list entry available?
|
boolean |
hasPrevious()
Is a previous play list entry available?
|
void |
last()
Choose last play list entry.
|
void |
next()
Choose next play list entry.
|
void |
previous()
Choose previous play list entry.
|
public static PlayList getInstance(IConfig config, SidTune tune)
config
- configurationtune
- SID tunepublic int getCurrent()
public int getTrackNum()
public int getLength()
public void next()
public void previous()
public void first()
public void last()
public boolean hasPrevious()
public boolean hasNext()
public int getPrevious()
public int getNext()
Copyright © 2018 Ken Händel. All rights reserved.