Class Pagination.Builder<T>

java.lang.Object
studio.mevera.lotus.api.pagination.AbstractPagination.Builder<net.kyori.adventure.text.Component,T,PaperPageContext<T>,Pagination<T>>
studio.mevera.lotus.paper.api.pagination.Pagination.Builder<T>
Enclosing class:
Pagination<T>

public static final class Pagination.Builder<T> extends studio.mevera.lotus.api.pagination.AbstractPagination.Builder<net.kyori.adventure.text.Component,T,PaperPageContext<T>,Pagination<T>>
  • Field Summary

    Fields inherited from class studio.mevera.lotus.api.pagination.AbstractPagination.Builder

    id
  • Method Summary

    Modifier and Type
    Method
    Description
    protected @NotNull Pagination<T>
    create(@NotNull studio.mevera.lotus.api.pagination.PageLayout<net.kyori.adventure.text.Component,PaperPageContext<T>> layout, @NotNull studio.mevera.lotus.api.pagination.ContentSource<T> source, @NotNull studio.mevera.lotus.api.pagination.ComponentRenderer<T,PaperPageContext<T>> renderer, boolean trimOverflow)
     

    Methods inherited from class studio.mevera.lotus.api.pagination.AbstractPagination.Builder

    build, layout, renderer, source, trimOverflow

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • create

      @NotNull protected @NotNull Pagination<T> create(@NotNull @NotNull studio.mevera.lotus.api.pagination.PageLayout<net.kyori.adventure.text.Component,PaperPageContext<T>> layout, @NotNull @NotNull studio.mevera.lotus.api.pagination.ContentSource<T> source, @NotNull @NotNull studio.mevera.lotus.api.pagination.ComponentRenderer<T,PaperPageContext<T>> renderer, boolean trimOverflow)
      Specified by:
      create in class studio.mevera.lotus.api.pagination.AbstractPagination.Builder<net.kyori.adventure.text.Component,T,PaperPageContext<T>,Pagination<T>>