Uses of Interface
com.github.ygimenez.model.ThrowingFunction
Packages that use ThrowingFunction
-
Uses of ThrowingFunction in com.github.ygimenez.method
Methods in com.github.ygimenez.method with parameters of type ThrowingFunctionModifier and TypeMethodDescriptionstatic 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, 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, Predicate<net.dv8tion.jda.api.entities.User> canInteract)Adds navigation buttons to the specifiedMessage/MessageEmbedwhich will lazily load content by using suppliedThrowingFunction. -
Uses of ThrowingFunction in com.github.ygimenez.model.helper
Methods in com.github.ygimenez.model.helper that return ThrowingFunctionModifier and TypeMethodDescriptionLazyPaginateHelper.getPageLoader()Retrieves the configured page loader for this helper.Constructors in com.github.ygimenez.model.helper with parameters of type ThrowingFunctionModifierConstructorDescriptionLazyPaginateHelper(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.