    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.

##

xm_Thread(xm_StatusBar)
  Constructor.

##

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.
removeProgressBar(int, String)
  Remove the progress bar from the status bar (if there is a status bar).
run()
  Run the thread - to be overridden in derived classes.
validateContainerHierarchy()
  Validate from the top of the containment hierarchy.

##

xm_Thread

     public xm_Thread(xm_StatusBar InputStatusBar)

  Constructor.

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

##

run

     public void run()

  Run the thread - to be overridden in derived classes.

  Overrides:
    run in class Thread

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

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

validateContainerHierarchy

     public void validateContainerHierarchy()

  Validate from the top of the containment hierarchy.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index