Class HasFeatureSelect.SourceFeatureSelectEvent

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

public static class HasFeatureSelect.SourceFeatureSelectEvent extends EventObject
The event is fired when features are selected or deselected.

Note that only newly selected or deselected features will be included in the event. For instance, if one feature is currently selected from a total of three, and the HasFeatureSelect.selectAllFeatures() method is invoked, only the two other features will be included in the event.

See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getSource

      public Source getSource()
      Overrides:
      getSource in class EventObject
      Returns:
      source that contains selected and deselected features
    • getSelected

      public Collection<Feature> getSelected()
      Returns:
      selected features or empty collection
    • getDeselected

      public Collection<Feature> getDeselected()
      Returns:
      deselected features or empty collection
    • 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