Ignore:
Timestamp:
2010-08-29T14:55:25+02:00 (14 years ago)
Author:
jttt
Message:

cosmetics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bbox/TileSelectionBBoxChooser.java

    r3105 r3479  
    2424import java.util.Set;
    2525import java.util.Vector;
    26 import java.util.logging.Logger;
    2726import java.util.regex.Matcher;
    2827import java.util.regex.Pattern;
     
    5554 * TileSelectionBBoxChooser allows to select a bounding box (i.e. for downloading) based
    5655 * on OSM tile numbers.
    57  * 
     56 *
    5857 * TileSelectionBBoxChooser can be embedded as component in a Swing container. Example:
    5958 * <pre>
     
    7069 *        }
    7170 *    });
    72  * 
     71 *
    7372 *    // init the chooser with a bounding box
    7473 *    chooser.setBoundingBox(....);
    75  * 
     74 *
    7675 *    f.setVisible(true);
    7776 * </pre>
    7877 */
    7978public class TileSelectionBBoxChooser extends JPanel implements BBoxChooser{
    80 
    81     static private final Logger logger = Logger.getLogger(TileSelectionBBoxChooser.class.getName());
    8279
    8380    /** the current bounding box */
     
    129126    /**
    130127     * Replies the current bounding box. null, if no valid bounding box is currently selected.
    131      * 
     128     *
    132129     */
    133130    public Bounds getBoundingBox() {
     
    137134    /**
    138135     * Sets the current bounding box.
    139      * 
     136     *
    140137     * @param bbox the bounding box. null, if this widget isn't initialized with a bounding box
    141138     */
     
    162159    /**
    163160     * Computes the bounding box given a tile grid.
    164      * 
     161     *
    165162     * @param tb the description of the tile grid
    166163     * @return the bounding box
     
    177174    /**
    178175     * Replies lat/lon of the north/west-corner of a tile at a specific zoom level
    179      * 
     176     *
    180177     * @param tile  the tile address (x,y)
    181178     * @param zoom the zoom level
     
    205202    /**
    206203     * A panel for describing a rectangular area of OSM tiles at a given zoom level.
    207      * 
     204     *
    208205     * The panel emits PropertyChangeEvents for the property {@see TileGridInputPanel#TILE_BOUNDS_PROP}
    209206     * when the user successfully enters a valid tile grid specification.
     
    572569    /**
    573570     * Validates the x- or y-coordinate of a tile at a given zoom level.
    574      * 
     571     *
    575572     */
    576573    static private class TileCoordinateValidator extends AbstractTextComponentValidator {
     
    653650     */
    654651    static private class TileBoundsMapView extends JMapViewer {
    655         private Bounds bbox;
    656652        private Point min;
    657653        private Point max;
     
    662658
    663659        public void setBoundingBox(Bounds bbox){
    664             this.bbox = bbox;
    665660            if (bbox == null) {
    666661                min = null;
Note: See TracChangeset for help on using the changeset viewer.