Package org.zkoss.stateless.state
Class ITimerController
java.lang.Object
org.zkoss.stateless.state.ITimerController
An
ITimer controller to control start, stop, and
some status with the given timer instance.
Note: this class is not thread-safe, so when it's used in multi-threading environment, the developer should handle the threading issue.
- Author:
- katherine
-
Method Summary
-
Method Details
-
start
public void start()Starts the timer. -
stop
public void stop()Stops the timer. -
of
Returns the controller instance with the giventimer- Parameters:
owner- The controller to control with
-
build
Returns the immutable timer instance that the controller to build with.
-