Package org.jfree.ui

Class WizardPanel

    • Constructor Detail

      • WizardPanel

        protected WizardPanel​(LayoutManager layout)
        Creates a new panel.
        Parameters:
        layout - the layout manager.
    • Method Detail

      • getOwner

        public WizardDialog getOwner()
        Returns a reference to the dialog that owns the panel.
        Returns:
        the owner.
      • setOwner

        public void setOwner​(WizardDialog owner)
        Sets the reference to the dialog that owns the panel (this is called automatically by the dialog when the panel is added to the dialog).
        Parameters:
        owner - the owner.
      • getResult

        public Object getResult()
        Returns the result.
        Returns:
        the result.
      • returnFromLaterStep

        public abstract void returnFromLaterStep()
        This method is called when the dialog redisplays this panel as a result of the user clicking the "Previous" button. Inside this method, subclasses should make a note of their current state, so that they can decide what to do when the user hits "Next".
      • canRedisplayNextPanel

        public abstract boolean canRedisplayNextPanel()
        Returns true if it is OK to redisplay the last version of the next panel, or false if a new version is required.
        Returns:
        boolean.
      • hasNextPanel

        public abstract boolean hasNextPanel()
        Returns true if there is a next panel.
        Returns:
        boolean.
      • canFinish

        public abstract boolean canFinish()
        Returns true if it is possible to finish from this panel.
        Returns:
        boolean.
      • getNextPanel

        public abstract WizardPanel getNextPanel()
        Returns the next panel in the sequence, given the current user input. Returns null if this panel is the last one in the sequence.
        Returns:
        the next panel in the sequence.