S - @Tag(value="div") public class GridField<S> extends com.vaadin.flow.component.AbstractField<GridField<S>,Collection<S>>
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOGGER |
| Constructor and Description |
|---|
GridField(com.vaadin.flow.component.grid.Grid<S> grid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(S item) |
void |
addItems(Iterable<S> items) |
com.vaadin.flow.data.provider.ListDataProvider<S> |
getDataProvider() |
com.vaadin.flow.component.grid.Grid<S> |
getGrid() |
protected com.vaadin.flow.data.provider.ListDataProvider<S> |
getOrCreateDataProvider() |
Collection<S> |
getValue() |
void |
removeItem(S item) |
void |
removeItems(Iterable<S> items) |
void |
setEqualsMethod(java.util.function.BiFunction<S,S,Boolean> eq) |
protected void |
setPresentationValue(Collection<S> values) |
protected boolean |
valueEquals(Collection<S> value1,
Collection<S> value2) |
addValueChangeListener, getEmptyValue, isEmpty, setModelValue, setValueaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GridField(com.vaadin.flow.component.grid.Grid<S> grid)
public Collection<S> getValue()
getValue in interface com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<GridField<S>,Collection<S>>,Collection<S>>getValue in class com.vaadin.flow.component.AbstractField<GridField<S>,Collection<S>>public void removeItem(S item)
public void addItem(S item)
public com.vaadin.flow.component.grid.Grid<S> getGrid()
public com.vaadin.flow.data.provider.ListDataProvider<S> getDataProvider()
public void setEqualsMethod(java.util.function.BiFunction<S,S,Boolean> eq)
protected void setPresentationValue(Collection<S> values)
setPresentationValue in class com.vaadin.flow.component.AbstractField<GridField<S>,Collection<S>>protected com.vaadin.flow.data.provider.ListDataProvider<S> getOrCreateDataProvider()
protected boolean valueEquals(Collection<S> value1, Collection<S> value2)
valueEquals in class com.vaadin.flow.component.AbstractField<GridField<S>,Collection<S>>Copyright © 2021. All rights reserved.