Package dev.kitteh.factions.gui
Class GUI<Type>
java.lang.Object
dev.kitteh.factions.gui.GUI<Type>
- All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder
- Direct Known Subclasses:
WarpGUI
@Obsolete
public abstract class GUI<Type>
extends Object
implements org.bukkit.inventory.InventoryHolder
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()protected voidprotected voidvoidclick(int slot) protected abstract Map<Integer, SimpleItem> @NonNull org.bukkit.inventory.Inventoryprotected abstract SimpleItemprotected abstract StringgetName()protected abstract voidvoidopen()protected voidparse(SimpleItem item, Type type) protected abstract Stringprotected StringparseDefault(String toParse)
-
Field Details
-
inventory
protected org.bukkit.inventory.Inventory inventory -
size
protected final int size -
back
protected final int back- See Also:
-
user
-
-
Constructor Details
-
GUI
-
-
Method Details
-
getName
-
parse
-
onClick
-
click
public void click(int slot) -
createSlotMap
-
build
public void build() -
getItem
-
buildItems
protected void buildItems() -
createDummyItems
-
buildDummyItems
protected void buildDummyItems() -
parse
-
parseList
-
parseDefault
-
getInventory
public @NonNull org.bukkit.inventory.Inventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder
-
open
public void open()
-