comirva.visu
Class SDHVisu

java.lang.Object
  extended by java.lang.Thread
      extended by comirva.visu.SDHVisu
All Implemented Interfaces:
Runnable

public class SDHVisu
extends Thread

This class implements an SDH visualization. To avoid blocking the GUI, it is implemented as thread.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SDHVisu(VisuPane vp)
          Constructs a new SDHVisu.
 
Method Summary
 void run()
          Start drawing the visualization.
 
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
 

Constructor Detail

SDHVisu

public SDHVisu(VisuPane vp)
Constructs a new SDHVisu.

Parameters:
vp - the VisuPane of CoMIRVA which is responsible for drawing
Method Detail

run

public void run()
Start drawing the visualization. Paints a smoothed data histogram (SDH). Additionally, the SOM-grid and labels are displayed. Due to performance reasons, the first time an SDH is painted, it is only painted to a BufferedImage and then this image is loaded into the Canvas. Because of this, it can take a while, before something can be seen on the screen.

Specified by:
run in interface Runnable
Overrides:
run in class Thread
See Also:
Thread.run()