Class MaskPaginatedMask
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
- All Implemented Interfaces:
Mask,me.hsgamer.hscore.ui.property.Initializable
- Direct Known Subclasses:
StaticMaskPaginatedMask
The mask paginated mask, those with a long list of
Mask divided into pages.-
Field Summary
Fields inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
cycle, pageNumberMap -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMaskPaginatedMask(@NotNull String name) Create a new mask -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the target can view the maskgenerateButtons(@NotNull UUID uuid) Generate the buttons for the unique idGet the masks for the unique idintgetPageAmount(@NotNull UUID uuid) Get the amount of pages for the unique idvoidstop()Methods inherited from class me.hsgamer.hscore.minecraft.gui.mask.impl.PaginatedMask
getExactPage, getPage, isCycle, nextPage, previousPage, setCycle, setPageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.hsgamer.hscore.ui.property.Initializable
init
-
Constructor Details
-
MaskPaginatedMask
Create a new mask- Parameters:
name- the name of the mask
-
-
Method Details
-
getMasks
Get the masks for the unique id- Parameters:
uuid- the unique id- Returns:
- the masks
-
generateButtons
Description copied from interface:MaskGenerate the buttons for the unique id- Parameters:
uuid- the unique id- Returns:
- the map contains the slots and the buttons
-
canView
Description copied from interface:MaskCheck if the target can view the mask- Parameters:
uuid- the unique id of the target- Returns:
- true if the target can view the mask
-
getPageAmount
Description copied from class:PaginatedMaskGet the amount of pages for the unique id- Specified by:
getPageAmountin classPaginatedMask- Parameters:
uuid- the unique id- Returns:
- the amount of pages
-
stop
public void stop()
-