Package io.jmix.flowui.data
Interface DataUnit
- All Known Subinterfaces:
ContainerDataUnit<E>,DataGridItems<T>,DataGridItems.Sortable<T>,DataVectorSourceItems<E>,EntityDataGridItems<E>,EntityDataUnit,EntityItems<E>,EntityValueSource<E,,V> KanbanItems<T>,PivotTableItems<T>,TreeDataGridItems<T>,ValueSource<V>
- All Known Implementing Classes:
BufferedContainerValueSource,ContainerCalendarDataProvider,ContainerChartItems,ContainerDataGridItems,ContainerDataProvider,ContainerDataVectorSourceItems,ContainerKanbanItems,ContainerPivotTableItems,ContainerTreeDataGridItems,ContainerValueSource,EmptyDataGridItems,EmptyKanbanItems,EmptyPivotTableItems,EmptyTreeDataGridItems,ListKanbanItems,ListPivotTableItems
public interface DataUnit
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn event that is fired when DataUnit state is changed. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationRegisters a new state change listener.getState()
-
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
-