Class JPanelMouse.PlayMouse

java.lang.Object
java.lang.Thread
gov.nih.mipav.view.renderer.J3D.surfaceview.JPanelMouse.PlayMouse
All Implemented Interfaces:
Runnable
Enclosing class:
JPanelMouse

class JPanelMouse.PlayMouse extends Thread
* Thread that plays. Must be a thread so that the stop and pause buttons work. Plays either one mouse event at a time, the whole list from the selected index, or the whole list continuously.
  • Field Details

    • forever

      boolean forever
      DOCUMENT ME!
    • selectedToEnd

      boolean selectedToEnd
      DOCUMENT ME!
  • Constructor Details

    • PlayMouse

      public PlayMouse(boolean selectedToEnd, boolean forever)
      Constructs a new thread and initializes the parameters which dictate what kind of play this is.*
      Parameters:
      selectedToEnd - true indicates play the list of mouse events in sequential order from the first selected index. false indicates only play the selected mouse event. *
      forever - true indicates keep playing mouse events until the stop or pause button is pressed.
  • Method Details

    • run

      public void run()
      Runs the thread and plays according to the established parameters.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread