Class DynamicPagedLayer<T>
java.lang.Object
com.github.darksoulq.abyssallib.world.gui.layer.PagedLayer<T>
com.github.darksoulq.ner.gui.layer.DynamicPagedLayer<T>
- All Implemented Interfaces:
com.github.darksoulq.abyssallib.world.gui.GuiLayer
public class DynamicPagedLayer<T>
extends com.github.darksoulq.abyssallib.world.gui.layer.PagedLayer<T>
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicPagedLayer(List<T> source, int[] slots, com.github.darksoulq.abyssallib.world.gui.GuiView.Segment segment, BiFunction<T, Integer, com.github.darksoulq.abyssallib.world.gui.GuiElement> mapper) -
Method Summary
Modifier and TypeMethodDescriptionvoidnext(com.github.darksoulq.abyssallib.world.gui.GuiView view) voidprevious(com.github.darksoulq.abyssallib.world.gui.GuiView view) voidupdateSource(List<T> newSource, com.github.darksoulq.abyssallib.world.gui.GuiView view) Methods inherited from class com.github.darksoulq.abyssallib.world.gui.layer.PagedLayer
cleanup, getPage, getPageCount, invalidate, of, of, renderTo, setFilter
-
Constructor Details
-
DynamicPagedLayer
public DynamicPagedLayer(List<T> source, int[] slots, com.github.darksoulq.abyssallib.world.gui.GuiView.Segment segment, BiFunction<T, Integer, com.github.darksoulq.abyssallib.world.gui.GuiElement> mapper)
-
-
Method Details
-
next
public void next(com.github.darksoulq.abyssallib.world.gui.GuiView view) - Overrides:
nextin classcom.github.darksoulq.abyssallib.world.gui.layer.PagedLayer<T>
-
previous
public void previous(com.github.darksoulq.abyssallib.world.gui.GuiView view) - Overrides:
previousin classcom.github.darksoulq.abyssallib.world.gui.layer.PagedLayer<T>
-
updateSource
-