Class ViewJFrameAnimateClip.cfStop

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    ViewJFrameAnimateClip

    class ViewJFrameAnimateClip.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.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • 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
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • cfStop

        public cfStop()
        Creates a new cfStop object.
    • Method Detail

      • run

        public void run()
        DOCUMENT ME!
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread