Class PaginationEmptyBinder
java.lang.Object
io.jmix.ui.component.pagination.data.PaginationEmptyBinder
- All Implemented Interfaces:
PaginationDataBinder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCount()intintvoidrefresh()Reloads instances.voidRemoves collection change listener.voidSets collection change listener.voidsetFirstResult(int startPosition) Sets the position of the first instance to load.voidsetMaxResults(int maxResults) Sets maximum number of instances to load.intsize()
-
Field Details
-
metaClass
-
-
Constructor Details
-
PaginationEmptyBinder
-
-
Method Details
-
removeCollectionChangeListener
public void removeCollectionChangeListener()Description copied from interface:PaginationDataBinderRemoves collection change listener.- Specified by:
removeCollectionChangeListenerin interfacePaginationDataBinder
-
getFirstResult
public int getFirstResult()- Specified by:
getFirstResultin interfacePaginationDataBinder- Returns:
- first position to load
-
getMaxResults
public int getMaxResults()- Specified by:
getMaxResultsin interfacePaginationDataBinder- Returns:
- maximum number of instances to load
-
setFirstResult
public void setFirstResult(int startPosition) Description copied from interface:PaginationDataBinderSets the position of the first instance to load.- Specified by:
setFirstResultin interfacePaginationDataBinder
-
setMaxResults
public void setMaxResults(int maxResults) Description copied from interface:PaginationDataBinderSets maximum number of instances to load.- Specified by:
setMaxResultsin interfacePaginationDataBinder
-
getCount
public int getCount()- Specified by:
getCountin interfacePaginationDataBinder- Returns:
- number of instances in the data store
-
getEntityMetaClass
- Specified by:
getEntityMetaClassin interfacePaginationDataBinder- Returns:
- meta class of entity
-
size
public int size()- Specified by:
sizein interfacePaginationDataBinder- Returns:
- number of instances are currently loaded
-
refresh
public void refresh()Description copied from interface:PaginationDataBinderReloads instances.- Specified by:
refreshin interfacePaginationDataBinder
-
setCollectionChangeListener
Description copied from interface:PaginationDataBinderSets collection change listener.- Specified by:
setCollectionChangeListenerin interfacePaginationDataBinder
-