Class BasePaginatorControlsPane.AbstractBuilder<B extends BasePaginatorControlsPane.AbstractBuilder<B,P>,P extends BasePaginatorControlsPane<P>>
java.lang.Object
de.placeblock.betterinventories.Builder<B,P>
de.placeblock.betterinventories.content.GUISection.AbstractBuilder<B,P>
de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane.AbstractBuilder<B,P,GUIItem>
de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleItemGUIPane.AbstractBuilder<B,P>
de.placeblock.betterinventories.content.pane.impl.paginator.BasePaginatorControlsPane.AbstractBuilder<B,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>
Builder for
BasePaginatorControlsPane-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBuilder(GUI gui, PaginatorGUIPane paginator) Creates a new Builder -
Method Summary
Modifier and TypeMethodDescriptionnextButton(NextPageGUIButton nextButton) Sets the nextButton attributeposition(PaginatorControlsPosition position) Sets the position attributepreviousButton(PreviousPageGUIButton previousButton) Sets the previousButton attributeMethods inherited from class de.placeblock.betterinventories.content.pane.impl.simple.BaseSimpleGUIPane.AbstractBuilder
autoSize, isAutoSizeMethods inherited from class de.placeblock.betterinventories.content.GUISection.AbstractBuilder
adoptMinMax, getMaxSize, getMinSize, maxSize, maxSize, minSize, minSize, size, size
-
Constructor Details
-
AbstractBuilder
Creates a new Builder- Parameters:
gui- The GUI this Pane belongs topaginator- The paginator this Pane belongs to
-
-
Method Details
-
position
Sets the position attribute- Parameters:
position- The position of the buttons inside the pane- Returns:
- Itself
-
nextButton
Sets the nextButton attribute- Parameters:
nextButton- The button used to get to the next page- Returns:
- Itself
-
previousButton
Sets the previousButton attribute- Parameters:
previousButton- The button used to return to the previous page- Returns:
- Itself
-