Class JmixItemsPerPage

java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
io.jmix.flowui.kit.component.pagination.JmixItemsPerPage
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable
Direct Known Subclasses:
ItemsPerPage

public class JmixItemsPerPage extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
See Also:
  • Field Details

    • BASE_CLASS_NAME

      protected static final String BASE_CLASS_NAME
      See Also:
    • ITEMS_PER_PAGE_SELECT_CLASS_NAME

      protected static final String ITEMS_PER_PAGE_SELECT_CLASS_NAME
      See Also:
    • LABEL_CLASS_NAME

      protected static final String LABEL_CLASS_NAME
      See Also:
    • labelSpan

      protected com.vaadin.flow.component.html.Span labelSpan
    • itemsPerPageSelect

      protected com.vaadin.flow.component.select.Select<Integer> itemsPerPageSelect
    • itemsPerPageDefaultValue

      protected Integer itemsPerPageDefaultValue
    • itemsPerPageItems

      protected List<Integer> itemsPerPageItems
  • Constructor Details

    • JmixItemsPerPage

      public JmixItemsPerPage()
  • Method Details

    • initContent

      protected com.vaadin.flow.component.html.Div initContent()
      Overrides:
      initContent in class com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
    • getItemsPerPageDefaultValue

      @Nullable public Integer getItemsPerPageDefaultValue()
      Returns:
    • setItemsPerPageDefaultValue

      public void setItemsPerPageDefaultValue(@Nullable Integer itemsPerPageDefaultValue)
      Parameters:
      itemsPerPageDefaultValue -
    • getItemsPerPageItems

      public Collection<Integer> getItemsPerPageItems()
      Returns:
    • setItemsPerPageItems

      public void setItemsPerPageItems(List<Integer> itemsPerPageItems)
      Parameters:
      itemsPerPageItems -
    • isItemsPerPageUnlimitedItemVisible

      public boolean isItemsPerPageUnlimitedItemVisible()
      Returns:
    • setItemsPerPageUnlimitedItemVisible

      public void setItemsPerPageUnlimitedItemVisible(boolean unlimitedItemVisible)
      Parameters:
      unlimitedItemVisible -
    • getLabelText

      public String getLabelText()
      Returns:
    • setLabelText

      public void setLabelText(String text)
      Parameters:
      text -
    • createLabelSpan

      protected com.vaadin.flow.component.html.Span createLabelSpan()
    • createItemsPerPageSelect

      protected com.vaadin.flow.component.select.Select<Integer> createItemsPerPageSelect()