Uses of Interface
io.github.toberocat.guiengine.components.GuiComponent
Packages that use GuiComponent
Package
Description
-
Uses of GuiComponent in io.github.toberocat.guiengine
Fields in io.github.toberocat.guiengine with type parameters of type GuiComponentModifier and TypeFieldDescriptionstatic final Map<String,
Class<? extends GuiComponent>> GuiEngineApi.SHARED_COMPONENT_ID_MAPS
Methods in io.github.toberocat.guiengine with type parameters of type GuiComponentModifier and TypeMethodDescription<T extends GuiComponent,
B extends GuiComponentBuilder>
voidGuiEngineApi.registerFactory
(@NotNull String id, @NotNull Class<T> clazz, @NotNull Class<B> builderClazz) Registers a GUI component factory with the given ID, class, and builder class.static <T extends GuiComponent,
B extends GuiComponentBuilder>
voidGuiEngineApi.registerSharedFactory
(@NotNull String id, @NotNull Class<T> clazz, @NotNull Class<B> builderClazz) Registers a shared GUI component factory with the given ID, class, and builder class.Methods in io.github.toberocat.guiengine that return types with arguments of type GuiComponentModifier and TypeMethodDescription@NotNull Map<String,
Class<? extends GuiComponent>> GuiEngineApi.getComponentIdMap()
Returns the map of GUI component IDs and their associated classes for this `GuiEngineApi`. -
Uses of GuiComponent in io.github.toberocat.guiengine.components
Classes in io.github.toberocat.guiengine.components that implement GuiComponentModifier and TypeClassDescriptionclass
An abstract base class for GUI components.Methods in io.github.toberocat.guiengine.components that return GuiComponentModifier and TypeMethodDescription@NotNull GuiComponent
GuiComponentBuilder.createComponent()
Create a new instance of the GUI component.Methods in io.github.toberocat.guiengine.components with parameters of type GuiComponentModifier and TypeMethodDescriptionvoid
GuiComponentContainer.addComponent
(GuiComponent component) -
Uses of GuiComponent in io.github.toberocat.guiengine.components.provided.embedded
Classes in io.github.toberocat.guiengine.components.provided.embedded that implement GuiComponentModifier and TypeClassDescriptionclass
A GUI component that embeds another GUI inside it. -
Uses of GuiComponent in io.github.toberocat.guiengine.components.provided.item
Classes in io.github.toberocat.guiengine.components.provided.item that implement GuiComponentModifier and TypeClassDescriptionclass
A GUI component representing a simple item in the GUI. -
Uses of GuiComponent in io.github.toberocat.guiengine.components.provided.paged
Classes in io.github.toberocat.guiengine.components.provided.paged that implement GuiComponentModifier and TypeClassDescriptionclass
A custom GUI component that represents a paged GUI.Methods in io.github.toberocat.guiengine.components.provided.paged with parameters of type GuiComponentModifier and TypeMethodDescriptionvoid
PagedComponent.addComponent
(@NotNull GuiComponent component) Adds a new component to the current page. -
Uses of GuiComponent in io.github.toberocat.guiengine.components.provided.toggle
Classes in io.github.toberocat.guiengine.components.provided.toggle that implement GuiComponentModifier and TypeClassDescriptionclass
Represents a toggle item component in a GUI. -
Uses of GuiComponent in io.github.toberocat.guiengine.context
Methods in io.github.toberocat.guiengine.context with type parameters of type GuiComponentModifier and TypeMethodDescription<T extends GuiComponent>
TGuiContext.findComponentById
(@NotNull String id, @NotNull Class<T> clazz) Finds a GUI component with the specified ID and class type.Methods in io.github.toberocat.guiengine.context that return GuiComponentModifier and TypeMethodDescription@Nullable GuiComponent
GuiContext.findComponentById
(@NotNull String id) Finds a GUI component with the specified ID.Methods in io.github.toberocat.guiengine.context that return types with arguments of type GuiComponentModifier and TypeMethodDescription@NotNull List<GuiComponent>
GuiContext.components()
Returns the list of GUI components in this context.@NotNull Stream<GuiComponent>
GuiContext.componentsAscending()
Returns a stream of GUI components in ascending order of their render priority.@NotNull Stream<GuiComponent>
GuiContext.componentsDescending()
Returns a stream of GUI components in descending order of their render priority.Methods in io.github.toberocat.guiengine.context with parameters of type GuiComponentModifier and TypeMethodDescriptionvoid
GuiContext.add
(@NotNull GuiEngineApi api, @NotNull GuiComponent component) Adds a GUI component to this context. -
Uses of GuiComponent in io.github.toberocat.guiengine.event.spigot
Methods in io.github.toberocat.guiengine.event.spigot that return GuiComponentModifier and TypeMethodDescription@Nullable GuiComponent
GuiComponentClickEvent.getTargetComponent()
Gets the target `GuiComponent` that was clicked by the player.@Nullable GuiComponent
GuiComponentDragEvent.getTargetComponent()
Gets the target `GuiComponent` where the dragging started.Constructors in io.github.toberocat.guiengine.event.spigot with parameters of type GuiComponentModifierConstructorDescriptionGuiComponentClickEvent
(@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). -
Uses of GuiComponent in io.github.toberocat.guiengine.interpreter
Methods in io.github.toberocat.guiengine.interpreter that return GuiComponentModifier and TypeMethodDescription@NotNull GuiComponent
DefaultInterpreter.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 GuiComponent
GuiInterpreter.bindComponent
(@NotNull GuiComponent component, @NotNull GuiEngineApi api, @NotNull GuiContext context) Binds an existing GUI component to the specified GUI context.@Nullable GuiComponent
DefaultInterpreter.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 GuiComponent
GuiInterpreter.createComponent
(@NotNull XmlComponent xmlComponent, @NotNull GuiEngineApi api, @NotNull GuiContext context) Creates a GUI component based on the provided XML component definition.Methods in io.github.toberocat.guiengine.interpreter with parameters of type GuiComponentModifier and TypeMethodDescription@NotNull GuiComponent
DefaultInterpreter.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 GuiComponent
GuiInterpreter.bindComponent
(@NotNull GuiComponent component, @NotNull GuiEngineApi api, @NotNull GuiContext context) Binds an existing GUI component to the specified GUI context.@NotNull XmlComponent
DefaultInterpreter.componentToXml
(@NotNull GuiEngineApi api, @NotNull GuiComponent component) Converts a GuiComponent to an XmlComponent using the provided GuiEngineApi.@NotNull XmlComponent
GuiInterpreter.componentToXml
(@NotNull GuiEngineApi api, @NotNull GuiComponent component) Converts a `GuiComponent` instance into its XML representation. -
Uses of GuiComponent in io.github.toberocat.guiengine.xml
Classes in io.github.toberocat.guiengine.xml with type parameters of type GuiComponentModifier and TypeClassDescriptionclass
GuiComponentDeserializer<C extends GuiComponent,
B extends GuiComponentBuilder> Custom JSON deserializer for a specific type ofGuiComponent
.class
GuiComponentSerializer<C extends GuiComponent>
Custom JSON serializer for a specific type ofGuiComponent
.