protected class WebRowsCount.LoaderAdapter extends java.lang.Object implements WebRowsCount.Adapter
| Modifier and Type | Field and Description |
|---|---|
protected io.jmix.ui.model.CollectionContainer |
container |
protected java.util.function.Consumer<io.jmix.ui.model.CollectionContainer.CollectionChangeEvent> |
containerCollectionChangeListener |
protected io.jmix.ui.model.BaseCollectionLoader |
loader |
protected io.jmix.ui.model.impl.WeakCollectionChangeListener |
weakContainerCollectionChangeListener |
| Constructor and Description |
|---|
LoaderAdapter(io.jmix.ui.model.CollectionContainer container,
io.jmix.ui.model.BaseCollectionLoader loader) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
int |
getFirstResult() |
int |
getMaxResults() |
void |
refresh() |
void |
setFirstResult(int startPosition) |
void |
setMaxResults(int maxResults) |
int |
size() |
void |
unbind() |
protected io.jmix.ui.model.CollectionContainer container
protected java.util.function.Consumer<io.jmix.ui.model.CollectionContainer.CollectionChangeEvent> containerCollectionChangeListener
protected io.jmix.ui.model.impl.WeakCollectionChangeListener weakContainerCollectionChangeListener
@Nullable protected io.jmix.ui.model.BaseCollectionLoader loader
public LoaderAdapter(io.jmix.ui.model.CollectionContainer container,
@Nullable
io.jmix.ui.model.BaseCollectionLoader loader)
public void unbind()
unbind in interface WebRowsCount.Adapterpublic int getFirstResult()
getFirstResult in interface WebRowsCount.Adapterpublic int getMaxResults()
getMaxResults in interface WebRowsCount.Adapterpublic void setFirstResult(int startPosition)
setFirstResult in interface WebRowsCount.Adapterpublic void setMaxResults(int maxResults)
setMaxResults in interface WebRowsCount.Adapterpublic int getCount()
getCount in interface WebRowsCount.Adapterpublic int size()
size in interface WebRowsCount.Adapterpublic void refresh()
refresh in interface WebRowsCount.Adapter