public class LayerChangedEvent
extends org.springframework.context.ApplicationEvent
Constructor and Description |
---|
LayerChangedEvent(Layer source)
Create a new LayerChangedEvent.
|
LayerChangedEvent(java.lang.Object source,
java.util.Collection<java.lang.String> changedParameters)
Creates a new LayerChangedEvent.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getChangedParameters() |
Layer |
getSource() |
public LayerChangedEvent(Layer source)
source
- the object on which the event initially occurred (never null
)public LayerChangedEvent(java.lang.Object source, java.util.Collection<java.lang.String> changedParameters)
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.
source
- the object on which the event initially occurred (never null
)changedParameters
- collection of the changed parameters namespublic Layer getSource()
getSource
in class java.util.EventObject
public java.util.Collection<java.lang.String> getChangedParameters()