Class FPanelPanelMove.ThMoveSubPanel

java.lang.Object
java.lang.Thread
fr.formiko.views.gui2d.FPanelPanelMove.ThMoveSubPanel
All Implemented Interfaces:
Runnable
Enclosing class:
FPanelPanelMove

class FPanelPanelMove.ThMoveSubPanel extends Thread
Thread used to do the move.
Author:
Hydrolien
  • Field Details

    • stepInX

      private int stepInX
    • stepInY

      private int stepInY
    • needToWait

      private volatile boolean needToWait
  • Constructor Details

    • ThMoveSubPanel

      public ThMoveSubPanel()
      Main constructor.
  • Method Details

    • setStepInX

      public void setStepInX(int x)
    • setStepInY

      public void setStepInY(int x)
    • run

      public void run()
      Main methode that make sub panel move.
      It will wait untill a stepInX or stepInY is not 0 & then move every 10 ms.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread