Class WizardPane

    • Field Detail

      • m_ListNames

        protected BaseList m_ListNames
        the list for displaying the page names.
      • m_ScrollPaneNames

        protected BaseScrollPane m_ScrollPaneNames
        the scrollpane for the names list.
      • m_SplitPane

        protected BaseSplitPane m_SplitPane
        the split pane.
      • m_PageComponent

        protected JPanel m_PageComponent
        for displaying the page component.
      • m_PageOrder

        protected List<String> m_PageOrder
        the page order.
      • m_SelectedPage

        protected int m_SelectedPage
        the currently selected page.
    • Constructor Detail

      • WizardPane

        public WizardPane()
        Initializes the wizard with no ID.
      • WizardPane

        public WizardPane​(String id)
        Initializes the wizard.
        Parameters:
        id - the ID of the wizard, used for logging purposes
    • Method Detail

      • getSplitPane

        public BaseSplitPane getSplitPane()
        Returns the underlying split pane.
        Returns:
        the split pane
      • removePageAt

        public void removePageAt​(int index)
        Removes the page at the specified index.
        Parameters:
        index - the index of the page to remove
      • getSelectedIndex

        public int getSelectedIndex()
        Returns the currently active page index.
        Returns:
        the index, -1 if not available
      • setSelectedPage

        public void setSelectedPage​(int index)
        Sets the specified page as active one.
        Parameters:
        index - the index of the page to use as active page
      • getPageCount

        public int getPageCount()
        Returns the current page count.
        Returns:
        the number of pages
      • getPageAt

        public AbstractWizardPage getPageAt​(int index)
        Returns the specified page.
        Parameters:
        index - the page index
        Returns:
        the page
      • main

        public static void main​(String[] args)
        For testing only.
        Parameters:
        args - ignored