Package me.hsgamer.hscore.ui
Class BaseDisplay<H extends Holder<?>>
java.lang.Object
me.hsgamer.hscore.ui.BaseDisplay<H>
- Type Parameters:
H
- the type ofHolder
- All Implemented Interfaces:
Display
,Initializable
,Updatable
- Direct Known Subclasses:
GUIDisplay
A simple implementation of
Display
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
BaseDisplay
(@NotNull UUID uuid, H holder) Create a new display -
Method Summary
Modifier and TypeMethodDescriptionGet the holder for the display@NotNull UUID
Get the unique id for the displayMethods 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
-
Field Details
-
uuid
-
holder
-
-
Constructor Details
-
BaseDisplay
Create a new display- Parameters:
uuid
- the unique idholder
- the holder
-
-
Method Details
-
getHolder
Description copied from interface:Display
Get the holder for the display -
getUniqueId
Description copied from interface:Display
Get the unique id for the display- Specified by:
getUniqueId
in interfaceDisplay
- Returns:
- the unique id
-