skrueger.geotools.selection
Class StyledLayerSelectionEvent
java.lang.Object
java.util.EventObject
java.beans.PropertyChangeEvent
skrueger.geotools.selection.StyledLayerSelectionEvent
- All Implemented Interfaces:
- Serializable
public class StyledLayerSelectionEvent
- extends PropertyChangeEvent
Extends the PropertyChangeEvent
by maintaining the event emitter.
The emitter is the StyledLayerSelectionModel
while the event source
holds the component which causes the StyledLayerSelectionModel
to invoke the event (e.g. a chart, a map or a feature table).
- Author:
- Martin Schmitz (University of Bonn/Germany)
- See Also:
- Serialized Form
emitter
protected StyledLayerSelectionModel<?> emitter
- Holds the
StyledLayerSelectionModel
which invokes the event.
StyledLayerSelectionEvent
public StyledLayerSelectionEvent(StyledLayerSelectionModel<?> emitter,
Object source,
String propertyName,
Object oldValue,
Object newValue)
- Creates a new event.
- Parameters:
emitter
- the StyledLayerSelectionModel
which invokes the eventsource
- the object which is responsible for the change (e.g. map or table);
can be null
if its a refresh event with no responsiblepropertyName
- the name of the changed propertyoldValue
- the old property value (can be null
)newValue
- the new property value (can be null
)
getEmitter
public StyledLayerSelectionModel<?> getEmitter()
- Returns the
StyledLayerSelectionModel
which invokes the event.