|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
biocell.BioThread
biocell.GlobalState
public class GlobalState
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static java.util.Vector |
currentMoods
Comment for currentMoods |
static DynamicMood |
globalMood
Comment for globalMood |
static java.util.Vector |
moods
Comment for moods |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
GlobalState()
|
|
| Method Summary | |
|---|---|
static void |
addCurrentMood(DynamicMood d)
|
static void |
delCurrentMood(DynamicMood d)
|
static void |
generateMoods()
generates moods from the default file |
java.util.Vector |
getClassesAttributes()
|
static java.util.Vector |
getCurrentMoods()
|
static double |
getFood()
|
static DynamicMood |
getGlobalMood()
|
static java.util.Vector |
getMoods()
|
static void |
iniMainMood()
initialize the global mood - the mood mnager |
static void |
modified()
|
void |
setClassesAttributes(java.util.Vector classesAttributes)
|
static void |
setCurrentMoods(java.util.Vector currentMoods)
|
static void |
setGlobalMood(DynamicMood globalMood)
|
static void |
setMoods(java.util.Vector moods)
|
static void |
setTemplateMood(java.lang.String name)
|
void |
unregister(DynamicMood o)
|
static void |
update()
|
| Methods inherited from class biocell.BioThread |
|---|
getCurrentmood, getMoodParam, getstate, setMood, stepEnergy |
| 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, run, 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 java.util.Vector moods
moods
public static DynamicMood globalMood
globalMood
public static java.util.Vector currentMoods
currentMoods
| Constructor Detail |
|---|
public GlobalState()
| Method Detail |
|---|
public static void modified()
public static void generateMoods()
public static void iniMainMood()
public void unregister(DynamicMood o)
o - - remove object to the energy based managment system.public static void setTemplateMood(java.lang.String name)
name - - generate single template moodpublic static void update()
public static java.util.Vector getCurrentMoods()
public static void setCurrentMoods(java.util.Vector currentMoods)
currentMoods - The currentMoods to set.public static DynamicMood getGlobalMood()
public static void setGlobalMood(DynamicMood globalMood)
globalMood - The globalMood to set.public static double getFood()
public static java.util.Vector getMoods()
public static void setMoods(java.util.Vector moods)
moods - The moods to set.public java.util.Vector getClassesAttributes()
public static void addCurrentMood(DynamicMood d)
public static void delCurrentMood(DynamicMood d)
public void setClassesAttributes(java.util.Vector classesAttributes)
classesAttributes - The classesAttributes to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||