Package com.jagrosh.jdautilities.menu
package com.jagrosh.jdautilities.menu
Menus package.
Contains the
Contains the
Menu class and all
standard implementations of it:
ButtonMenu
A menu where users select a choice via "reaction-buttons".OrderedMenu
A menu with 1 - 10 ordered items, each with their own reaction to choose them with.Paginator
A menu that paginates a number of items across a number of pages and uses reactions to traverse between them.SelectionDialog
A menu that orders choices and uses a indicator and reactions to choose one of the choices.Slideshow
A menu similar to the Paginator that displays a picture on each page.
Menu.Builder
as a static inner class of the corresponding Menu implementation, which are the main entryway to create said
implementations for usage.
Please note that this entire package makes HEAVY usage of the
EventWaiter.
-
ClassesClassDescriptionA
Menuimplementation, nearly identical toEmbedPaginator, that displays an individualMessageEmbeds on each page instead of a list of text items.TheMenu.Builderfor aButtonEmbedPaginator.AMenuimplementation that creates a organized display of emotes/emojis as buttons paired with options, and below the menu reactions corresponding to each button.TheMenu.Builderfor aButtonMenu.TheMenu.Builderfor aEmbedPaginator.A frame for wrapping anEventWaiterinto a "action, reaction" menu that waits on forms of user input such as reactions, or key-phrases.An extendable frame for a chain-method builder that constructs a specified type ofMenu.AMenuof ordered buttons signified by numbers or letters, each with a reaction linked to it for users to click.TheMenu.Builderfor anOrderedMenu.AMenuimplementation that paginates a set of one or more text items across one or more pages.TheMenu.Builderfor aPaginator.AMenuimplementation that creates a listed display of text choices horizontally that users can scroll through using reactions and make selections.TheMenu.Builderfor aSelectuibDialog.TheMenu.Builderfor aSlideshow.