Class HasFeatureDelete.SourceFeatureDeleteEvent

java.lang.Object
java.util.EventObject
io.jmix.mapsflowui.component.model.source.HasFeatureDelete.SourceFeatureDeleteEvent
All Implemented Interfaces:
Serializable
Enclosing interface:
HasFeatureDelete

public static class HasFeatureDelete.SourceFeatureDeleteEvent extends EventObject
The event is fired when a feature is deleted from a source.
See Also:
  • Field Details

    • features

      protected final Collection<Feature> features
    • fromClient

      protected final boolean fromClient
  • Constructor Details

    • SourceFeatureDeleteEvent

      public SourceFeatureDeleteEvent(Source source, Collection<Feature> features, boolean fromClient)
  • Method Details

    • getSource

      public Source getSource()
      Returns the source the features were deleted from.
      Overrides:
      getSource in class EventObject
      Returns:
      the deleting source
    • getFeatures

      public Collection<Feature> getFeatures()
      Returns the features removed from the source in this event.
      Returns:
      the deleted features
    • 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