Class StaticSequencePaginatedMask

All Implemented Interfaces:
Mask, me.hsgamer.hscore.ui.property.Initializable

public class StaticSequencePaginatedMask extends SequencePaginatedMask
The SequencePaginatedMask with the static list of buttons
  • Field Details

  • Constructor Details

    • StaticSequencePaginatedMask

      public StaticSequencePaginatedMask(@NotNull @NotNull String name, @NotNull @NotNull MaskSlot maskSlot)
      Create a new mask
      Parameters:
      name - the name of the mask
      maskSlot - the mask slot
  • Method Details

    • addButton

      @Contract("_ -> this") public <T extends Button> StaticSequencePaginatedMask addButton(@NotNull @NotNull Collection<@NotNull T> buttons)
      Add button(s)
      Type Parameters:
      T - the type of the button
      Parameters:
      buttons - the buttons
      Returns:
      this instance
    • addButton

      @Contract("_ -> this") public StaticSequencePaginatedMask addButton(@NotNull @NotNull Button... button)
      Add button(s)
      Parameters:
      button - the button
      Returns:
      this instance
    • getButtons

      @NotNull public @NotNull List<Button> getButtons(UUID uuid)
      Description copied from class: SequencePaginatedMask
      Get the buttons for the unique id
      Specified by:
      getButtons in class SequencePaginatedMask
      Parameters:
      uuid - the unique id
      Returns:
      the buttons
    • init

      public void init()
    • stop

      public void stop()
      Specified by:
      stop in interface me.hsgamer.hscore.ui.property.Initializable
      Overrides:
      stop in class SequencePaginatedMask