Interface Display

All Superinterfaces:
Initializable, Updatable
All Known Implementing Classes:
BaseDisplay

public interface Display extends Initializable, Updatable
The display
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Holder<?>
    Get the holder for the display
    @NotNull UUID
    Get the unique id for the display
    default <E> void
    handleEvent(@NotNull Class<E> eventClass, E event)
    Handler the event
    default void
    handleEvent(@NotNull Object event)
    Handle the event

    Methods inherited from interface me.hsgamer.hscore.ui.property.Initializable

    init, stop

    Methods inherited from interface me.hsgamer.hscore.ui.property.Updatable

    update
  • Method Details

    • handleEvent

      default <E> void handleEvent(@NotNull @NotNull Class<E> eventClass, @NotNull E event)
      Handler the event
      Type Parameters:
      E - the event type
      Parameters:
      eventClass - the event class
      event - the event
    • handleEvent

      default void handleEvent(@NotNull @NotNull Object event)
      Handle the event
      Parameters:
      event - the event
    • getHolder

      @NotNull @NotNull Holder<?> getHolder()
      Get the holder for the display
      Returns:
      the holder
    • getUniqueId

      @NotNull @NotNull UUID getUniqueId()
      Get the unique id for the display
      Returns:
      the unique id