Package net.frozenspace.frostlib.gui
Class PersonalGUI
- java.lang.Object
-
- net.frozenspace.frostlib.gui.design.GUI
-
- net.frozenspace.frostlib.gui.PersonalGUI
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bukkit.entity.PlayergetPlayer()Get the owner of this GUIvoidnext()Show the next page to the player (if exist)voidopen()Open the first page of the GUI to the ownervoidprevious()Show the previous page to the player (if exist)voidshow(@NotNull Page page)Show the selected page to the owner
-
-
-
Method Detail
-
open
public void open()
Open the first page of the GUI to the owner
-
show
public void show(@NotNull @NotNull Page page)Show the selected page to the owner- Parameters:
page- Page to show
-
next
public void next()
Show the next page to the player (if exist)
-
previous
public void previous()
Show the previous page to the player (if exist)
-
getPlayer
public org.bukkit.entity.Player getPlayer()
Get the owner of this GUI- Returns:
- The player instance
-
-