Uses of Record Class
io.github.toberocat.guiengine.utils.ParserContext
Packages that use ParserContext
Package
Description
-
Uses of ParserContext in io.github.toberocat.guiengine.components
Methods in io.github.toberocat.guiengine.components with parameters of type ParserContextModifier and TypeMethodDescriptionvoid
AbstractGuiComponentBuilder.deserialize
(@NotNull ParserContext node) Deserialize the properties of the GUI component from the provided ParserContext node.void
GuiComponentBuilder.deserialize
(@NotNull ParserContext node) Deserialize the properties of the GUI component from the provided ParserContext node. -
Uses of ParserContext in io.github.toberocat.guiengine.components.provided.embedded
Methods in io.github.toberocat.guiengine.components.provided.embedded with parameters of type ParserContextModifier and TypeMethodDescriptionvoid
EmbeddedGuiComponentBuilder.deserialize
(@NotNull ParserContext node) protected void
EmbeddedGuiComponentBuilder.deserialize
(@NotNull ParserContext node, boolean forceTarget) -
Uses of ParserContext in io.github.toberocat.guiengine.components.provided.item
Methods in io.github.toberocat.guiengine.components.provided.item with parameters of type ParserContextModifier and TypeMethodDescriptionvoid
SimpleItemComponentBuilder.deserialize
(@NotNull ParserContext node) -
Uses of ParserContext in io.github.toberocat.guiengine.components.provided.paged
Fields in io.github.toberocat.guiengine.components.provided.paged declared as ParserContextMethods in io.github.toberocat.guiengine.components.provided.paged with parameters of type ParserContextModifier and TypeMethodDescriptionvoid
PagedComponentBuilder.deserialize
(@NotNull ParserContext node) @NotNull PagedComponentBuilder
PagedComponentBuilder.setParent
(@NotNull ParserContext parent) Sets the parent parser context containing the GUI definition.Constructors in io.github.toberocat.guiengine.components.provided.paged with parameters of type ParserContextModifierConstructorDescriptionPagedComponent
(int offsetX, int offsetY, int width, int height, @NotNull RenderPriority priority, @NotNull String id, @NotNull List<GuiFunction> clickFunctions, @NotNull List<GuiFunction> dragFunctions, @NotNull List<GuiFunction> closeFunctions, boolean hidden, @NotNull String targetGui, boolean copyAir, boolean interactions, @NotNull ParserContext parent, int[] pattern, int showingPage) Constructs a new PagedComponent instance with the specified parameters. -
Uses of ParserContext in io.github.toberocat.guiengine.components.provided.toggle
Methods in io.github.toberocat.guiengine.components.provided.toggle that return ParserContextModifier and TypeMethodDescriptionToggleItemComponent.getOptions()
Get the parser context containing the options for the toggle item.Methods in io.github.toberocat.guiengine.components.provided.toggle with parameters of type ParserContextModifier and TypeMethodDescriptionvoid
ToggleItemComponentBuilder.deserialize
(@NotNull ParserContext node) Deserialize the builder from a parser context node.@NotNull ToggleItemComponentBuilder
ToggleItemComponentBuilder.setOptions
(@NotNull ParserContext options) Set the options for the toggle item component.Constructors in io.github.toberocat.guiengine.components.provided.toggle with parameters of type ParserContextModifierConstructorDescriptionToggleItemComponent
(int offsetX, int offsetY, int width, int height, @NotNull RenderPriority priority, @NotNull String id, @NotNull List<GuiFunction> clickFunctions, @NotNull List<GuiFunction> dragFunctions, @NotNull List<GuiFunction> closeFunctions, boolean hidden, ParserContext options, int selected) Constructs a ToggleItemComponent with the specified parameters. -
Uses of ParserContext in io.github.toberocat.guiengine.utils
Methods in io.github.toberocat.guiengine.utils that return ParserContextModifier and TypeMethodDescription@Nullable ParserContext
Get a child node of the current node based on the specified field name.Methods in io.github.toberocat.guiengine.utils that return types with arguments of type ParserContextModifier and TypeMethodDescription@NotNull List<ParserContext>
ParserContext.getFieldList()
Read a node's children as a list of ParserContext objects.@NotNull Optional<List<ParserContext>>
ParserContext.getOptionalFieldList
(@NotNull String field) Get an optional list of ParserContext objects from the child node of the current node based on the specified field name.static @NotNull Optional<ParserContext>
JsonUtils.getOptionalNode
(@NotNull ParserContext node, @NotNull String field) Get an optional node from the given parent node based on the specified field name.@NotNull Optional<ParserContext>
ParserContext.getOptionalNode
(@NotNull String field) Get an optional child node of the current node based on the specified field name.@NotNull Optional<Map<String,
ParserContext>> ParserContext.getOptionalNodeMap
(@NotNull String field) Get an optional map of String keys and ParserContext values from the child node of the current node based on the specified field name.Methods in io.github.toberocat.guiengine.utils with parameters of type ParserContextModifier and TypeMethodDescriptionstatic @NotNull Optional<ParserContext>
JsonUtils.getOptionalNode
(@NotNull ParserContext node, @NotNull String field) Get an optional node from the given parent node based on the specified field name.