Class JCRSPopupMenu

    • Constructor Detail

      • JCRSPopupMenu

        public JCRSPopupMenu​(MapPane mapPane)
        Creates a CRS pop-up menu to work with the given map pane.
        Parameters:
        mapPane - an instance of MapPane, or null
    • Method Detail

      • setMapPane

        public void setMapPane​(MapPane mapPane)
        Sets the map pane.
        Parameters:
        mapPane - the map pane
      • show

        public void show​(Component invoker,
                         int x,
                         int y)
        The menu items will only be enabled when both the MapPane associated with this menu, and its MapContent, are set.
        Overrides:
        show in class JPopupMenu