gov.lanl.Utility
Class MaskingThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--gov.lanl.Utility.MaskingThread
All Implemented Interfaces:
java.lang.Runnable

public class MaskingThread
extends java.lang.Thread

Created by IntelliJ IDEA. User: dwf Date: Mar 5, 2003 Time: 10:54:52 PM To change this template use Options | File Templates.

 

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MaskingThread(java.lang.String prompt)
           
 
Method Summary
 void run()
          Begin masking until asked to stop.
 void stopMasking()
          Instruct the thread to stop masking.
 
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

MaskingThread

public MaskingThread(java.lang.String prompt)
Parameters:
prompt - The prompt displayed to the user
Method Detail

run

public void run()
Begin masking until asked to stop.

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

stopMasking

public void stopMasking()
Instruct the thread to stop masking.