Class PopupTaggedNodeWindow

All Implemented Interfaces:
WindowFocusListener, WindowListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible, RootPaneContainer, WindowConstants, CloseOnLostFocusWindow

public class PopupTaggedNodeWindow extends JDialog implements WindowListener, WindowFocusListener, CloseOnLostFocusWindow
This class defines a popup window with information about a selected list of OpenStreetMap Nodes and Ways.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Method Details

    • showPopupTaggedNodeWindow

      public static void showPopupTaggedNodeWindow(com.bbn.openmap.MapBean map, List<GenericTaggedNode<?>> gtnList, int x, int y)
      Display a popup window describing all the Nodes and Ways at the specified mouse click coordinates.
      Parameters:
      map - the MapBean containing the mouse click coordinates, used to position the popup window
      gtnList - the List of Nodes and Ways found at the click coordinates
      x - the X pixel coordinate in the MapBean of the click
      y - the Y pixel coordinate in the MapBean of the click
    • windowActivated

      public void windowActivated(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowActivated in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowClosed

      public void windowClosed(WindowEvent e)
      DO NOT CALL. Invoked when PopupTaggedNodeWindow is disposed of.
      Specified by:
      windowClosed in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowClosing

      public void windowClosing(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowClosing in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowDeactivated

      public void windowDeactivated(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowDeactivated in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowDeiconified

      public void windowDeiconified(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowDeiconified in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowIconified

      public void windowIconified(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowIconified in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowOpened

      public void windowOpened(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowOpened in interface WindowListener
      Parameters:
      e - WindowEvent
    • windowGainedFocus

      public void windowGainedFocus(WindowEvent e)
      DO NOT CALL. No-op.
      Specified by:
      windowGainedFocus in interface WindowFocusListener
      Parameters:
      e - WindowEvent
    • windowLostFocus

      public void windowLostFocus(WindowEvent e)
      DO NOT CALL. Invoked when PopupTaggedNodeWindow loses focus.
      Specified by:
      windowLostFocus in interface WindowFocusListener
      Parameters:
      e - WindowEvent