Uses of Interface
tech.guilhermekaua.spigotboot.inventoryapi.layout.Layout
Packages that use Layout
Package
Description
-
Uses of Layout in tech.guilhermekaua.spigotboot.inventoryapi.internal.layout
Classes in tech.guilhermekaua.spigotboot.inventoryapi.internal.layout that implement LayoutModifier and TypeClassDescriptionfinal classGrid-parsedLayoutbackingofGrid(java.lang.String...):' 'is empty, every other character is a fill slot ordered by character code point (Unicode value), then occurrence.final classExplicit-orderLayoutbackingofSlots(int...): the i-th given index is the i-th fill position. -
Uses of Layout in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination
Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination that return LayoutModifier and TypeMethodDescription@Nullable LayoutPaginationSpec.explicitLayout()Returns the explicit fill order.Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination that return types with arguments of type LayoutMethods in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination with parameters of type LayoutModifier and TypeMethodDescriptionvoidPaginationBinding.fillPage(@NotNull List<RenderedItem> items, @NotNull Layout layout) voidPaginationHost.fillPage(@NotNull List<RenderedItem> items, @NotNull Layout layout) Applies one engine frame: itemiis mapped ontolayout.slots().get(i).@NotNull PaginationBuilder<T>@NotNull PaginationBuilder<T> -
Uses of Layout in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination.engine
Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination.engine that return LayoutModifier and TypeMethodDescriptionprotected LayoutNormalPagination.renderLayout()protected LayoutPatternPagination.renderLayout()protected LayoutScrollPagination.renderLayout()Constructors in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination.engine with parameters of type LayoutModifierConstructorDescriptionNormalPagination(@Nullable Supplier<RenderedItem> fallbackItem, @NotNull PageItemFactory<T> itemFactory, @NotNull Layout layout) Creates an eager paginator over an initially empty source.NormalPagination(@Nullable Supplier<RenderedItem> fallbackItem, @NotNull PageItemFactory<T> itemFactory, @NotNull Layout layout, @Nullable Supplier<RenderedItem> loadingItem, @NotNull PageSource<T> pageSource) Creates a paginator over the given page source.ScrollPagination(@Nullable Supplier<RenderedItem> fallbackItem, @NotNull PageItemFactory<T> itemFactory, @NotNull Layout layout) Creates an eager paginator over an initially empty source.ScrollPagination(@Nullable Supplier<RenderedItem> fallbackItem, @NotNull PageItemFactory<T> itemFactory, @NotNull Layout layout, @Nullable Supplier<RenderedItem> loadingItem, @NotNull PageSource<T> pageSource) Creates a paginator over the given page source.Constructor parameters in tech.guilhermekaua.spigotboot.inventoryapi.internal.pagination.engine with type arguments of type LayoutModifierConstructorDescriptionPatternPagination(@Nullable Supplier<RenderedItem> fallbackItem, @NotNull PageItemFactory<T> itemFactory, @NotNull List<Layout> patterns) Creates an eager paginator over an initially empty source.PatternPagination(@Nullable Supplier<RenderedItem> fallbackItem, @NotNull PageItemFactory<T> itemFactory, @NotNull List<Layout> patterns, @Nullable Supplier<RenderedItem> loadingItem, @NotNull PageSource<T> pageSource) Creates a paginator over the given page source. -
Uses of Layout in tech.guilhermekaua.spigotboot.inventoryapi.layout
Methods in tech.guilhermekaua.spigotboot.inventoryapi.layout that return LayoutModifier and TypeMethodDescriptionstatic @NotNull LayoutParses a row-by-row ASCII grid:' 'marks an empty slot, every other character is a fill slot; fill order is by character code point (Unicode value), then occurrence order.static @NotNull LayoutLayout.ofSlots(int... slots) Creates a layout that fills slots in exactly the given order. -
Uses of Layout in tech.guilhermekaua.spigotboot.inventoryapi.pagination
Methods in tech.guilhermekaua.spigotboot.inventoryapi.pagination with parameters of type LayoutModifier and TypeMethodDescription@NotNull PaginationBuilder<T>Sets an explicit fill order, silently overridingPaginationBuilder.layoutChar(char).@NotNull PaginationBuilder<T>Switches to pattern geometry: pageppaints into the slots of pattern(p - 1) % patterns.length, cycling through the given patterns.