Class BasePaginatorControlsPane.AbstractBuilder<B extends BasePaginatorControlsPane.AbstractBuilder<B,P>,P extends BasePaginatorControlsPane<P>>

Direct Known Subclasses:
PaginatorControlsPane.Builder
Enclosing class:
BasePaginatorControlsPane<P extends BasePaginatorControlsPane<P>>

public abstract static class BasePaginatorControlsPane.AbstractBuilder<B extends BasePaginatorControlsPane.AbstractBuilder<B,P>,P extends BasePaginatorControlsPane<P>> extends BaseSimpleItemGUIPane.AbstractBuilder<B,P>
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder(GUI gui, PaginatorGUIPane paginator)
      Creates a new Builder
      Parameters:
      gui - The GUI this Pane belongs to
      paginator - The paginator this Pane belongs to
  • Method Details

    • position

      public B position(PaginatorControlsPosition position)
      Sets the position attribute
      Parameters:
      position - The position of the buttons inside the pane
      Returns:
      Itself
    • nextButton

      public B nextButton(NextPageGUIButton nextButton)
      Sets the nextButton attribute
      Parameters:
      nextButton - The button used to get to the next page
      Returns:
      Itself
    • previousButton

      public B previousButton(PreviousPageGUIButton previousButton)
      Sets the previousButton attribute
      Parameters:
      previousButton - The button used to return to the previous page
      Returns:
      Itself