public class TextButtonElement extends RenderObjectElement
The RenderObjectElement counterpart of TextButton.
Since:
6.2.0
Version:
1.0.0
Author:
UltiTools Team
  • Constructor Details

    • TextButtonElement

      public TextButtonElement(@NotNull @NotNull TextButton widget)
  • Method Details

    • createRenderNode

      @NotNull protected @NotNull RenderNode createRenderNode()
      Description copied from class: RenderObjectElement
      Creates the RenderNode corresponding to this Element.
      Specified by:
      createRenderNode in class RenderObjectElement
      Returns:
      the new RenderNode
    • updateRenderNode

      protected void updateRenderNode(@NotNull @NotNull RenderNode renderNode)
      Description copied from class: RenderObjectElement
      Updates the RenderNode.
      Specified by:
      updateRenderNode in class RenderObjectElement
      Parameters:
      renderNode - the RenderNode to update
    • createGlassPane

      @NotNull private @NotNull org.bukkit.inventory.ItemStack createGlassPane(@NotNull @NotNull String color)