org.crwth.systems
Class TextViewer

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.crwth.systems.Viewer
              |
              +--org.crwth.systems.TextViewer
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
TextViewer1d

public class TextViewer
extends Viewer


Field Summary
protected  Space s
           
protected  long sl
           
 
Fields inherited from class org.crwth.systems.Viewer
d
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TextViewer()
           
TextViewer(long sleep)
           
TextViewer(Space space)
           
TextViewer(Space space, long sleep)
           
 
Method Summary
 void run()
           
 void setSpace(Space space)
          Sets the Space object used to retrieve Mass and Spring objects.
 
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, setContextClassLoader, setDaemon, setName, setPriority, 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

sl

protected long sl

s

protected Space s
Constructor Detail

TextViewer

public TextViewer()

TextViewer

public TextViewer(long sleep)

TextViewer

public TextViewer(Space space)

TextViewer

public TextViewer(Space space,
                  long sleep)
Method Detail

setSpace

public void setSpace(Space space)
Description copied from class: Viewer
Sets the Space object used to retrieve Mass and Spring objects.

Specified by:
setSpace in class Viewer
Parameters:
space - the Space object to use.

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread