Uses of Interface
com.github.pinont.singularitylib.api.ui.Button
Packages that use Button
-
Uses of Button in com.github.pinont.singularitylib.api.ui
Methods in com.github.pinont.singularitylib.api.ui that return ButtonModifier and TypeMethodDescriptionstatic ButtonA button that re-opens the given parent menu when clicked.static ButtonStandardButtons.cancel(org.bukkit.plugin.Plugin plugin, org.bukkit.Material material, String label, Runnable action) A cancel-style button that runs the given action on click.static ButtonStandardButtons.close(org.bukkit.plugin.Plugin plugin) A button that closes the open inventory.static ButtonStandardButtons.confirm(org.bukkit.plugin.Plugin plugin, org.bukkit.Material material, String label, Runnable action) A confirmation-style button that runs the given action on click.static ButtonStandardButtons.filler(org.bukkit.plugin.Plugin plugin, org.bukkit.Material material) A non-interactive filler item (e.g.Layout.getButton()Gets the button associated with this layout.Methods in com.github.pinont.singularitylib.api.ui that return types with arguments of type ButtonMethods in com.github.pinont.singularitylib.api.ui with parameters of type ButtonMethod parameters in com.github.pinont.singularitylib.api.ui with type arguments of type ButtonModifier and TypeMethodDescriptionprotected voidPaginatedMenu.addExtraBottomRowInto(List<Button> buttons) Hook: subclasses add bottom-row buttons here (they are merged before rendering).Constructors in com.github.pinont.singularitylib.api.ui with parameters of type Button