Uses of Record Class
io.github.toberocat.guiengine.xml.XmlComponent
Packages that use XmlComponent
Package
Description
-
Uses of XmlComponent in io.github.toberocat.guiengine.context
Methods in io.github.toberocat.guiengine.context with parameters of type XmlComponentModifier and TypeMethodDescriptionvoidGuiContext.add(@NotNull GuiEngineApi api, @NotNull XmlComponent component) Adds an XML component to this context.voidGuiContext.add(@NotNull GuiEngineApi api, @NotNull XmlComponent @NotNull ... components) Adds multiple XML components to this context.Method parameters in io.github.toberocat.guiengine.context with type arguments of type XmlComponentModifier and TypeMethodDescriptionvoidGuiContext.editXmlComponentById(@NotNull GuiEngineApi api, @NotNull String id, @NotNull Consumer<XmlComponent> editCallback) Edits an XML component by ID with the specified edit callback. -
Uses of XmlComponent in io.github.toberocat.guiengine.interpreter
Methods in io.github.toberocat.guiengine.interpreter that return XmlComponentModifier and TypeMethodDescription@NotNull XmlComponentDefaultInterpreter.componentToXml(@NotNull GuiEngineApi api, @NotNull GuiComponent component) Converts a GuiComponent to an XmlComponent using the provided GuiEngineApi.@NotNull XmlComponentGuiInterpreter.componentToXml(@NotNull GuiEngineApi api, @NotNull GuiComponent component) Converts a `GuiComponent` instance into its XML representation.@NotNull XmlComponentDefaultInterpreter.xmlComponent(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull GuiEngineApi api) Converts a JsonNode to an XmlComponent using the provided GuiEngineApi.@NotNull XmlComponentGuiInterpreter.xmlComponent(@NotNull com.fasterxml.jackson.databind.JsonNode node, @NotNull GuiEngineApi api) Converts a JSON node representing a GUI component into an `XmlComponent` instance.Methods in io.github.toberocat.guiengine.interpreter with parameters of type XmlComponentModifier and TypeMethodDescription@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 XmlComponent in io.github.toberocat.guiengine.xml
Methods in io.github.toberocat.guiengine.xml that return XmlComponentModifier and TypeMethodDescription@NotNull XmlComponentComponentDeserializer.deserialize(@NotNull com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt) Deserialize JSON data into aXmlComponentobject.XmlGui.getComponents()Get the array of XmlComponent objects representing the GUI components.Methods in io.github.toberocat.guiengine.xml with parameters of type XmlComponentModifier and TypeMethodDescriptionvoidXmlGui.setComponents(XmlComponent[] components) Set the array of XmlComponent objects representing the GUI components.