All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xm.xm_Thread

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----xm.xm_Thread

public class xm_Thread
extends Thread
Thread with support for displaying messages and indicating progress in a status bar.


Constructor Index

 o xm_Thread(xm_StatusBar)
Constructor.

Method Index

 o prepareProgressBar(int, int, String)
Add a progress bar to the status bar (if there is a status bar), and display a message on the status bar.
 o removeProgressBar(int, String)
Remove the progress bar from the status bar (if there is a status bar).
 o run()
Run the thread - to be overridden in derived classes.
 o validateContainerHierarchy()
Validate from the top of the containment hierarchy.

Constructors

 o xm_Thread
 public xm_Thread(xm_StatusBar InputStatusBar)
Constructor.

Parameters:
InputStatusBar - Status bar in which to display messages and show progress

Methods

 o run
 public void run()
Run the thread - to be overridden in derived classes.

Overrides:
run in class Thread
 o prepareProgressBar
 protected JProgressBar prepareProgressBar(int InputProgressBarMaximum,
                                           int InputMessageDebugLevel,
                                           String InputStatusBarMessage)
Add a progress bar to the status bar (if there is a status bar), and display a message on the status bar.

Parameters:
InputProgressBarMaximum - The maximum value the progress bar will reach
InputMessageDebugLevel - The message is also output to debug with this debug level
InputStatusBarMessage - A message to be displayed in the status bar
 o removeProgressBar
 protected void removeProgressBar(int InputMessageDebugLevel,
                                  String InputStatusBarMessage)
Remove the progress bar from the status bar (if there is a status bar).

Parameters:
InputMessageDebugLevel - The message is also output to debug with this debug level
InputStatusBarMessage - A message to be displayed in the status bar
 o validateContainerHierarchy
 public void validateContainerHierarchy()
Validate from the top of the containment hierarchy.


All Packages  Class Hierarchy  This Package  Previous  Next  Index