Class SimplePaginationSettings

java.lang.Object
io.jmix.flowui.facet.settings.component.SimplePaginationSettings
All Implemented Interfaces:
Settings

public class SimplePaginationSettings extends Object implements Settings
Represents settings for a simple pagination component, allowing configuration of pagination properties such as identifying the settings and defining the number of items per page.
  • Field Details

    • id

      protected String id
    • itemsPerPageValue

      protected Integer itemsPerPageValue
  • Constructor Details

    • SimplePaginationSettings

      public SimplePaginationSettings()
  • Method Details

    • getId

      @Nullable public String getId()
      Specified by:
      getId in interface Settings
      Returns:
      id of settings or null if not set
    • setId

      public void setId(@Nullable String id)
      Description copied from interface: Settings
      Sets an id of settings.
      Specified by:
      setId in interface Settings
      Parameters:
      id - id to set
    • getItemsPerPageValue

      @Nullable public Integer getItemsPerPageValue()
      Returns the value that specifies the number of items per page in the pagination settings.
      Returns:
      the number of items per page, or null if not specified
    • setItemsPerPageValue

      public void setItemsPerPageValue(@Nullable Integer itemsPerPageValue)
      Sets the value for the number of items displayed per page in the pagination settings.
      Parameters:
      itemsPerPageValue - the number of items to display per page; may be null if this setting is not specified