Uses of Class
io.github.toberocat.guiengine.context.GuiContext
Packages that use GuiContext
Package
Description
-
Uses of GuiContext in io.github.toberocat.guiengine
Fields in io.github.toberocat.guiengine with type parameters of type GuiContextModifier and TypeFieldDescriptionstatic final @NotNull Map<UUID,GuiContext> GuiEngineApi.LOADED_CONTEXTSMethods in io.github.toberocat.guiengine that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextOpens a GUI with the specified ID for the given player, using the default placeholders.@NotNull GuiContextGuiEngineApi.openGui(@NotNull org.bukkit.entity.Player player, @NotNull String guiId, @NotNull Map<String, String> placeholders) Opens a GUI with the specified ID for the given player, using the provided placeholders. -
Uses of GuiContext in io.github.toberocat.guiengine.components
Fields in io.github.toberocat.guiengine.components declared as GuiContextModifier and TypeFieldDescriptionprotected @Nullable GuiContextAbstractGuiComponent.contextThe context this component owns toMethods in io.github.toberocat.guiengine.components with parameters of type GuiContextModifier and TypeMethodDescriptionvoidContextContainer.addContext(GuiContext context) voidAbstractGuiComponent.setContext(@NotNull GuiContext context) voidGuiComponent.setContext(@NotNull GuiContext context) Set the GUI context for the component. -
Uses of GuiContext in io.github.toberocat.guiengine.components.provided.embedded
Fields in io.github.toberocat.guiengine.components.provided.embedded declared as GuiContext -
Uses of GuiContext in io.github.toberocat.guiengine.components.provided.paged
Methods in io.github.toberocat.guiengine.components.provided.paged with parameters of type GuiContextModifier and TypeMethodDescriptionvoidPagedComponent.addContext(GuiContext context) voidPagedComponent.addPage(@NotNull GuiContext page) Adds a new page to the paged component.voidPagedComponent.addPage(@NotNull GuiContext page, int position) Adds a new page to the paged component at the specified position. -
Uses of GuiContext in io.github.toberocat.guiengine.context
Methods in io.github.toberocat.guiengine.context that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextGuiContext.getContext()Returns the current `GuiContext`. -
Uses of GuiContext in io.github.toberocat.guiengine.event
Methods in io.github.toberocat.guiengine.event that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextGuiEventListener.getContext()Gets the associated `GuiContext` for the listener. -
Uses of GuiContext in io.github.toberocat.guiengine.event.spigot
Methods in io.github.toberocat.guiengine.event.spigot that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextGuiEngineEvent.getContext()Gets the `GuiContext` associated with this GUI engine event.Constructors in io.github.toberocat.guiengine.event.spigot with parameters of type GuiContextModifierConstructorDescriptionGuiCloseEvent(@NotNull GuiContext context, @NotNull org.bukkit.event.inventory.InventoryCloseEvent closeEvent) Constructs a new `GuiCloseEvent` with the associated `GuiContext` and the inventory close event.GuiComponentClickEvent(@NotNull GuiContext context, @NotNull org.bukkit.event.inventory.InventoryClickEvent clickEvent, @Nullable GuiComponent targetComponent) Constructs a new `GuiComponentClickEvent` with the associated `GuiContext`, click event, and target component (if any).GuiComponentDragEvent(@NotNull GuiContext context, @NotNull org.bukkit.event.inventory.InventoryDragEvent dragEvent, @Nullable GuiComponent targetComponent) Constructs a new `GuiComponentDragEvent` with the associated `GuiContext`, drag event, and target component (if any).GuiEngineEvent(@NotNull GuiContext context) Constructs a new `GuiEngineEvent` with the associated `GuiContext`. -
Uses of GuiContext in io.github.toberocat.guiengine.function
Methods in io.github.toberocat.guiengine.function with parameters of type GuiContextModifier and TypeMethodDescriptionstatic @NotNull StringFunctionProcessor.applyFunctions(@NotNull GuiEngineApi api, @NotNull GuiContext context, @NotNull String value) Applies to compute functions to the provided value, replacing placeholders with their computed values.voidGuiFunction.call(@NotNull GuiEngineApi api, @NotNull GuiContext context) Calls the GUI function with the specified API and context.static voidFunctionProcessor.callFunctions(@NotNull Collection<GuiFunction> functions, @NotNull GuiEngineApi api, @NotNull GuiContext context) Calls a collection of GUI functions with the specified API and context.@NotNull StringComputeFunction.compute(@NotNull GuiEngineApi api, @NotNull GuiContext context, @NotNull String value) Computes the value of the provided placeholder.Method parameters in io.github.toberocat.guiengine.function with type arguments of type GuiContextModifier and TypeMethodDescriptionstatic @NotNull GuiFunctionGuiFunction.anonymous(BiConsumer<GuiEngineApi, GuiContext> method) -
Uses of GuiContext in io.github.toberocat.guiengine.function.call
Methods in io.github.toberocat.guiengine.function.call with parameters of type GuiContextModifier and TypeMethodDescriptionvoidActionFunction.call(@NotNull GuiEngineApi api, @NotNull GuiContext context) Calls the specified action using the provided API and context.voidAddComponentsFunction.call(@NotNull GuiEngineApi api, @NotNull GuiContext context) Calls the `addComponents` method using the provided API and context to add components to the GUI.voidEditComponentFunction.call(@NotNull GuiEngineApi api, @NotNull GuiContext context) Calls the `editXmlComponentById` method using the provided API and context to edit a component's attribute in the GUI.voidRemoveComponentFunction.call(@NotNull GuiEngineApi api, @NotNull GuiContext context) Calls the `removeById` method using the provided API and context to remove a component from the GUI. -
Uses of GuiContext in io.github.toberocat.guiengine.function.compute
Methods in io.github.toberocat.guiengine.function.compute with parameters of type GuiContextModifier and TypeMethodDescription@NotNull StringGuiComponentPropertyFunction.compute(@NotNull GuiEngineApi api, @NotNull GuiContext context, @NotNull String value) Computes the value of the provided placeholder, which represents a attribute of a GUI component.@NotNull StringHasNotPermissionFunction.compute(@NotNull GuiEngineApi api, @NotNull GuiContext context, @NotNull String value) Computes the result of the permission check using the provided API and context.@NotNull StringHasPermissionFunction.compute(@NotNull GuiEngineApi api, @NotNull GuiContext context, @NotNull String value) Computes the result of the permission check using the provided API and context. -
Uses of GuiContext in io.github.toberocat.guiengine.interpreter
Methods in io.github.toberocat.guiengine.interpreter that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextDefaultInterpreter.loadContent(@NotNull GuiEngineApi api, @NotNull org.bukkit.entity.Player viewer, @NotNull XmlGui xmlGui) Loads the GUI content from the given XmlGui and creates a GuiContext with the associated components.@NotNull GuiContextGuiInterpreter.loadContent(@NotNull GuiEngineApi api, @NotNull org.bukkit.entity.Player viewer, @NotNull XmlGui xmlGui) Loads the content of a GUI based on the provided XML GUI definition and player viewer.Methods in io.github.toberocat.guiengine.interpreter with parameters of type GuiContextModifier and TypeMethodDescription@NotNull GuiComponentDefaultInterpreter.bindComponent(@NotNull GuiComponent component, @NotNull GuiEngineApi api, @NotNull GuiContext context) Binds a GuiComponent to the provided GuiEngineApi and GuiContext, and adds actions from the context's local actions.@NotNull GuiComponentGuiInterpreter.bindComponent(@NotNull GuiComponent component, @NotNull GuiEngineApi api, @NotNull GuiContext context) Binds an existing GUI component to the specified GUI context.@Nullable GuiComponentDefaultInterpreter.createComponent(@NotNull XmlComponent xmlComponent, @NotNull GuiEngineApi api, @NotNull GuiContext context) Creates a GuiComponent from the given XmlComponent and binds it to the provided GuiEngineApi and GuiContext.@Nullable GuiComponentGuiInterpreter.createComponent(@NotNull XmlComponent xmlComponent, @NotNull GuiEngineApi api, @NotNull GuiContext context) Creates a GUI component based on the provided XML component definition. -
Uses of GuiContext in io.github.toberocat.guiengine.render
Methods in io.github.toberocat.guiengine.render with parameters of type GuiContextModifier and TypeMethodDescriptiondefault @NotNull org.bukkit.inventory.InventoryGuiRenderEngine.createInventory(@NotNull GuiContext context, @NotNull org.bukkit.entity.Player viewer, @NotNull Map<String, String> placeholders) Creates an inventory representing the GUI using the provided GuiContext and placeholders.voidDefaultGuiRenderEngine.renderGui(@NotNull org.bukkit.inventory.ItemStack[][] renderBuffer, @NotNull GuiContext context, @NotNull org.bukkit.entity.Player viewer) Renders the GUI using the provided render buffer, GuiContext, and Player viewer.voidGuiRenderEngine.renderGui(@NotNull org.bukkit.inventory.ItemStack[][] renderBuffer, @NotNull GuiContext context, @NotNull org.bukkit.entity.Player viewer) Renders the GUI using the provided render buffer, GuiContext, and Player viewer.default voidGuiRenderEngine.showGui(@NotNull GuiContext content, @NotNull org.bukkit.entity.Player viewer, @NotNull Map<String, String> placeholders) Shows the GUI to the specified player using the provided GuiContext and placeholders. -
Uses of GuiContext in io.github.toberocat.guiengine.utils
Methods in io.github.toberocat.guiengine.utils that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextParserContext.context()Returns the value of thecontextrecord component.Constructors in io.github.toberocat.guiengine.utils with parameters of type GuiContextModifierConstructorDescriptionParserContext(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull GuiContext context, @NotNull GuiEngineApi api) Creates an instance of aParserContextrecord class. -
Uses of GuiContext in io.github.toberocat.guiengine.view
Methods in io.github.toberocat.guiengine.view that return GuiContextModifier and TypeMethodDescription@NotNull GuiContextGuiView.context()Returns the value of thecontextrecord component.Constructors in io.github.toberocat.guiengine.view with parameters of type GuiContextModifierConstructorDescriptionGuiView(@NotNull org.bukkit.inventory.Inventory inventory, @NotNull GuiContext context) Creates an instance of aGuiViewrecord class.