Class Wizard

java.lang.Object
de.hybris.platform.cockpit.wizards.Wizard
Direct Known Subclasses:
CmsWizard, DefaultNavigationNodeWizard, GenericItemWizard

public class Wizard extends Object
This class was moved to ext/cockpit from productcockpit
  • Field Details

    • DO_BACK_ON_FIRST_PAGE

      public static final String DO_BACK_ON_FIRST_PAGE
      See Also:
    • messages

      protected final List<Message> messages
    • history

      protected final Stack<String> history
    • currentPage

      protected WizardPage currentPage
    • frameComponent

      protected org.zkoss.zul.Window frameComponent
  • Constructor Details

    • Wizard

      public Wizard()
  • Method Details

    • show

      public static void show(String beanID)
      Parameters:
      beanID - - current beanID
    • show

      public static void show(String beanID, WizardContext context)
      Parameters:
      beanID - - current beanID
      context - the wizard context
    • getPage

      public WizardPage getPage(String id)
    • show

      public void show()
      Showing current wizard
    • checkShowBackOnFirstPage

      protected void checkShowBackOnFirstPage()
    • createFrameComponent

      protected org.zkoss.zul.Window createFrameComponent(String uri)
    • close

      public void close()
    • getCurrentPage

      public WizardPage getCurrentPage()
    • setCurrentPage

      protected void setCurrentPage(WizardPage currentPage)
    • getCurrentController

      public WizardPageController getCurrentController()
    • getComponentURI

      public String getComponentURI()
    • setComponentURI

      public void setComponentURI(String componentURI)
    • isShowNext

      public boolean isShowNext()
    • setShowNext

      public void setShowNext(boolean showNext)
    • isShowBack

      public boolean isShowBack()
    • setShowBack

      public void setShowBack(boolean showBack)
    • isShowDone

      public boolean isShowDone()
    • setShowDone

      public void setShowDone(boolean showDone)
    • getPages

      public List<WizardPage> getPages()
    • setPages

      public void setPages(List<WizardPage> pages)
    • getDefaultController

      public WizardPageController getDefaultController()
    • setDefaultController

      public void setDefaultController(WizardPageController defaultController)
    • getFrameComponent

      public org.zkoss.zul.Window getFrameComponent()
    • getWidth

      public String getWidth()
    • setWidth

      public void setWidth(String width)
    • getHeight

      public String getHeight()
    • setHeight

      public void setHeight(String height)
    • isShowCancel

      public boolean isShowCancel()
    • setShowCancel

      public void setShowCancel(boolean showCancel)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String i3key)
      Sets the i3 key for title
      Parameters:
      i3key - the i3 key for the title
    • getPageContainer

      protected org.zkoss.zk.ui.Component getPageContainer()
    • setWizardTitle

      protected void setWizardTitle(String title)
    • updateView

      protected void updateView()
    • createPageComponent

      protected org.zkoss.zk.ui.Component createPageComponent(org.zkoss.zk.ui.Component parent, WizardPage page, WizardPageController controller)
    • refreshButtons

      public void refreshButtons()
    • doNext

      public void doNext()
    • cleanupHistory

      protected void cleanupHistory()
    • doBack

      public void doBack()
    • doCancel

      public void doCancel()
    • doDone

      public void doDone()
    • getAllPageAttributes

      public Map<String,Object> getAllPageAttributes()
    • addMessage

      public void addMessage(Message msg)
    • getMessages

      public List<Message> getMessages()
    • getPreviousPage

      public WizardPage getPreviousPage()
    • setPreviousPage

      protected void setPreviousPage(WizardPage previousPage)
    • resize

      public void resize()
    • getWizardContext

      public WizardContext getWizardContext()
    • setWizardContext

      public void setWizardContext(WizardContext context)
    • getContextClass

      public String getContextClass()
    • setContextClass

      public void setContextClass(String contextClass)
    • isForceHideDone

      public boolean isForceHideDone()
    • setForceHideDone

      public void setForceHideDone(boolean forceHideDone)
    • getPageRoot

      public String getPageRoot()
    • setPageRoot

      public void setPageRoot(String pageRoot)
    • isForceShowNext

      public boolean isForceShowNext()
    • setForceShowNext

      public void setForceShowNext(boolean forceShowNext)