Package de.studiocode.invui.gui.impl
Class SimpleScrollItemsGUI
java.lang.Object
de.studiocode.invui.gui.impl.BaseGUI
de.studiocode.invui.gui.impl.ScrollGUI
de.studiocode.invui.gui.impl.SimpleScrollItemsGUI
- All Implemented Interfaces:
Controllable,GUI,GUIParent
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleScrollItemsGUI(int width, int height, @Nullable List<Item> items, int... itemListSlots) SimpleScrollItemsGUI(@Nullable List<Item> items, @NotNull Structure structure) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<SlotElement>getElements(int from, int to) protected intvoidMethods inherited from class de.studiocode.invui.gui.impl.ScrollGUI
canScroll, getCurrentLine, getLineLength, scroll, setCurrentLine, updateMethods inherited from class de.studiocode.invui.gui.impl.BaseGUI
addItems, addParent, applyStructure, cancelAnimation, closeForAllViewers, fill, fill, fill, fillBorders, fillColumn, fillRectangle, fillRectangle, fillRectangle, fillRectangle, fillRow, findAllCurrentViewers, findAllWindows, getAllVirtualInventories, getBackground, getHeight, getItem, getItem, getParents, getSize, getSlotElement, getSlotElement, getSlotElements, getWidth, handleClick, handleItemDrag, handleItemShift, handleSlotElementUpdate, handleVIDoubleClick, handleVIDrop, handleVIItemShift, handleVILeftClick, handleVINumberKey, handleVIOffHandKey, handleVIRightClick, handleVISlotElementClick, hasSlotElement, hasSlotElement, playAnimation, putIntoFirstVirtualInventory, remove, remove, removeParent, setBackground, setItem, setItem, setSlotElement, setSlotElement, updateControlItems
-
Constructor Details
-
SimpleScrollItemsGUI
-
SimpleScrollItemsGUI
-
-
Method Details
-
setItems
-
getElements
- Specified by:
getElementsin classScrollGUI
-
getMaxLineIndex
protected int getMaxLineIndex()- Specified by:
getMaxLineIndexin classScrollGUI
-