Class MouseMoverController
java.lang.Object
com.github.mauromidolo.mousemover.controll.MouseMoverController
public class MouseMoverController extends Object
MouseMoverController: controller to manager MouseMoverManager background job
-
Method Summary
Modifier and Type Method Description static MouseMoverController
getInstance()
Singleton instancevoid
switchOff()
stop the background jobvoid
switchOn(int value)
start the background job, if the job is already in exertion stop and restart
-
Method Details
-
getInstance
Singleton instance- Returns:
- MouseMoverController instance
-
switchOn
public void switchOn(int value)start the background job, if the job is already in exertion stop and restart- Parameters:
value
- seconds to move mouse
-
switchOff
public void switchOff()stop the background job
-