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.minecraft.gui.GUIDisplay
viewedButtonsFields inherited from class me.hsgamer.hscore.ui.BaseDisplay
holder, uuid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.bukkit.inventory.Inventoryprotected intprotected voidvoidopen()voidscheduleReopen(CloseEvent event) protected voidMethods inherited from class me.hsgamer.hscore.minecraft.gui.InventoryGUIDisplay
init, stop, updateMethods inherited from class me.hsgamer.hscore.minecraft.gui.GUIDisplay
getViewedButton, getViewedButtons, handleClickEventMethods inherited from class me.hsgamer.hscore.ui.BaseDisplay
getHolder, getUniqueIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.ui.Display
handleEvent, handleEvent
-
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
protected int getInventorySize()- Specified by:
getInventorySizein classInventoryGUIDisplay<BukkitGUIHolder>
-
setButton
- Specified by:
setButtonin classInventoryGUIDisplay<BukkitGUIHolder>
-
scheduleReopen
- Specified by:
scheduleReopenin classGUIDisplay<BukkitGUIHolder>
-
open
public void open()- Specified by:
openin classGUIDisplay<BukkitGUIHolder>
-
getInventory
public org.bukkit.inventory.Inventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder
-