Class FeatureClickNotifier.AbstractFeatureClickEvent<F>
java.lang.Object
java.util.EventObject
io.jmix.mapsflowui.component.model.feature.FeatureClickNotifier.AbstractFeatureClickEvent<F>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FeatureClickNotifier.FeatureClickEvent
,FeatureClickNotifier.FeatureDoubleClickEvent
,FeatureClickNotifier.FeatureSingleClickEvent
- Enclosing interface:
- FeatureClickNotifier<F extends Feature>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.locationtech.jts.geom.Coordinate
protected final MouseEventDetails
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAbstractFeatureClickEvent
(F source, 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
-
-
Constructor Details
-
AbstractFeatureClickEvent
public AbstractFeatureClickEvent(F source, org.locationtech.jts.geom.Coordinate coordinate, MouseEventDetails mouseEventDetails)
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
- 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
-