|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread comirva.visu.SunburstVisu
public class SunburstVisu
This class implements a Sunburst 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 | |
---|---|
SunburstVisu(VisuPane vp)
Constructs a new SunburstVisu. |
Method Summary | |
---|---|
protected void |
drawSunburstNodes(SunburstNode sn)
Draws the nodes of a sunburst given the root node. |
JMenuItem[] |
getSunburstContextMenu(Point location)
returns a sunburst visualisation specific context menu. |
void |
initMouseListener()
inits the mouse listeners that are needed for this visualisation. |
void |
run()
Start drawing the visualization. |
protected void |
showSunburst()
Paints a sunburst visualization of a given term occurrence matrix. |
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 |
---|
public SunburstVisu(VisuPane vp)
vp
- the VisuPane of CoMIRVA which is responsible for drawingMethod Detail |
---|
public void initMouseListener()
public void run()
run
in interface Runnable
run
in class Thread
Thread.run()
protected void showSunburst()
protected void drawSunburstNodes(SunburstNode sn)
sn
- a SunburstNode representing the root node of the sunburstpublic JMenuItem[] getSunburstContextMenu(Point location)
e
- the mouse event that triggers context menu display
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |