Class ICoachmarkController

java.lang.Object
org.zkoss.stateless.state.ICoachmarkController

public class ICoachmarkController extends Object
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 Details

    • setNext

      public void setNext(ICoachmarkController nextController)
      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

      public static ICoachmarkController of(ICoachmark owner)
      Returns the controller instance with the given coachmark
      Parameters:
      owner - The controller to control with
    • build

      public ICoachmark build()
      Returns the immutable coachmark instance that the controller to build with.