Class SourceFeatureClickNotifier.AbstractFeatureClickEvent
java.lang.Object
java.util.EventObject
io.jmix.mapsflowui.component.model.source.SourceFeatureClickNotifier.AbstractFeatureClickEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SourceFeatureClickNotifier.SourceFeatureClickEvent
,SourceFeatureClickNotifier.SourceFeatureDoubleClickEvent
,SourceFeatureClickNotifier.SourceFeatureSingleClickEvent
- Enclosing interface:
- SourceFeatureClickNotifier
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.locationtech.jts.geom.Coordinate
protected final Feature
protected final MouseEventDetails
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAbstractFeatureClickEvent
(Source source, Feature feature, org.locationtech.jts.geom.Coordinate coordinate, MouseEventDetails mouseEventDetails) -
Method Summary
Modifier and TypeMethodDescriptionorg.locationtech.jts.geom.Coordinate
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
coordinate
protected final org.locationtech.jts.geom.Coordinate coordinate -
mouseEventDetails
-
feature
-
-
Constructor Details
-
AbstractFeatureClickEvent
public AbstractFeatureClickEvent(Source source, Feature feature, org.locationtech.jts.geom.Coordinate coordinate, MouseEventDetails mouseEventDetails)
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
- Returns:
- source that contains clicked feature
-
getFeature
- Returns:
- clicked feature
-
getCoordinate
public org.locationtech.jts.geom.Coordinate getCoordinate()- Returns:
- coordinate of clicked point, can be different from feature coordinate
-
getMouseEventDetails
- Returns:
- mouse information
-