Package gov.nih.mipav.view
Class ViewJFrameAnimate.cfStop
- java.lang.Object
-
- java.lang.Thread
-
- gov.nih.mipav.view.ViewJFrameAnimate.cfStop
-
- All Implemented Interfaces:
java.lang.Runnable
- Enclosing class:
- ViewJFrameAnimate
class ViewJFrameAnimate.cfStop extends java.lang.Thread
Threads are used because they are required by the sleep function. cf , fStop, crStop, and rStop set stop to true and keep sleeping for 5 millisecond intervals until the other 3 animation modes have ended. The, stop is set to false and the desired animation mode is started. This allows instantaneous switching between any 2 buttons. Continuous forward has been selected. If forward, continuous reverse, or reverse are ongoing, then set stop to true and keep sleeping for 5 millisecond intervals until none of these 3 functions is going. Then, stop is set to false and the continuous forward mode is started.
-
-
Constructor Summary
Constructors Constructor Description cfStop()
Creates a new cfStop object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
DOCUMENT ME!-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-