Class TimeSpinnerTimer
- java.lang.Object
-
- com.github.lgooddatepicker.zinternaltools.TimeSpinnerTimer
-
public class TimeSpinnerTimer extends java.lang.Object
TimeSpinnerTimer, This class implements a timer which can fire an increment event at a rate that accelerates over a set period of time. This is used by the time picker component. The increment event is used to change the time and the time picker while the user is holding a spinner activation key. (The spinner functionality may be activated with the keyboard or the mouse.)
-
-
Constructor Summary
Constructors Constructor Description TimeSpinnerTimer(TimePicker timePicker, int changeAmountMinutes)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
start()
start, This is called to start the timer, and to initialize the needed variables.void
stop()
stop, This is called to stop the timer.
-
-
-
Constructor Detail
-
TimeSpinnerTimer
public TimeSpinnerTimer(TimePicker timePicker, int changeAmountMinutes)
Constructor.
-
-