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:
  • Constructor Details

    • LayerChangedEvent

      public LayerChangedEvent(Layer source)
      Create a new LayerChangedEvent.
      Parameters:
      source - the object on which the event initially occurred (never null)
    • LayerChangedEvent

      public LayerChangedEvent(Object source, Collection<String> changedParameters)
      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 (never null)
      changedParameters - collection of the changed parameters names
  • Method Details