comirva.visu
Class SOMGridVisu
java.lang.Object
java.lang.Thread
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.
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 |
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
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()