Class Wizard<C,​S extends Enum<S>>

  • Type Parameters:
    C - The context
    S - The state enum

    public class Wizard<C,​S extends Enum<S>>
    extends Object
    General purpose wizard relying on a context for the common data and an enum representing the states of the different steps.
    • Method Detail

      • isOpen

        public static boolean isOpen()
      • show

        public void show()
        Opens the wizard and reset the state, context and UI. If you override this method please make sure to call super.show() before you access or modify the context.
      • showProgress

        public void showProgress​(String title,
                                 com.google.gwt.safehtml.shared.SafeHtml text)
      • showSuccess

        public void showSuccess​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text)
      • showSuccess

        public void showSuccess​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text,
                                boolean lastStep)
      • showSuccess

        public void showSuccess​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text,
                                Wizard.CloseAction<C> closeAction)
      • showSuccess

        public void showSuccess​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text,
                                Wizard.CloseAction<C> closeAction,
                                boolean lastStep)
      • showSuccess

        public void showSuccess​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text,
                                String successButton,
                                Wizard.SuccessAction<C> successAction)
      • showSuccess

        public void showSuccess​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text,
                                String successButton,
                                Wizard.SuccessAction<C> successAction,
                                boolean lastStep)
      • showWarning

        public void showWarning​(String title,
                                com.google.gwt.safehtml.shared.SafeHtml text,
                                String okButton,
                                Wizard.SuccessAction<C> okAction,
                                boolean lastStep)
      • showError

        public void showError​(String title,
                              com.google.gwt.safehtml.shared.SafeHtml text)
      • showError

        public void showError​(String title,
                              com.google.gwt.safehtml.shared.SafeHtml text,
                              boolean lastStep)
      • showError

        public void showError​(String title,
                              com.google.gwt.safehtml.shared.SafeHtml text,
                              String error)
      • showError

        public void showError​(String title,
                              com.google.gwt.safehtml.shared.SafeHtml text,
                              String error,
                              boolean lastStep)
      • getContext

        public C getContext()