Class AutoBackup

java.lang.Object
  extended by java.lang.Thread
      extended by AutoBackup
All Implemented Interfaces:
java.lang.Runnable

public class AutoBackup
extends java.lang.Thread

This class does a save in certain iteration automatically. The state should be hidden. The OS is windows. There is no implementation variances. There is no security constaints. There is no external secification.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  TerpPaint TerpPaint
          TerpPaint object creation.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AutoBackup(TerpPaint in)
          This is a copy construction of AutoBackUp object.
 
Method Summary
 void run()
          This method tests out the class.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TerpPaint

TerpPaint TerpPaint
TerpPaint object creation.

Constructor Detail

AutoBackup

public AutoBackup(TerpPaint in)
This is a copy construction of AutoBackUp object. The arguement value should be a TerpPaint object. Null value can not be assign. There is no return value. This creates a new TerpPaint object and copy the old one into it. OS is windows. There are no implementation variances. Exception is only TerpPaint variables can be pass in. There are no security constraints.

Parameters:
in - This is a TerpPaint variable
Method Detail

run

public void run()
This method tests out the class. This method does not have any argument. It does not have NULL values. There is no return values. The methods runs and test the threads. OS is windows. There are no implementation variances. There is a exception e. There are no security constaints.

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