Interface DataVectorSourceItems<E>
- All Superinterfaces:
DataUnit,EntityDataUnit
- All Known Implementing Classes:
ContainerDataVectorSourceItems
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn event that is fired when item set has changed.static classAn event that is fired when value of item property is changed.Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEvent -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationRegisters a new item set change listener.com.vaadin.flow.shared.RegistrationRegisters a new value change listener.getItems()Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getStateMethods inherited from interface io.jmix.flowui.data.EntityDataUnit
getEntityMetaClass
-
Method Details
-
addValueChangeListener
com.vaadin.flow.shared.Registration addValueChangeListener(Consumer<DataVectorSourceItems.ValueChangeEvent<E>> listener) Registers a new value change listener.- Parameters:
listener- the listener to be added- Returns:
- a registration object for removing an event listener added to a source
-
addItemSetChangeListener
com.vaadin.flow.shared.Registration addItemSetChangeListener(Consumer<DataVectorSourceItems.ItemSetChangeEvent<E>> listener) Registers a new item set change listener.- Parameters:
listener- the listener to be added- Returns:
- a registration object for removing an event listener added to a source
-
getItems
Collection<E> getItems()- Returns:
- collection of items contained in the source
-
getMetaPropertyPath
MetaPropertyPath getMetaPropertyPath()- Returns:
- a meta property path of the specified geometry property from which will be displayed geo-objects
-