Class ZoomLevelProgress

    • Constructor Detail

      • ZoomLevelProgress

        public ZoomLevelProgress​(String title,
                                 int countFrequency,
                                 int timeFrequency)
        Constructor
        Parameters:
        title - title
        countFrequency - count frequency
        timeFrequency - time frequency
      • ZoomLevelProgress

        public ZoomLevelProgress​(String title,
                                 String unit,
                                 int countFrequency,
                                 int timeFrequency)
        Constructor
        Parameters:
        title - title
        unit - unit
        countFrequency - count frequency
        timeFrequency - time frequency in seconds
        Since:
        3.5.0
    • Method Detail

      • setZoomLevelMax

        public void setZoomLevelMax​(int zoomLevel,
                                    int max)
        Set the max progress value for the zoom level
        Specified by:
        setZoomLevelMax in interface GeoPackageZoomLevelProgress
        Parameters:
        zoomLevel - zoom level
        max - max
      • logProgress

        protected void logProgress()
        Log the progress
        Overrides:
        logProgress in class Progress
      • addZoomLevelProgress

        public void addZoomLevelProgress​(int zoomLevel,
                                         int progress)
        Add to the total progress at the zoom level
        Specified by:
        addZoomLevelProgress in interface GeoPackageZoomLevelProgress
        Parameters:
        zoomLevel - zoom level
        progress - progress
      • getZoomLevelMax

        public Integer getZoomLevelMax​(int zoomLevel)
        Get the max at the zoom level
        Parameters:
        zoomLevel - zoom level
        Returns:
        max
      • getZoomLevelProgress

        public int getZoomLevelProgress​(int zoomLevel)
        Get the total progress at the zoom level
        Parameters:
        zoomLevel - zoom level
        Returns:
        progress