Class SCComponent

java.lang.Object
net.sacredlabyrinth.phaed.simpleclans.ui.SCComponent
Direct Known Subclasses:
SCComponentImpl

public abstract class SCComponent extends Object
Class that represents a button
Author:
RoinujNosde
  • Constructor Details

    • SCComponent

      public SCComponent()
  • Method Details

    • getItem

      @NotNull public abstract @NotNull org.bukkit.inventory.ItemStack getItem()
    • getSlot

      public abstract int getSlot()
    • getItemMeta

      @Nullable public @Nullable org.bukkit.inventory.meta.ItemMeta getItemMeta()
    • setItemMeta

      public void setItemMeta(@NotNull @NotNull org.bukkit.inventory.meta.ItemMeta itemMeta)
    • setVerifiedOnly

      public void setVerifiedOnly(@NotNull @NotNull org.bukkit.event.inventory.ClickType clickType)
    • isVerifiedOnly

      public boolean isVerifiedOnly(@NotNull @NotNull org.bukkit.event.inventory.ClickType clickType)
    • setLorePermission

      public void setLorePermission(@Nullable @Nullable RankPermission permission)
    • setLorePermission

      public void setLorePermission(@Nullable @Nullable String permission)
    • getLorePermission

      @Nullable public @Nullable Object getLorePermission()
    • setPermission

      public void setPermission(@NotNull @NotNull org.bukkit.event.inventory.ClickType click, @Nullable @Nullable RankPermission permission)
    • setPermission

      public void setPermission(@NotNull @NotNull org.bukkit.event.inventory.ClickType click, @Nullable @Nullable String permission)
    • getPermission

      @Nullable public @Nullable Object getPermission(@NotNull @NotNull org.bukkit.event.inventory.ClickType click)
    • setListener

      public void setListener(@NotNull @NotNull org.bukkit.event.inventory.ClickType click, @Nullable @Nullable Runnable listener)
    • getListener

      @Nullable public @Nullable Runnable getListener(@NotNull @NotNull org.bukkit.event.inventory.ClickType click)
    • setConfirmationRequired

      public void setConfirmationRequired(@NotNull @NotNull org.bukkit.event.inventory.ClickType click)
    • isConfirmationRequired

      public boolean isConfirmationRequired(@NotNull @NotNull org.bukkit.event.inventory.ClickType click)