Class ViewJFrameAnimateClip.cfStop

java.lang.Object
java.lang.Thread
gov.nih.mipav.view.ViewJFrameAnimateClip.cfStop
All Implemented Interfaces:
Runnable
Enclosing class:
ViewJFrameAnimateClip

class ViewJFrameAnimateClip.cfStop extends 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 Details

    • cfStop

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

    • run

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