Class PaginationSettingsUtils

java.lang.Object
io.jmix.flowui.component.pagination.PaginationSettingsUtils

public final class PaginationSettingsUtils extends Object
Class provides access to protected functionality from PaginationComponent to support saving/restoring UI settings when the View contains SettingsFacet.
See Also:
  • Method Details

    • getItemsPerPageValue

      @Nullable public static Integer getItemsPerPageValue(PaginationComponent<?> component)
      INTERNAL.

      Is used for PaginationComponent settings.

      Parameters:
      component - pagination component
      Returns:
      items per page value or null if items per page is not visible
    • setItemsPerPageValue

      public static void setItemsPerPageValue(PaginationComponent<?> component, @Nullable Integer value)
      INTERNAL.

      Is used for PaginationComponent settings.

      Parameters:
      component - pagination component
      value - items per page value