Class MapAction

    • Constructor Detail

      • MapAction

        public MapAction()
    • Method Detail

      • init

        protected void init​(MapPane mapPane,
                            String toolName,
                            String toolTip,
                            String iconImage)
        Called by sub-classes to set the map pane field and initialize the control action properties
        Parameters:
        mapPane - the map pane that this action is working with
        toolName - short (single word) tool name; may be null
        toolTip - brief tool description for GUI tool tip
        iconImage - path to the icon to display on the control
      • getMapPane

        public MapPane getMapPane()
        Get the map pane that this Action is working with
        Returns:
        the map pane