public class SequencingThread
extends java.lang.Thread
Constructor and Description |
---|
SequencingThread()
Creates a new Instance of the SequencingThread
|
Modifier and Type | Method and Description |
---|---|
void |
addInstance(MouseRepresent instance)
Adds a new MouseRepresent that will be moved by the SequencingThread
|
java.util.ArrayList<MouseRepresent> |
getInstances()
Gets all MouseRepresents that are being moved in sequence by the SequencingThread
|
void |
kill()
Stops the Thread
|
void |
run() |
activeCount, checkAccess, clone, 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
public SequencingThread()
public void addInstance(MouseRepresent instance)
instance
- The MouseRepresent instance to be added to the sequencepublic void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.util.ArrayList<MouseRepresent> getInstances()
public void kill()