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

public static class SourceFeatureClickNotifier.AbstractFeatureClickEvent extends EventObject
See Also:
  • Field Details

    • coordinate

      protected final org.locationtech.jts.geom.Coordinate coordinate
    • mouseEventDetails

      protected final MouseEventDetails mouseEventDetails
    • feature

      protected final Feature feature
  • Constructor Details

    • AbstractFeatureClickEvent

      public AbstractFeatureClickEvent(Source source, Feature feature, org.locationtech.jts.geom.Coordinate coordinate, MouseEventDetails mouseEventDetails)
  • Method Details

    • getSource

      public Source getSource()
      Overrides:
      getSource in class EventObject
      Returns:
      source that contains clicked feature
    • getFeature

      public 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

      public MouseEventDetails getMouseEventDetails()
      Returns:
      mouse information