Class HasGeoObjectDrag.AbstractSourceGeoObjectDragEvent<E>

java.lang.Object
java.util.EventObject
io.jmix.mapsflowui.component.model.source.HasGeoObjectDrag.AbstractSourceGeoObjectDragEvent<E>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
HasGeoObjectDrag.SourceGeoObjectDragEndEvent, HasGeoObjectDrag.SourceGeoObjectDragStartEvent
Enclosing interface:
HasGeoObjectDrag<E>

public abstract static class HasGeoObjectDrag.AbstractSourceGeoObjectDragEvent<E> extends EventObject
See Also:
  • Field Details

    • items

      protected final Collection<E> items
    • mouseCoordinate

      protected final org.locationtech.jts.geom.Coordinate mouseCoordinate
    • fromClient

      protected final boolean fromClient
  • Constructor Details

    • AbstractSourceGeoObjectDragEvent

      public AbstractSourceGeoObjectDragEvent(Source source, Collection<E> items, org.locationtech.jts.geom.Coordinate mouseCoordinate, boolean fromClient)
  • Method Details

    • getSource

      public Source getSource()
      Overrides:
      getSource in class EventObject
      Returns:
      source that contains dragged items
    • getItems

      public Collection<E> getItems()
      Returns:
      items that are participating in dragging
    • getMouseCoordinate

      public org.locationtech.jts.geom.Coordinate getMouseCoordinate()
      Returns:
      mouse position on a map
    • isFromClient

      public boolean isFromClient()
      Checks if this event originated from the client side.
      Returns:
      true if the event originated from the client side, false otherwise