Interface IWizardPage

    • Method Detail

      • canFlipToNextPage

        boolean canFlipToNextPage()
        Returns whether the next page could be displayed.
        Returns:
        true if the next page could be displayed, and false otherwise
      • getName

        String getName()
        Returns this page's name.
        Returns:
        the name of this page
      • getNextPage

        IWizardPage getNextPage()
        Returns the wizard page that would to be shown if the user was to press the Next button.
        Returns:
        the next wizard page, or null if none
      • getPreviousPage

        IWizardPage getPreviousPage()
        Returns the wizard page that would to be shown if the user was to press the Back button.
        Returns:
        the previous wizard page, or null if none
      • isPageComplete

        boolean isPageComplete()
        Returns whether this page is complete or not.

        This information is typically used by the wizard to decide when it is okay to finish.

        Returns:
        true if this page is complete, and false otherwise
      • setPreviousPage

        void setPreviousPage​(IWizardPage page)
        Sets the wizard page that would typically be shown if the user was to press the Back button.

        This method is called by the container.

        Parameters:
        page - the previous wizard page
      • setWizard

        void setWizard​(IWizard newWizard)
        Sets the wizard that hosts this wizard page. Once established, a page's wizard cannot be changed to a different wizard.
        Parameters:
        newWizard - the wizard
        See Also:
        getWizard()