Class GUIContext

java.lang.Object
de.studiocode.invui.gui.builder.GUIContext

public class GUIContext extends Object
The GUIContext contains all information from the GUIBuilder to be passed to an instance of GUIType to create a new GUI.
  • Constructor Details

    • GUIContext

      public GUIContext()
  • Method Details

    • getStructure

      public Structure getStructure()
    • setStructure

      public void setStructure(@NotNull @NotNull Structure structure)
    • getBackground

      public ItemProvider getBackground()
    • setBackground

      public void setBackground(ItemProvider background)
    • getGuis

      public List<GUI> getGuis()
    • setGuis

      public void setGuis(@NotNull @NotNull List<GUI> guis)
    • getItems

      public List<Item> getItems()
    • setItems

      public void setItems(@NotNull @NotNull List<Item> items)
    • getInventory

      public VirtualInventory getInventory()
    • setInventory

      public void setInventory(@NotNull @NotNull VirtualInventory inventory)