Class Wizard.WizardFooter

Enclosing class:
Wizard

public class Wizard.WizardFooter extends Component<Wizard.WizardFooter>

Footer for the wizard component.

The footer contains navigation buttons such as previous step, next step and finish.

Since:
4.0
Author:
JBStrap
  • Field Details

    • backBtn

      public final Button backBtn
    • nextBtn

      public final Button nextBtn
    • finishBtn

      public final Button finishBtn
  • Constructor Details

    • WizardFooter

      public WizardFooter(String id, Wizard parent)
      Parameters:
      id - The component ID. The ID specified here will appear in the HTML tag as an ID attribute. If there are multiple components displayed, that have the same ID, the ID numbers will be numbered, in the order they are displayed. (For example, if the ID is 'COMPONENT' then it will be numbered like this: COMPONENT, COMPONENT_1, COMPONENT_2 etc.)
      parent - The wizard component instance associated with the footer
      Throws:
      NullPointerException - Thrown if the specified wizard component is null
  • Method Details

    • getNextBtn

      public Button getNextBtn()
      Gets the “Next” button in the footer.
      Returns:
      An instance of the footer’s “Next” button
    • getBackBtn

      public Button getBackBtn()
      Gets the “Previous” button in the footer.
      Returns:
      An instance of the footer’s “Previous” button
    • getFinishBtn

      public Button getFinishBtn()
      Gets the footer’s “Finish” button.
      Returns:
      An instance of the footer’s “Finish” button
    • writeHTML

      public boolean writeHTML(StringWriter writer)
      Description copied from class: Component
      Creates the component's HTML equivalent

      This method doesn't need to be used during application development. This method is used when developing a custom component. When creating a custom component, this method needs to be implemented. In the parameter (StringWriter class) the component's HTML equivalent must be specified, and the method has to return with a Boolean value. This boolean value determines if the component was drawn. If the user doesn't have access right to the component, or if the component couldn't be drawn, it should return with false. Otherwise, it must return with true.

      Specified by:
      writeHTML in class Component<Wizard.WizardFooter>
      Returns:
      If the componentwas drawn, true, otherwise false