|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
bass.stats.ChartThread
public class ChartThread
Thread for the different kinds of graphs and rankings. Prevents the GUI from freezing once the user requested a graph/ranking.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
private int |
currentType
|
private java.lang.String |
genre
|
private java.lang.String[] |
genreArray
|
private Gui |
theGui
|
static int |
TYPE_ACTIVITYCURVE
|
static int |
TYPE_GENREFREQUENCY_ALL_BANDS
|
static int |
TYPE_GENREFREQUENCY_USED_BANDS
|
static int |
TYPE_GENREGROWTH
|
static int |
TYPE_HYPECURVE
|
static int |
TYPE_LABELTYPE_BY_ALPHABET
|
static int |
TYPE_LABELTYPE_BY_FREQUENCY
|
static int |
TYPE_LONGTAIL
|
static int |
TYPE_TOP_FANS
|
static int |
TYPE_TOP_FANS_BY_DAY
|
static int |
TYPE_TOP_PLAYS
|
static int |
TYPE_TOP_SINCE
|
static int |
TYPE_TOP_VIEWS
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ChartThread(int chartType,
Gui theGui)
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
getGenreArray()
|
void |
run()
|
void |
setGenre(java.lang.String genre)
|
void |
setGenreArray(java.lang.String[] genreArray)
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_LONGTAIL
public static final int TYPE_GENREFREQUENCY_ALL_BANDS
public static final int TYPE_GENREFREQUENCY_USED_BANDS
public static final int TYPE_GENREGROWTH
public static final int TYPE_HYPECURVE
public static final int TYPE_ACTIVITYCURVE
public static final int TYPE_LABELTYPE_BY_ALPHABET
public static final int TYPE_LABELTYPE_BY_FREQUENCY
public static final int TYPE_TOP_FANS
public static final int TYPE_TOP_VIEWS
public static final int TYPE_TOP_PLAYS
public static final int TYPE_TOP_SINCE
public static final int TYPE_TOP_FANS_BY_DAY
private Gui theGui
private int currentType
private java.lang.String[] genreArray
private java.lang.String genre
| Constructor Detail |
|---|
public ChartThread(int chartType,
Gui theGui)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic java.lang.String[] getGenreArray()
public void setGenreArray(java.lang.String[] genreArray)
public void setGenre(java.lang.String genre)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||