Package org.opentrafficsim.swing.gui
Class OTSAnimationPanel.DisposeOnCloseThread
- java.lang.Object
-
- java.lang.Thread
-
- org.opentrafficsim.swing.gui.OTSAnimationPanel.DisposeOnCloseThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- OTSAnimationPanel
protected class OTSAnimationPanel.DisposeOnCloseThread extends Thread
Install the dispose on close when the OTSControlPanel is registered as part of a frame.
-
-
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
Constructors Constructor Description DisposeOnCloseThread(OTSAnimationPanel panel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
String
toString()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, yield
-
-
-
-
Constructor Detail
-
DisposeOnCloseThread
public DisposeOnCloseThread(OTSAnimationPanel panel)
- Parameters:
panel
- OTSAnimationPanel; the OTSControlpanel container.
-
-