org.ceryle.graph.tm
Class TM4JVisualizerImpl.TMViz
java.lang.Object
java.lang.Thread
org.ceryle.graph.tm.TM4JVisualizerImpl.TMViz
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- TM4JVisualizerImpl
protected class TM4JVisualizerImpl.TMViz
- extends Thread
Internal class extends Thread to display a specific TopicMap.
| 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 |
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
printStats
public void printStats(double[] counts,
long[] times)
- Print time stats to messages.
getTimeString
public String getTimeString(long time)
- Return the time as a String in milliseconds or seconds (if greater than 1 second).
addEnMasse
public void addEnMasse(TM4JVisualizerImpl.DeferredNodeSet nodeset)
- Adds the DeferredNodeSet of nodes all at once (en masse).
This avoids resetDamper() being called on each node.
This is essentially the same method as
GraphPanel.addEnMasse(Set), but
includes movement of the Desktop's progress thermometer,
and uses a DeferredNodeSet instead of a Set.
This clears the contents of the DeferredNodeSet when done.
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.