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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.select.Select<Integer>
protected com.vaadin.flow.component.html.Span
protected com.vaadin.flow.component.html.Div
boolean
void
setItemsPerPageDefaultValue
(Integer itemsPerPageDefaultValue) void
setItemsPerPageItems
(List<Integer> itemsPerPageItems) void
setItemsPerPageUnlimitedItemVisible
(boolean unlimitedItemVisible) void
setLabelText
(String text) Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods 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:
initContent
in 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
-