Package me.hsgamer.hscore.bukkit.gui
Class BukkitGUIDisplay
java.lang.Object
me.hsgamer.hscore.ui.BaseDisplay<H>
me.hsgamer.hscore.minecraft.gui.GUIDisplay<H>
me.hsgamer.hscore.minecraft.gui.InventoryGUIDisplay<BukkitGUIHolder>
me.hsgamer.hscore.bukkit.gui.BukkitGUIDisplay
- All Implemented Interfaces:
me.hsgamer.hscore.ui.Display,me.hsgamer.hscore.ui.property.Initializable,me.hsgamer.hscore.ui.property.Updatable,org.bukkit.inventory.InventoryHolder
public class BukkitGUIDisplay
extends InventoryGUIDisplay<BukkitGUIHolder>
implements org.bukkit.inventory.InventoryHolder
The
GUIDisplay for Bukkit-
Field Summary
Fields inherited from class me.hsgamer.hscore.ui.BaseDisplay
holder, uuid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.bukkit.inventory.Inventoryprotected InventorySizeprotected voidvoidopen()protected voidMethods inherited from class me.hsgamer.hscore.minecraft.gui.InventoryGUIDisplay
getViewedButton, getViewedButtons, handleEvent, init, stop, updateMethods inherited from class me.hsgamer.hscore.ui.BaseDisplay
getHolder, getUniqueId
-
Constructor Details
-
BukkitGUIDisplay
Create a new display- Parameters:
uuid- the unique idholder- the holder
-
-
Method Details
-
initInventory
protected void initInventory()- Specified by:
initInventoryin classInventoryGUIDisplay<BukkitGUIHolder>
-
clearInventory
protected void clearInventory()- Specified by:
clearInventoryin classInventoryGUIDisplay<BukkitGUIHolder>
-
getInventorySize
- Specified by:
getInventorySizein classInventoryGUIDisplay<BukkitGUIHolder>
-
setButton
- Specified by:
setButtonin classInventoryGUIDisplay<BukkitGUIHolder>
-
open
public void open()- Specified by:
openin classGUIDisplay<BukkitGUIHolder>
-
getInventory
public org.bukkit.inventory.Inventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder
-