Package gov.nih.mipav.view
Class ViewJFrameAnimateClip.cfStop
java.lang.Object
java.lang.Thread
gov.nih.mipav.view.ViewJFrameAnimateClip.cfStop
- All Implemented Interfaces:
Runnable
- Enclosing class:
ViewJFrameAnimateClip
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield