Class RadiusFilter

All Implemented Interfaces:
ImageObserver, MenuContainer, Closeable, Serializable, AutoCloseable, Accessible, FilterChangeListener

public class RadiusFilter extends JPanel implements FilterChangeListener, Closeable
This class implements a filter based on radius from a specified location (defaulting to the beacon location for the station).
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • RadiusFilter

      public RadiusFilter(RadiusFilter myFilter)
      Create a GUI for editing a RadiusFilter instance.
      Parameters:
      myFilter - the RadiusFilter to control
  • Method Details

    • filterSettingsChanged

      public void filterSettingsChanged(Filter changedFilter, boolean changedByUser)
      Called when the specified Filter's matching criteria have been changed.
      Specified by:
      filterSettingsChanged in interface FilterChangeListener
      Parameters:
      changedFilter - Filter that has changed
      changedByUser - boolean true if change was manually made by user, false if change was made automatically by dynamic filter logic
    • close

      public void close() throws IOException
      Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException - if an I/O error occurs