Class SubstanceTitlePane.HeapStatusThread
- java.lang.Object
-
- java.lang.Thread
-
- org.pushingpixels.lafwidget.utils.TrackableThread
-
- org.pushingpixels.substance.internal.utils.SubstanceTitlePane.HeapStatusThread
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- SubstanceTitlePane
public static class SubstanceTitlePane.HeapStatusThread extends org.pushingpixels.lafwidget.utils.TrackableThread
Thread for heap status panel.
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubstanceTitlePane.HeapStatusThread
getInstance()
Gets singleton instance ofthis
thread.static void
registerPanel(SubstanceTitlePane.HeapStatusPanel panel)
Registers new heap status panel withthis
thread.protected void
requestStop()
void
run()
static void
unregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)
Unregisters new heap status panel fromthis
thread.-
Methods inherited from class org.pushingpixels.lafwidget.utils.TrackableThread
requestStopAllThreads
-
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, toString, yield
-
-
-
-
Method Detail
-
getInstance
public static SubstanceTitlePane.HeapStatusThread getInstance()
Gets singleton instance ofthis
thread.- Returns:
- Singleton instance of
this
thread.
-
registerPanel
public static void registerPanel(SubstanceTitlePane.HeapStatusPanel panel)
Registers new heap status panel withthis
thread.- Parameters:
panel
- Heap statuc panel.
-
unregisterPanel
public static void unregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)
Unregisters new heap status panel fromthis
thread.- Parameters:
panel
- Heap statuc panel.
-
requestStop
protected void requestStop()
- Specified by:
requestStop
in classorg.pushingpixels.lafwidget.utils.TrackableThread
-
-