Package io.jmix.mapsui.component.data
Class ContainerVectorLayerItems<E>
java.lang.Object
io.jmix.mapsui.component.data.ContainerVectorLayerItems<E>
- All Implemented Interfaces:
- VectorLayerItems<E>,- DataUnit,- EntityDataUnit,- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
public class ContainerVectorLayerItems<E>
extends Object
implements VectorLayerItems<E>, org.springframework.context.ApplicationContextAware
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.jmix.ui.component.data.DataUnitDataUnit.StateChangeEventNested classes/interfaces inherited from interface io.jmix.mapsui.component.data.VectorLayerItemsVectorLayerItems.GeometryChangeEvent<E>, VectorLayerItems.ItemSetChangeEvent<E>, VectorLayerItems.SelectedItemChangeEvent<E>
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionRegisters a new geometry change listener.Registers a new item set change listener.Registers a new selected item change listener.Registers a new state change listener.getItems()getState()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetSelectedItem(E item) Set current item in the source.
- 
Field Details- 
container
- 
events
 
- 
- 
Constructor Details- 
ContainerVectorLayerItems
 
- 
- 
Method Details- 
getSelectedItem- Specified by:
- getSelectedItemin interface- VectorLayerItems<E>
- Returns:
- the current item contained in the source
 
- 
setSelectedItemDescription copied from interface:VectorLayerItemsSet current item in the source.- Specified by:
- setSelectedItemin interface- VectorLayerItems<E>
- Parameters:
- item- the item to set
 
- 
getItems- Specified by:
- getItemsin interface- VectorLayerItems<E>
- Returns:
- collection of items contained in the source
 
- 
addGeometryChangeListenerpublic Subscription addGeometryChangeListener(Consumer<VectorLayerItems.GeometryChangeEvent<E>> listener) Description copied from interface:VectorLayerItemsRegisters a new geometry change listener.- Specified by:
- addGeometryChangeListenerin interface- VectorLayerItems<E>
- Parameters:
- listener- the listener to be added
- Returns:
- a registration object for removing an event listener added to a source
 
- 
addSelectedItemChangeListenerpublic Subscription addSelectedItemChangeListener(Consumer<VectorLayerItems.SelectedItemChangeEvent<E>> listener) Description copied from interface:VectorLayerItemsRegisters a new selected item change listener.- Specified by:
- addSelectedItemChangeListenerin interface- VectorLayerItems<E>
- Parameters:
- listener- the listener to be added
- Returns:
- a registration object for removing an event listener added to a source
 
- 
addItemSetChangeListenerpublic Subscription addItemSetChangeListener(Consumer<VectorLayerItems.ItemSetChangeEvent<E>> listener) Description copied from interface:VectorLayerItemsRegisters a new item set change listener.- Specified by:
- addItemSetChangeListenerin interface- VectorLayerItems<E>
- Parameters:
- listener- the listener to be added
- Returns:
- a registration object for removing an event listener added to a source
 
- 
getEntityMetaClass- Specified by:
- getEntityMetaClassin interface- EntityDataUnit
- Returns:
- MetaClassof an entity contained in the source
 
- 
getState
- 
addStateChangeListenerDescription copied from interface:DataUnitRegisters a new state change listener.- Specified by:
- addStateChangeListenerin interface- DataUnit
- Parameters:
- listener- the listener to be added
- Returns:
- a registration object for removing an event listener added to a source
 
- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
- Throws:
- org.springframework.beans.BeansException
 
 
-