|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
visual.Crawler
public class Crawler
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
Engine3d |
engine3d
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Crawler()
|
Method Summary | |
---|---|
static ExperimentState |
getExperimentState()
The 'state' object contains the experiment state for the current visualization. |
static java.lang.String |
getFileName()
|
static long |
getFileSize()
|
static java.lang.Object |
getLock()
|
static ExtendedXMLStreamReader |
getReader()
Every time that the position is changed by the user, either with by stopping or seeking the visualization process, a new xml stream reader is constructed. |
long |
getSpeed()
|
void |
reset()
Creates a new xmlParser and reparses the wiseml from the beginning. |
void |
run()
The thread's main function. |
void |
seek(double seeked)
Creates a new xmlParser and parses the wiseml file from a certain position in the file. |
void |
setSpeed(long speed)
Change the visualization Speed. |
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 Engine3d engine3d
Constructor Detail |
---|
public Crawler()
Method Detail |
---|
public static ExperimentState getExperimentState()
public static java.lang.String getFileName()
public static long getFileSize()
public static java.lang.Object getLock()
public static ExtendedXMLStreamReader getReader()
public long getSpeed()
public void reset()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void seek(double seeked)
seeked
- the starting timestamp.public void setSpeed(long speed)
speed
- the new speed value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |