comirva.visu
Class SOMGridVisu

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

public class SOMGridVisu
extends Thread

This class implements a SOMGrid 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
SOMGridVisu(VisuPane vp)
          Constructs a new SOMGridVisu.
SOMGridVisu(VisuPane vp, boolean colorByPCA)
          Constructs a new SOMGridVisu.
 
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

SOMGridVisu

public SOMGridVisu(VisuPane vp)
Constructs a new SOMGridVisu.

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

SOMGridVisu

public SOMGridVisu(VisuPane vp,
                   boolean colorByPCA)
Constructs a new SOMGridVisu.

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

run

public void run()
Start drawing the visualization. A SOM-Grid containing a rectangle for every map unit is drawn on the screen. The labels of the data items which are mapped to a certain map unit are displayed within these rectangles. In other words, the Voronoi-Set of every map unit is printed to the rectangle of the map unit. If no labels are specified, the number of the data items is shown instead of the lables.

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