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
A simple implementation of
Display-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseDisplay(@NotNull UUID uuid, H holder) Create a new display -
Method Summary
Modifier and TypeMethodDescriptionGet the holder for the display@NotNull UUIDGet the unique id for the displayMethods 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, handleEventMethods 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:DisplayGet the holder for the display -
getUniqueId
Description copied from interface:DisplayGet the unique id for the display- Specified by:
getUniqueIdin interfaceDisplay- Returns:
- the unique id
-