Class Element
java.lang.Object
com.stardevllc.starcore.api.ui.element.Element
- Direct Known Subclasses:
Button,DynamicElement,FillerElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected Function<org.bukkit.entity.Player, org.bukkit.inventory.ItemStack> protected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFunction<org.bukkit.entity.Player, org.bukkit.inventory.ItemStack> iconCreator(Function<org.bukkit.entity.Player, org.bukkit.inventory.ItemStack> iconCreator) booleanbooleanbooleansetAllowInsert(boolean allowInsert) setDeleteOnUpdate(boolean deleteOnUpdate) setReplaceable(boolean replaceable)
-
Field Details
-
iconCreator
-
allowInsert
protected boolean allowInsert -
isReplaceable
protected boolean isReplaceable -
deleteOnUpdate
protected boolean deleteOnUpdate
-
-
Constructor Details
-
Element
public Element() -
Element
public Element(Function<org.bukkit.entity.Player, org.bukkit.inventory.ItemStack> iconCreator, boolean allowInsert, boolean isReplaceable, boolean deleteOnUpdate) -
Element
-
-
Method Details
-
iconCreator
-
getIconCreator
-
isReplaceable
public boolean isReplaceable() -
isAllowInsert
public boolean isAllowInsert() -
isDeleteOnUpdate
public boolean isDeleteOnUpdate() -
setAllowInsert
-
setReplaceable
-
setDeleteOnUpdate
-