Class LocationDisplay.AutoPanModeChangedEvent

    • Constructor Detail

      • AutoPanModeChangedEvent

        public AutoPanModeChangedEvent​(LocationDisplay source,
                                       LocationDisplay.AutoPanMode autoPanMode)
        Creates a new AutoPanModeChangedEvent with the given LocationDisplay and AutoPanMode.
        Parameters:
        source - the LocationDisplay that raised the event
        autoPanMode - the new AutoPanMode 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
      • getAutoPanMode

        public LocationDisplay.AutoPanMode getAutoPanMode()
        Gets the new AutoPanMode of the LocationDisplay.
        Returns:
        the new AutoPanMode of the LocationDisplay
        Since:
        100.0.0