org.pushingpixels.substance.internal.utils
Class SubstanceTitlePane.HeapStatusThread

java.lang.Object
  extended by java.lang.Thread
      extended by org.pushingpixels.lafwidget.utils.TrackableThread
          extended by org.pushingpixels.substance.internal.utils.SubstanceTitlePane.HeapStatusThread
All Implemented Interfaces:
java.lang.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
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
static SubstanceTitlePane.HeapStatusThread getInstance()
          Gets singleton instance of this thread.
static void registerPanel(SubstanceTitlePane.HeapStatusPanel panel)
          Registers new heap status panel with this thread.
protected  void requestStop()
           
 void run()
           
static void unregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)
          Unregisters new heap status panel from this thread.
 
Methods inherited from class org.pushingpixels.lafwidget.utils.TrackableThread
requestStopAllThreads
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static SubstanceTitlePane.HeapStatusThread getInstance()
Gets singleton instance of this thread.

Returns:
Singleton instance of this thread.

registerPanel

public static void registerPanel(SubstanceTitlePane.HeapStatusPanel panel)
Registers new heap status panel with this thread.

Parameters:
panel - Heap statuc panel.

unregisterPanel

public static void unregisterPanel(SubstanceTitlePane.HeapStatusPanel panel)
Unregisters new heap status panel from this thread.

Parameters:
panel - Heap statuc panel.

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

requestStop

protected void requestStop()
Specified by:
requestStop in class org.pushingpixels.lafwidget.utils.TrackableThread