
com.freya02.botcommands.api.pagination.interactive.InteractiveMenu Maven / Gradle / Ivy
package com.freya02.botcommands.api.pagination.interactive;
import com.freya02.botcommands.api.components.Components;
import com.freya02.botcommands.api.components.data.InteractionConstraints;
import com.freya02.botcommands.api.pagination.TimeoutInfo;
import com.freya02.botcommands.api.utils.ButtonContent;
import net.dv8tion.jda.api.interactions.components.selections.StringSelectMenu;
import org.jetbrains.annotations.NotNull;
import java.util.List;
/**
* A type of pagination which shows embeds and provides a {@link StringSelectMenu} to navigate between menus.
*
Each embed is bound to a selection menu.
*
This does not provide pagination for each embed (no arrow buttons, only the selection menu).
*/
public final class InteractiveMenu extends BasicInteractiveMenu {
InteractiveMenu(@NotNull Components componentsService,
InteractionConstraints constraints, TimeoutInfo timeout, boolean hasDeleteButton,
ButtonContent firstContent, ButtonContent previousContent, ButtonContent nextContent, ButtonContent lastContent, ButtonContent deleteContent,
@NotNull List> items, boolean usePaginator) {
super(componentsService, constraints, timeout, hasDeleteButton, firstContent, previousContent, nextContent, lastContent, deleteContent, items, usePaginator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy