Class LocationDisplay.LocationChangedEvent

    • Constructor Detail

      • LocationChangedEvent

        public LocationChangedEvent​(LocationDisplay source,
                                    LocationDataSource.Location location)
        Creates a new LocationChangedEvent with the given LocationDisplay and Location.
        Parameters:
        source - the LocationDisplay that raised the event
        location - the new LocationDataSource.Location of the LocationDisplay
        Since:
        100.0.0
    • Method Detail

      • getSource

        public LocationDisplay getSource()
        Gets the LocationDisplay that raised the event.
        Overrides:
        getSource in class java.util.EventObject
        Returns:
        the LocationDisplay that raised the event
        Since:
        100.0.0
      • getLocation

        public LocationDataSource.Location getLocation()
        Gets the new LocationDataSource.Location of the LocationDisplay
        Returns:
        the new Location
        Since:
        100.0.0