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.TrackableThreadThread 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.HeapStatusThreadgetInstance()Gets singleton instance ofthisthread.static voidregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)Registers new heap status panel withthisthread.protected voidrequestStop()voidrun()static voidunregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)Unregisters new heap status panel fromthisthread.-
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 ofthisthread.- Returns:
- Singleton instance of
thisthread.
-
registerPanel
public static void registerPanel(SubstanceTitlePane.HeapStatusPanel panel)
Registers new heap status panel withthisthread.- Parameters:
panel- Heap statuc panel.
-
unregisterPanel
public static void unregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)
Unregisters new heap status panel fromthisthread.- Parameters:
panel- Heap statuc panel.
-
requestStop
protected void requestStop()
- Specified by:
requestStopin classorg.pushingpixels.lafwidget.utils.TrackableThread
-
-