cad.simcad.pathfinding.ui.lib
Class AProgressMonitor

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--cad.simcad.pathfinding.ui.lib.AProgressMonitor
All Implemented Interfaces:
java.lang.Runnable

public class AProgressMonitor
extends java.lang.Thread

Creates and manages a ProgressMonitor from a thread...

Author:
Aldiss

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AProgressMonitor(java.awt.Frame frame, java.lang.String title)
          Constructor with parent component and title.
 
Method Summary
 void close()
          To close the progress monitor.
 void run()
          Action !
 void setProgress(java.lang.String note, int value)
          Value for the progress monitor, ranges from one to 100.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AProgressMonitor

public AProgressMonitor(java.awt.Frame frame,
                        java.lang.String title)
Constructor with parent component and title.

Method Detail

run

public void run()
Action !

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

setProgress

public void setProgress(java.lang.String note,
                        int value)
Value for the progress monitor, ranges from one to 100.


close

public void close()
To close the progress monitor.


Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be