|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.swfm.mica.core.MiPartModifierThread
| Field Summary |
| Constructor Summary | |
MiPartModifierThread(MiCanvas canvas)
Constructs a new MiPartModifierThread for the given canvas. |
|
| Method Summary | |
MiCanvas |
getCanvas()
Gets the canvas this thread runs on. |
boolean |
isStopped()
|
MiPartModifierThread |
makeNewRunningThread()
Convience method that calls the associated canvas's makeNewRunningThread method. |
void |
notifyAllThreads()
Convience method that calls the associated canvas's notifySelf method. |
void |
stopThread()
Frees all access locks the calling thread has on the associated canvas, and the stops the calling thread. |
void |
waitThread()
Frees all access locks the calling thread has on the associated canvas, wait on the canvas for a notify event, and then get all the access locks back again, and return. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MiPartModifierThread(MiCanvas canvas)
canvas - the canvas this thread will run
on.| Method Detail |
public MiCanvas getCanvas()
public void waitThread()
MiCanvas,
notifyAllThreads(),
MiCanvas.notifySelf()public void stopThread()
MiCanvas,
waitThread()public boolean isStopped()
public MiPartModifierThread makeNewRunningThread()
MiCanvas.makeNewRunningThread()public void notifyAllThreads()
MiCanvas.notifySelf()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||