Package org.zkoss.stateless.state
Class ICoachmarkController
java.lang.Object
org.zkoss.stateless.state.ICoachmarkController
An
ICoachmark controller to navigate the given
coachmark to go next and control some status.
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
Modifier and TypeMethodDescriptionbuild()Returns the immutable coachmark instance that the controller to build with.voidclose()Closes the coachmark.voidnext()Closes this coachmark and Open the next which is set.static ICoachmarkControllerof(ICoachmark owner) Returns the controller instance with the givencoachmarkvoidopen()Opens the coachmark.voidsetNext(ICoachmarkController nextController) Sets next coachmark.
-
Method Details
-
setNext
Sets next coachmark. -
open
public void open()Opens the coachmark. -
close
public void close()Closes the coachmark. -
next
public void next()Closes this coachmark and Open the next which is set. -
of
Returns the controller instance with the givencoachmark- Parameters:
owner- The controller to control with
-
build
Returns the immutable coachmark instance that the controller to build with.
-