Class StaticMaskPaginatedMask
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.MaskPaginatedMask
me.hsgamer.hscore.minecraft.gui.mask.impl.StaticMaskPaginatedMask
- All Implemented Interfaces:
Mask,me.hsgamer.hscore.ui.property.Initializable
The
MaskPaginatedMask with the static list of masks-
Field Summary
FieldsFields inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
cycle, pageNumberMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Mask>
StaticMaskPaginatedMaskaddMask(@NotNull Collection<@NotNull T> masks) Add mask(s)Add mask(s)Get the masks for the unique idvoidinit()voidstop()Methods inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.MaskPaginatedMask
generateButtonsMethods inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
generateButtons, getAndSetExactPage, getExactPage, getPage, isCycle, nextPage, previousPage, setCycle, setPage
-
Field Details
-
masks
-
-
Constructor Details
-
StaticMaskPaginatedMask
Create a new mask- Parameters:
name- the name of the mask
-
-
Method Details
-
addMask
@Contract("_ -> this") public <T extends Mask> StaticMaskPaginatedMask addMask(@NotNull @NotNull Collection<@NotNull T> masks) Add mask(s)- Type Parameters:
T- the type of the mask- Parameters:
masks- the mask- Returns:
- this instance
-
addMask
Add mask(s)- Parameters:
mask- the mask- Returns:
- this instance
-
getMasks
Description copied from class:MaskPaginatedMaskGet the masks for the unique id- Specified by:
getMasksin classMaskPaginatedMask- Parameters:
uuid- the unique id- Returns:
- the masks
-
init
public void init() -
stop
public void stop()- Specified by:
stopin interfaceme.hsgamer.hscore.ui.property.Initializable- Overrides:
stopin classMaskPaginatedMask
-