Interface DataVectorSourceItems<E>
- All Superinterfaces:
DataUnit
,EntityDataUnit
- All Known Implementing Classes:
ContainerDataVectorSourceItems
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
An event that is fired when geometry value has changed in some item.static class
An event that is fired when item set has changed.Nested classes/interfaces inherited from interface io.jmix.flowui.data.DataUnit
DataUnit.StateChangeEvent
-
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.Registration
Registers a new geometry change listener.com.vaadin.flow.shared.Registration
Registers a new item set change listener.getItems()
Methods inherited from interface io.jmix.flowui.data.DataUnit
addStateChangeListener, getState
Methods inherited from interface io.jmix.flowui.data.EntityDataUnit
getEntityMetaClass
-
Method Details
-
addGeometryChangeListener
com.vaadin.flow.shared.Registration addGeometryChangeListener(Consumer<DataVectorSourceItems.GeometryChangeEvent<E>> listener) Registers a new geometry 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
-