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,Serializable
- Direct Known Subclasses:
ItemsPerPage
public class JmixItemsPerPage
extends com.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.select.Select<Integer>protected com.vaadin.flow.component.html.Spanprotected com.vaadin.flow.component.html.DivbooleanvoidsetItemsPerPageDefaultValue(Integer itemsPerPageDefaultValue) voidsetItemsPerPageItems(List<Integer> itemsPerPageItems) voidsetItemsPerPageUnlimitedItemVisible(boolean unlimitedItemVisible) voidsetLabelText(String text) Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
-
Field Details
-
BASE_CLASS_NAME
- See Also:
-
ITEMS_PER_PAGE_SELECT_CLASS_NAME
- See Also:
-
LABEL_CLASS_NAME
- See Also:
-
labelSpan
protected com.vaadin.flow.component.html.Span labelSpan -
itemsPerPageSelect
-
itemsPerPageDefaultValue
-
itemsPerPageItems
-
-
Constructor Details
-
JmixItemsPerPage
public JmixItemsPerPage()
-
-
Method Details
-
initContent
protected com.vaadin.flow.component.html.Div initContent()- Overrides:
initContentin classcom.vaadin.flow.component.Composite<com.vaadin.flow.component.html.Div>
-
getItemsPerPageDefaultValue
- Returns:
-
setItemsPerPageDefaultValue
- Parameters:
itemsPerPageDefaultValue-
-
getItemsPerPageItems
- Returns:
-
setItemsPerPageItems
- Parameters:
itemsPerPageItems-
-
isItemsPerPageUnlimitedItemVisible
public boolean isItemsPerPageUnlimitedItemVisible()- Returns:
-
setItemsPerPageUnlimitedItemVisible
public void setItemsPerPageUnlimitedItemVisible(boolean unlimitedItemVisible) - Parameters:
unlimitedItemVisible-
-
getLabelText
- Returns:
-
setLabelText
- Parameters:
text-
-
createLabelSpan
protected com.vaadin.flow.component.html.Span createLabelSpan() -
createItemsPerPageSelect
-