Interface DataUnit

All Known Subinterfaces:
ContainerDataUnit<E>, EntityDataUnit, EntityGridDataItems<E>, EntityItems<E>, EntityTreeGridDataItems<T>, EntityValueSource<E,V>, GridDataItems<T>, GridDataItems.Sortable<T>, TreeGridDataItems<T>, ValueSource<V>
All Known Implementing Classes:
AbstractContainerGridDataProvider, ContainerDataProvider, ContainerValueSource, JmixGridDataProvider, JmixTreeGridDataProvider

public interface DataUnit
  • Method Details

    • getState

      BindingState getState()
      Returns:
      a state of this source
    • addStateChangeListener

      com.vaadin.flow.shared.Registration addStateChangeListener(Consumer<DataUnit.StateChangeEvent> listener)
      Registers a new state change listener.
      Parameters:
      listener - the listener to be added
      Returns:
      a registration object for removing an event listener added to a source