Interface DataSourceChangeEvent

    • Method Detail

      • getOldDataSources

        java.util.Set<DataSourcegetOldDataSources()
        Gets the previous data source list

        This collection cannot be modified and will not change.

        Returns:
        The old data source list
      • getDataSources

        java.util.Set<DataSourcegetDataSources()
        Gets the new data sources. New data sources are added to the end of the collection.

        This collection cannot be modified and will not change.

        Returns:
        The new data sources
      • getRemoved

        java.util.Set<DataSourcegetRemoved()
        Gets the Data Sources that have been removed from the selection.

        Those are the primitives contained in getOldDataSources() but not in getDataSources()

        This collection cannot be modified and will not change.

        Returns:
        The DataSources that were removed
      • getAdded

        java.util.Set<DataSourcegetAdded()
        Gets the data sources that have been added to the selection.

        Those are the data sources contained in getDataSources() but not in getOldDataSources()

        This collection cannot be modified and will not change.

        Returns:
        The data sources that were added
      • getSource

        DataSet getSource()
        Gets the data set that triggered this selection event.
        Returns:
        The data set.
      • isNop

        default boolean isNop()
        Test if this event did not change anything.

        This will return false for all events that are sent to listeners, so you don't need to test it.

        Returns:
        true if this did not change the selection.