dev.aurelium.slate.function.PageProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of slate Show documentation
Show all versions of slate Show documentation
API for building user-configurable GUI menus
The newest version!
package dev.aurelium.slate.function;
import dev.aurelium.slate.info.MenuInfo;
@FunctionalInterface
public interface PageProvider {
/**
* Gets the amount of pages in a menu.
*
* @param info the {@link MenuInfo} context object
* @return the amount of pages
*/
int getPages(MenuInfo info);
}