Class NextPageGUIButton
java.lang.Object
de.placeblock.betterinventories.content.GUISection
de.placeblock.betterinventories.content.item.GUIItem
de.placeblock.betterinventories.content.item.GUIButton
de.placeblock.betterinventories.content.item.impl.paginator.PaginatorGUIButton
de.placeblock.betterinventories.content.item.impl.paginator.NextPageGUIButton
- All Implemented Interfaces:
Sizeable
A
GUIButton for the PaginatorGUIPane which skips to the next page.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNextPageGUIButton.AbstractBuilder<B extends NextPageGUIButton.AbstractBuilder<B,P>, P extends NextPageGUIButton> Abstract Builder for creatingNextPageGUIButtonstatic classBuilder for creatingNextPageGUIButton -
Field Summary
Fields inherited from class de.placeblock.betterinventories.content.item.impl.paginator.PaginatorGUIButton
paginatorGUIPaneFields inherited from class de.placeblock.betterinventories.content.item.GUIItem
BUTTON_SIZE, itemStackFields inherited from class de.placeblock.betterinventories.content.GUISection
maxSize, minSize -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedNextPageGUIButton(GUI gui, org.bukkit.inventory.ItemStack item, int cooldown, org.bukkit.Sound sound, String permission, PaginatorGUIPane paginatorGUIPane) Creates a new NextPageGUIButton -
Method Summary
Methods inherited from class de.placeblock.betterinventories.content.item.GUIButton
applyCooldown, click, hasPermission, onItemClick, onLeftClick, onRightClick, onShiftClick, onShiftLeftClick, onShiftRightClick, setCooldownMethods inherited from class de.placeblock.betterinventories.content.item.GUIItem
onItemAdd, onItemAmount, onItemRemove, onItemRemoveTroughInventoryClose, render, searchMethods inherited from class de.placeblock.betterinventories.content.GUISection
getEmptyContentList, getHeight, getSlots, getWidth, setSize, slotToVector, vectorToSlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.placeblock.betterinventories.Sizeable
clampSize, getMaxSize, getMinSize, getSize
-
Constructor Details
-
NextPageGUIButton
protected NextPageGUIButton(GUI gui, org.bukkit.inventory.ItemStack item, int cooldown, org.bukkit.Sound sound, String permission, PaginatorGUIPane paginatorGUIPane) Creates a new NextPageGUIButton- Parameters:
paginatorGUIPane- The according paginatorgui- The GUIcooldown- The cooldown of the Buttonpermission- The permission required to press this buttonsound- The sound played when pressing this buttonitem- The ItemStack of the Button
-
-
Method Details