Package me.hsgamer.hscore.minecraft.gui
Class GUIDisplay<H extends GUIHolder<?>>
java.lang.Object
me.hsgamer.hscore.ui.BaseDisplay<H>
me.hsgamer.hscore.minecraft.gui.GUIDisplay<H>
- Type Parameters:
H
- the type of the holder
- All Implemented Interfaces:
Display
,Initializable
,Updatable
- Direct Known Subclasses:
InventoryGUIDisplay
The base
Display
for UI in Minecraft-
Field Summary
Fields inherited from class me.hsgamer.hscore.ui.BaseDisplay
holder, uuid
-
Constructor Summary
ModifierConstructorDescriptionprotected
GUIDisplay
(@NotNull UUID uuid, H holder) Create a new display -
Method Summary
Modifier and TypeMethodDescriptionabstract void
handleEvent
(ViewerEvent event) Handle the eventabstract void
open()
Open the displayMethods inherited from class me.hsgamer.hscore.ui.BaseDisplay
getHolder, getUniqueId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface me.hsgamer.hscore.ui.property.Initializable
init, stop
-
Constructor Details
-
GUIDisplay
Create a new display- Parameters:
uuid
- the unique idholder
- the holder
-
-
Method Details
-
open
public abstract void open()Open the display -
handleEvent
Handle the event- Parameters:
event
- the event
-