Class StaticSequencePaginatedMask
java.lang.Object
me.hsgamer.hscore.minecraft.gui.mask.BaseMask
me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
me.hsgamer.hscore.minecraft.gui.mask.impl.SequencePaginatedMask
me.hsgamer.hscore.minecraft.gui.mask.impl.StaticSequencePaginatedMask
- All Implemented Interfaces:
Mask,me.hsgamer.hscore.ui.property.Initializable
The
SequencePaginatedMask with the static list of buttons-
Field Summary
FieldsFields inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.SequencePaginatedMask
maskSlotFields inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
cycle, pageNumberMap -
Constructor Summary
ConstructorsConstructorDescriptionStaticSequencePaginatedMask(@NotNull String name, @NotNull MaskSlot maskSlot) Create a new mask -
Method Summary
Modifier and TypeMethodDescription<T extends Button>
StaticSequencePaginatedMaskaddButton(@NotNull Collection<@NotNull T> buttons) Add button(s)Add button(s)getButtons(UUID uuid) Get the buttons for the unique idvoidinit()voidstop()Methods inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.SequencePaginatedMask
generateButtons, getMaskSlot, getPageAmountMethods inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
getExactPage, getPage, isCycle, nextPage, previousPage, setCycle, setPage
-
Field Details
-
buttons
-
-
Constructor Details
-
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
Description copied from class:SequencePaginatedMaskGet the buttons for the unique id- Specified by:
getButtonsin classSequencePaginatedMask- Parameters:
uuid- the unique id- Returns:
- the buttons
-
init
public void init() -
stop
public void stop()- Specified by:
stopin interfaceme.hsgamer.hscore.ui.property.Initializable- Overrides:
stopin classSequencePaginatedMask
-