Ignore:
Timestamp:
2012-07-23T19:28:26+02:00 (12 years ago)
Author:
stoecker
Message:

improve task handling for jmapviewer in JOSM context

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/JMapViewer.java

    r28427 r28505  
    661661    /**
    662662     * Decreases the current zoom level by one
     663     *
     664     * @param mapPoint point to choose as center for new zoom level
    663665     */
    664666    public void zoomOut(Point mapPoint) {
     
    666668    }
    667669
     670    /**
     671     * Set the zoom level and center point for display
     672     *
     673     * @param zoom new zoom level
     674     * @param mapPoint point to choose as center for new zoom level
     675     */
    668676    public void setZoom(int zoom, Point mapPoint) {
    669677        if (zoom > tileController.getTileSource().getMaxZoom() || zoom < tileController.getTileSource().getMinZoom()
     
    678686    }
    679687
     688    /**
     689     * Set the zoom level
     690     *
     691     * @param zoom new zoom level
     692     */
    680693    public void setZoom(int zoom) {
    681694        setZoom(zoom, new Point(getWidth() / 2, getHeight() / 2));
     
    859872    }
    860873
    861     /*
    862      * (non-Javadoc)
    863      *
    864      * @see
    865      * org.openstreetmap.gui.jmapviewer.interfaces.TileLoaderListener#getTileCache
    866      * ()
     874    /**
     875     * Return tile information caching class
     876     * @see TileLoaderListener#getTileCache()
    867877     */
    868878    public TileCache getTileCache() {
     
    877887
    878888    /**
    879      * @param listener to set
     889     * @param listener listener to set
    880890     */
    881891    public void addJMVListener(JMapViewerEventListener listener) {
     
    884894
    885895    /**
    886      * @param listener to remove
     896     * @param listener listener to remove
    887897     */
    888898    public void removeJMVListener(JMapViewerEventListener listener) {
Note: See TracChangeset for help on using the changeset viewer.