Class LayerChangedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
io.jmix.mapsui.component.layer.event.LayerChangedEvent
- All Implemented Interfaces:
Serializable
public class LayerChangedEvent
extends org.springframework.context.ApplicationEvent
Event that is fired when some changes has occurred in a layer.
Event carries the changed layer as a source.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionLayerChangedEvent
(Layer source) Create a new LayerChangedEvent.LayerChangedEvent
(Object source, Collection<String> changedParameters) Creates a new LayerChangedEvent. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
LayerChangedEvent
Create a new LayerChangedEvent.- Parameters:
source
- the object on which the event initially occurred (nevernull
)
-
LayerChangedEvent
Creates a new LayerChangedEvent.In case when only some of the layer's parameters have changed, these parameters can be specified in the
changedParameters
collection. It may help to avoid full redraw of the layer. Passing an empty collection causes full redraw of the layer.- Parameters:
source
- the object on which the event initially occurred (nevernull
)changedParameters
- collection of the changed parameters names
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getChangedParameters
-