Uses of Class
com.github.ygimenez.model.Page
Packages that use Page
Package
Description
-
Uses of Page in com.github.ygimenez.method
Methods in com.github.ygimenez.method with parameters of type PageModifier and TypeMethodDescriptionstatic voidPages.modifyButtons(net.dv8tion.jda.api.entities.Message msg, Page p, Map<String,Function<net.dv8tion.jda.api.interactions.components.buttons.Button,net.dv8tion.jda.api.interactions.components.buttons.Button>> changes)Utility method for switching pages and/or modifying message buttons.Method parameters in com.github.ygimenez.method with type arguments of type PageModifier and TypeMethodDescriptionstatic ActionReferencePages.categorize(net.dv8tion.jda.api.entities.Message msg, Map<net.dv8tion.jda.api.entities.emoji.Emoji,Page> categories, boolean useButtons)Adds menu-like buttons to the specifiedMessage/MessageEmbedwhich will browse through a givenMapof pages.static ActionReferencePages.categorize(net.dv8tion.jda.api.entities.Message msg, Map<net.dv8tion.jda.api.entities.emoji.Emoji,Page> categories, boolean useButtons, int time, TimeUnit unit)Adds menu-like buttons to the specifiedMessage/MessageEmbedwhich will browse through a givenMapof pages.static ActionReferencePages.categorize(net.dv8tion.jda.api.entities.Message msg, Map<net.dv8tion.jda.api.entities.emoji.Emoji,Page> categories, boolean useButtons, int time, TimeUnit unit, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds menu-like buttons to the specifiedMessage/MessageEmbedwhich will browse through a givenMapof pages.static ActionReferencePages.categorize(net.dv8tion.jda.api.entities.Message msg, Map<net.dv8tion.jda.api.entities.emoji.Emoji,Page> categories, boolean useButtons, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds menu-like buttons to the specifiedMessage/MessageEmbedwhich will browse through a givenMapof pages.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, int time, TimeUnit unit)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, int time, TimeUnit unit, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, int time, TimeUnit unit)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, int time, TimeUnit unit)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, int time, TimeUnit unit, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, int time, TimeUnit unit, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferencePages.lazyPaginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pageCache, ThrowingFunction<Integer,Page> pageLoader, boolean useButtons, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction.static ActionReferenceAdds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, boolean fastForward)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, boolean fastForward, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int skipAmount)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int skipAmount, boolean fastForward, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, boolean fastForward)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, boolean fastForward, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, int skipAmount)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, int skipAmount, boolean fastForward)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, int skipAmount, boolean fastForward, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, int skipAmount, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int time, TimeUnit unit, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, int skipAmount, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages.static ActionReferencePages.paginate(net.dv8tion.jda.api.entities.Message msg, List<Page> pages, boolean useButtons, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will navigate through a givenListof pages. -
Uses of Page in com.github.ygimenez.model
Subclasses of Page in com.github.ygimenez.modelModifier and TypeClassDescriptionclassClass representing either aMessageorMessageEmbedobject. -
Uses of Page in com.github.ygimenez.model.helper
Methods in com.github.ygimenez.model.helper that return PageModifier and TypeMethodDescriptionLazyPaginateHelper.load(int page)Loads the page represented by the specified index.Methods in com.github.ygimenez.model.helper that return types with arguments of type PageModifier and TypeMethodDescriptionLazyPaginateHelper.getPageLoader()Retrieves the configured page loader for this helper.Methods in com.github.ygimenez.model.helper with parameters of type PageModifier and TypeMethodDescriptionCategorizeHelper.addCategory(net.dv8tion.jda.api.entities.emoji.Emoji emoji, Page page)Adds a new category to the map.Adds a new page to the list.Adds a new page to the list.Constructor parameters in com.github.ygimenez.model.helper with type arguments of type PageModifierConstructorDescriptionCategorizeHelper(Map<net.dv8tion.jda.api.entities.emoji.Emoji,Page> categories, boolean useButtons)Creates a new categorize event helper with the supplied map.LazyPaginateHelper(ThrowingFunction<Integer,Page> pageLoader, boolean useButtons)Creates a new lazy-paginate event helper with the supplied page loader and default list implementation (ArrayList).LazyPaginateHelper(ThrowingFunction<Integer,Page> pageLoader, List<Page> initialPages, boolean useButtons)Creates a new lazy-paginate event helper with the supplied page loader and a list of initially loaded pages.LazyPaginateHelper(ThrowingFunction<Integer,Page> pageLoader, List<Page> initialPages, boolean useButtons)Creates a new lazy-paginate event helper with the supplied page loader and a list of initially loaded pages.PaginateHelper(List<Page> pages, boolean useButtons)Creates a new paginate event helper with the supplied list.