Class WorldMapPane

    • Method Detail

      • getSelectedProduct

        public Product getSelectedProduct()
      • getProducts

        public Product[] getProducts()
      • getScale

        public float getScale()
      • zoomToProduct

        public void zoomToProduct​(Product product)
      • zoomAll

        public void zoomAll()
      • setNavControlVisible

        public void setNavControlVisible​(boolean navControlShown)
        None API. Don't use this method!
        Parameters:
        navControlShown - true, if this canvas uses a navigation control.
      • setEnabled

        public void setEnabled​(boolean enabled)
        Overrides:
        setEnabled in class JComponent
      • getOverlayActions

        protected Action[] getOverlayActions()
      • fireScrolled

        protected void fireScrolled()
      • setScale

        @Deprecated
        public void setScale​(float scale)
        Deprecated.
        since 4.10.1, use layer canvas for zooming instead
        Set the worldmap's scale.
        Parameters:
        scale - the scale.