Interface ActionRowBuilderDelegate

    • Method Detail

      • addComponents

        void addComponents​(List<LowLevelComponent> components)
        Add multiple low-level components to the ActionRow.
        Parameters:
        components - A list containing low-level components.
      • copy

        void copy​(ActionRow actionRow)
        Copy an action row's values into the builder.
        Parameters:
        actionRow - The action row to copy.
      • removeComponent

        void removeComponent​(LowLevelComponent component)
        Remove a low-level component from the ActionRow.
        Parameters:
        component - The low-level component being removed.
      • removeComponent

        void removeComponent​(int index)
        Remove a low-level component from the ActionRow.
        Parameters:
        index - The index placement to remove.
      • removeComponent

        void removeComponent​(String customId)
        Remove a low-level component from the ActionRow.
        Parameters:
        customId - The low-level component's identifier.
      • getComponents

        List<LowLevelComponent> getComponents​()
        Get current low-level components.
        Returns:
        The current low-level components.
      • build

        ActionRow build​()
        Creates an ActionRow instance with the given values.
        Returns:
        The created action row instance.